Community
Participate
Working Groups
The ShowIn menu has no sub entries and so it is an enabled item that does nothing
Here is a stack trace that appears to be related !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.core.runtime.AssertionFailedException: assertion failed: at org.eclipse.core.runtime.Assert.isTrue(Assert.java:109) at org.eclipse.core.runtime.Assert.isTrue(Assert.java:95) at org.eclipse.ui.internal.util.Util.getAdapter(Util.java:109) at org.eclipse.ui.internal.ShowInMenu.getShowInSource(ShowInMenu.java:212) at org.eclipse.ui.internal.ShowInMenu.getContext(ShowInMenu.java:239) at org.eclipse.ui.internal.ShowInMenu.fillMenu(ShowInMenu.java:123) at org.eclipse.ui.internal.ShowInMenu.fill(ShowInMenu.java:98) at org.eclipse.jface.action.MenuManager.update(MenuManager.java:712) at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:442) at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:437) at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:463) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:943) at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:3991) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3700) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:370) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1555) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1826) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4422) at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method) at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:230) at org.eclipse.swt.widgets.Display.runPopups(Display.java:3768) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3347) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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:515) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:455) at org.eclipse.equinox.launcher.Main.run(Main.java:1193)
This now works but it is goofy as we really want the command in Bug 206815 not the pop up command we are forced to use now.
In I20080108-1320, the action has no submenu, is always enabled, and always opens an empty menu (at least for Java problems, where 'Show In > Package Explorer' used to work).
The fix for 182018 fixed this in M6.
Verified in I20080327-0100