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

NPE after changing selection in Debug view

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 11.1.0
    • Camel Debugger
    • None
      1. create a Fuse Integration Project
      2. Run it as Local Camel Context
      3. via JMX go to Edit Route mode
      4. add a breakpoint
      5. on Debug perspective change selection in Debug view

      Once I try to change selection in Debug view, the following error appears (see attached video).

      null
      org.eclipse.e4.ui.workbench
      Error
      Wed Oct 03 10:36:27 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:254)
      	at org.eclipse.ui.internal.e4.compatibility.SelectionService.handleSelectionChanged(SelectionService.java:88)
      	at org.eclipse.ui.internal.e4.compatibility.SelectionService.lambda$1(SelectionService.java:69)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$2.run(SelectionAggregator.java:145)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyTargetedListeners(SelectionAggregator.java:142)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyListeners(SelectionAggregator.java:132)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.access$2(SelectionAggregator.java:118)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$5.lambda$0(SelectionAggregator.java:220)
      	at org.eclipse.e4.core.contexts.RunAndTrack.runExternalCode(RunAndTrack.java:59)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$5.changed(SelectionAggregator.java:220)
      	at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:117)
      	at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:365)
      	at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:380)
      	at org.eclipse.e4.ui.internal.workbench.SelectionServiceImpl.setSelection(SelectionServiceImpl.java:34)
      	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.selectionChanged(CompatibilityPart.java:474)
      	at org.eclipse.ui.part.PageBookView$SelectionManager$1.run(PageBookView.java:245)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
      	at org.eclipse.ui.part.PageBookView$SelectionManager.selectionChanged(PageBookView.java:242)
      	at org.eclipse.ui.part.PageBookView$SelectionProvider.selectionChanged(PageBookView.java:301)
      	at org.eclipse.ui.part.PageBookView.pageSelectionChanged(PageBookView.java:870)
      	at org.eclipse.ui.part.PageBookView.lambda$1(PageBookView.java:161)
      	at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:158)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
      	at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:47)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:176)
      	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:155)
      	at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2182)
      	at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1225)
      	at org.eclipse.debug.internal.ui.viewers.model.InternalTreeModelViewer.handleSelect(InternalTreeModelViewer.java:1822)
      	at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1254)
      	at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:243)
      	at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:238)
      	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:403)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5797)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1374)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5051)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4583)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:628)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:199)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:391)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:246)
      	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:659)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1501)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1474)
      

              Unassigned Unassigned
              tsedmik Tomáš Sedmík
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: