Fuse IDE
  1. Fuse IDE
  2. ECLIPSE-619

NPE in DeploymentContributionItem when starting up Fuse IDE

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      2.1.326
    • Similar Issues:
      Show 6 results 

      Description

      I started up 2.1.326 RCP build of Fuse IDE, and notice this NPE in my error log.

      I may have triggered this trying to delete a project from the project view. Right click -> delete.
      Or the NPE was already there.

      Just wonder if it the source code could render a NPE on trunk

      java.lang.NullPointerException
      at com.fusesource.rider.deployment.DeploymentContributionItem.determineDeploymentConfigurations(DeploymentContributionItem.java:240)
      at com.fusesource.rider.deployment.DeploymentContributionItem.recreateMenu(DeploymentContributionItem.java:169)
      at com.fusesource.rider.deployment.DeploymentContributionItem.fill(DeploymentContributionItem.java:63)
      at org.eclipse.jface.action.MenuManager.doItemFill(MenuManager.java:741)
      at org.eclipse.jface.action.MenuManager.update(MenuManager.java:822)
      at org.eclipse.jface.action.MenuManager.update(MenuManager.java:682)
      at org.eclipse.ui.internal.menus.WorkbenchMenuService.updateManagers(WorkbenchMenuService.java:338)
      at org.eclipse.ui.internal.menus.WorkbenchMenuService$4.propertyChange(WorkbenchMenuService.java:316)
      at org.eclipse.ui.internal.services.EvaluationAuthority$1.run(EvaluationAuthority.java:252)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.ui.internal.services.EvaluationAuthority.fireServiceChange(EvaluationAuthority.java:246)
      at org.eclipse.ui.internal.services.EvaluationAuthority.endSourceChange(EvaluationAuthority.java:197)
      at org.eclipse.ui.internal.services.EvaluationAuthority.sourceChanged(EvaluationAuthority.java:135)
      at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:311)
      at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:290)
      at org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(AbstractSourceProvider.java:99)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:401)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:300)
      at org.eclipse.ui.internal.services.WorkbenchSourceProvider$1.partDeactivated(WorkbenchSourceProvider.java:247)
      at org.eclipse.ui.internal.PartListenerList$4.run(PartListenerList.java:117)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.runtime.Platform.run(Platform.java:888)
      at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
      at org.eclipse.ui.internal.PartListenerList.firePartDeactivated(PartListenerList.java:115)
      at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:238)
      at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:300)
      at org.eclipse.ui.internal.WWinPartService.updateActivePart(WWinPartService.java:134)
      at org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:125)
      at org.eclipse.ui.internal.WWinPartService$WWinListener.partDeactivated(WWinPartService.java:50)
      at org.eclipse.ui.internal.PartListenerList2$4.run(PartListenerList2.java:115)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.runtime.Platform.run(Platform.java:888)
      at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:55)
      at org.eclipse.ui.internal.PartListenerList2.firePartDeactivated(PartListenerList2.java:113)
      at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:242)
      at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:300)
      at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:57)
      at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:136)
      at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3636)
      at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:3159)
      at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:279)
      at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:237)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1461)
      at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1547)
      at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:3299)
      at org.eclipse.swt.widgets.Display.checkFocus(Display.java:646)
      at org.eclipse.swt.widgets.Shell.makeFirstResponder(Shell.java:1234)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:5581)
      at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
      at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2095)
      at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2253)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:5535)
      at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989)
      at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138)
      at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
      at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

        Activity

        Hide
        James Strachan
        added a comment -

        see 2.1.367 or later

        Show
        James Strachan
        added a comment - see 2.1.367 or later

          People

          • Assignee:
            James Strachan
            Reporter:
            Claus Ibsen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: