Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-3144

NPE error when click clear fragment host OSGI bundle

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1 M3
    • Fix Version/s: 3.1 M3
    • Component/s: Modules
    • Labels:
      None

      Description

      1.open new fragment project wizard then set name
      2.next browse a Host OSGI Bundle
      3.click clear icon on top left corner (could attachment)

      Error log:
      java.lang.NullPointerException
      at org.eclipse.core.runtime.Path.append(Path.java:319)
      at com.liferay.ide.server.util.ServerUtil.getModuleFileFrom70Server(ServerUtil.java:528)
      at com.liferay.ide.project.core.modules.fragment.OSGiBundleListener.handleTypedEvent(OSGiBundleListener.java:45)
      at com.liferay.ide.project.core.modules.fragment.OSGiBundleListener.handleTypedEvent(OSGiBundleListener.java:1)
      at org.eclipse.sapphire.FilteredListener.handle(FilteredListener.java:35)
      at org.eclipse.sapphire.EventDeliveryJob.run(EventDeliveryJob.java:52)
      at org.eclipse.sapphire.JobQueue.process(JobQueue.java:94)
      at org.eclipse.sapphire.ListenerContext.broadcast(ListenerContext.java:126)
      at org.eclipse.sapphire.ListenerContext.broadcast(ListenerContext.java:132)
      at org.eclipse.sapphire.Property.broadcast(Property.java:780)
      at org.eclipse.sapphire.Value.refreshContent(Value.java:159)
      at org.eclipse.sapphire.Value.refresh(Value.java:73)
      at org.eclipse.sapphire.Value.write(Value.java:450)
      at org.eclipse.sapphire.Value.write(Value.java:404)
      at org.eclipse.sapphire.Value.clear(Value.java:479)
      at org.eclipse.sapphire.ui.assist.internal.ResetActionsAssistContributor$1.run(ResetActionsAssistContributor.java:98)
      at org.eclipse.sapphire.ui.assist.internal.PropertyEditorAssistDialog$1.linkActivated(PropertyEditorAssistDialog.java:146)
      at org.eclipse.sapphire.ui.forms.swt.internal.text.SapphireFormText.activateLink(SapphireFormText.java:1583)
      at org.eclipse.sapphire.ui.forms.swt.internal.text.SapphireFormText.handleMouseClick(SapphireFormText.java:1374)
      at org.eclipse.sapphire.ui.forms.swt.internal.text.SapphireFormText.access$16(SapphireFormText.java:1345)
      at org.eclipse.sapphire.ui.forms.swt.internal.text.SapphireFormText$6.mouseUp(SapphireFormText.java:445)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:221)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
      at org.eclipse.sapphire.ui.forms.swt.Popup.open(Popup.java:250)
      at org.eclipse.sapphire.ui.assist.internal.PropertyEditorAssistDecorator.openAssistDialog(PropertyEditorAssistDecorator.java:407)
      at org.eclipse.sapphire.ui.assist.internal.PropertyEditorAssistDecorator.access$3(PropertyEditorAssistDecorator.java:385)
      at org.eclipse.sapphire.ui.assist.internal.PropertyEditorAssistDecorator$6.mouseUp(PropertyEditorAssistDecorator.java:285)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:221)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
      at org.eclipse.jface.window.Window.open(Window.java:794)
      at com.liferay.ide.project.ui.action.NewWizardAction.run(NewWizardAction.java:131)
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
      at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1519)

        Attachments

          Activity

            People

            • Assignee:
              andy.wu Andy Wu (Inactive)
              Reporter:
              ying.xu Ying Xu (Inactive)
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 35 weeks ago

                Packages

                Version Package
                3.1 M3