Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-3056

NPE during debugging

    XMLWordPrintable

    Details

      Description

      If I try to debug a Fuse Integration Project, I encounter the following error once a breakpoint is hit.

      The side effect of it is that decoration of current component is missing (see attached video).

      null
      org.eclipse.e4.ui.workbench
      Error
      Tue Jul 31 08:30:35 CEST 2018
      Problems occurred when invoking code from plug-in: "org.eclipse.e4.ui.workbench".
      
      java.lang.NullPointerException
      	at org.fusesource.ide.camel.editor.CamelDesignEditor.selectionChanged(CamelDesignEditor.java:285)
      	at org.eclipse.ui.internal.e4.compatibility.SelectionService.notifyListeners(SelectionService.java:251)
      	at org.eclipse.ui.internal.e4.compatibility.SelectionService.handleSelectionChanged(SelectionService.java:85)
      	at org.eclipse.ui.internal.e4.compatibility.SelectionService.lambda$1(SelectionService.java:66)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$3.run(SelectionAggregator.java:148)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyTargetedListeners(SelectionAggregator.java:145)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyListeners(SelectionAggregator.java:135)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.access$6(SelectionAggregator.java:121)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$7$1.run(SelectionAggregator.java:231)
      	at org.eclipse.e4.core.contexts.RunAndTrack.runExternalCode(RunAndTrack.java:56)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$7.changed(SelectionAggregator.java:228)
      	at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:114)
      	at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:362)
      	at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:377)
      	at org.eclipse.e4.ui.internal.workbench.SelectionServiceImpl.setSelection(SelectionServiceImpl.java:31)
      	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.selectionChanged(CompatibilityPart.java:471)
      	at org.eclipse.ui.part.PageBookView$SelectionManager$1.run(PageBookView.java:242)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.part.PageBookView$SelectionManager.selectionChanged(PageBookView.java:239)
      	at org.eclipse.ui.part.PageBookView$SelectionProvider.selectionChanged(PageBookView.java:298)
      	at org.eclipse.ui.part.PageBookView.pageSelectionChanged(PageBookView.java:867)
      	at org.eclipse.ui.part.PageBookView.lambda$1(PageBookView.java:158)
      	at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:155)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:44)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
      	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:152)
      	at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2179)
      	at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1222)
      	at org.eclipse.debug.internal.ui.viewers.model.InternalTreeModelViewer.handleSelect(InternalTreeModelViewer.java:1819)
      	at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1251)
      	at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:240)
      	at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:235)
      	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:400)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5686)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1370)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4940)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4518)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1170)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1059)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:625)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:560)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
      	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(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
      

        Attachments

        1. debug.webm
          2.08 MB
        2. debug-issue.webm
          6.43 MB

          Activity

            People

            Assignee:
            lhein Lars Heinemann
            Reporter:
            tsedmik Tomáš Sedmík
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: