Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 280070 - NPE using Plugin Spy in Navigate menu
Summary: NPE using Plugin Spy in Navigate menu
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.6 M1   Edit
Assignee: Benjamin Cabé CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 300224
  Show dependency tree
 
Reported: 2009-06-12 08:46 EDT by Paul Webster CLA
Modified: 2010-01-20 12:59 EST (History)
1 user (show)

See Also:


Attachments
patch (3.58 KB, patch)
2009-06-24 05:45 EDT, Benjamin Cabé CLA
no flags Details | Diff
mylyn/context/zip (2.41 KB, application/octet-stream)
2009-06-24 05:45 EDT, Benjamin Cabé CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2009-06-12 08:46:26 EDT
I used ALT+SHIFT+F1 and then selected Navigate>Open Declaration

eclipse.buildId=I20090603-2000
java.fullversion=J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20080315 (JIT enabled)
J9VM - 20080314_17962_lHdSMr
JIT  - 20080130_0718ifx2_r8
GC   - 200802_08
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86 -data /opt/pwebster/workspaces/e4


Error
Fri Jun 12 08:46:57 EDT 2009
Unhandled event loop exception

java.lang.NullPointerException
at org.eclipse.pde.internal.runtime.spy.sections.ActiveMenuSection.createActionContributionItemText(ActiveMenuSection.java:158)
at org.eclipse.pde.internal.runtime.spy.sections.ActiveMenuSection.createActionContributionItemText(ActiveMenuSection.java:158)
at org.eclipse.pde.internal.runtime.spy.sections.ActiveMenuSection.createActionContributionItemText(ActiveMenuSection.java:158)
at org.eclipse.pde.internal.runtime.spy.sections.ActiveMenuSection.createActionContributionItemText(ActiveMenuSection.java:158)
at org.eclipse.pde.internal.runtime.spy.sections.ActiveMenuSection.createActionContributionItemText(ActiveMenuSection.java:158)
at org.eclipse.pde.internal.runtime.spy.sections.ActiveMenuSection.createActionContributionItemText(ActiveMenuSection.java:158)
at org.eclipse.pde.internal.runtime.spy.sections.ActiveMenuSection.createActionContributionItemText(ActiveMenuSection.java:158)
at org.eclipse.pde.internal.runtime.spy.sections.ActiveMenuSection.createActionContributionItemText(ActiveMenuSection.java:127)
at org.eclipse.pde.internal.runtime.spy.sections.ActiveMenuSection.scan(ActiveMenuSection.java:103)
at org.eclipse.pde.internal.runtime.spy.sections.ActiveMenuSection.scan(ActiveMenuSection.java:106)
at org.eclipse.pde.internal.runtime.spy.sections.ActiveMenuSection.build(ActiveMenuSection.java:61)
at org.eclipse.pde.internal.runtime.spy.dialogs.MenuSpyDialog.createDialogArea(MenuSpyDialog.java:96)
at org.eclipse.pde.internal.runtime.spy.dialogs.MenuSpyDialog.createContents(MenuSpyDialog.java:69)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.pde.internal.runtime.spy.handlers.MenuSpyHandler.handleEvent(MenuSpyHandler.java:91)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1467)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1175)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
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:368)
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:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Comment 1 Benjamin Cabé CLA 2009-06-24 05:01:39 EDT
It seems that Plug-in spy can't handle retarget actions yet...
Comment 2 Benjamin Cabé CLA 2009-06-24 05:45:01 EDT
Created attachment 139962 [details]
patch
Comment 3 Benjamin Cabé CLA 2009-06-24 05:45:27 EDT
Created attachment 139963 [details]
mylyn/context/zip
Comment 4 Benjamin Cabé CLA 2009-06-24 05:46:41 EDT
available in HEAD>20090624