Community
Participate
Working Groups
RC2 - no steps, will try to reproduce - set-up: src // linked source folder |- encoding // package, UTF-8 |- LATIN1Class.java // ISO-8851-1 - I played around with various encodings, suddenly got this: !ENTRY org.eclipse.ui 4 0 Jun 14, 2004 12:02:23.849 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.ui.texteditor.AbstractTextEditor.getAction(AbstractTextEditor.java:3647) at org.eclipse.ui.editors.text.EncodingActionGroup.update(EncodingActionGroup.java:430) at org.eclipse.ui.editors.text.EncodingActionGroup$2.menuAboutToShow(EncodingActionGroup.java:357) at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:286) at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:370) at org.eclipse.jface.action.MenuManager.access$0(MenuManager.java:367) at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:383) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:116) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:950) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:974) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:955) at org.eclipse.swt.widgets.Menu.gtk_show(Menu.java:561) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1174) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3014) at org.eclipse.swt.internal.gtk.OS.gtk_main_iteration(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2222) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1362) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1333) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:252) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:334) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:272) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:128) 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:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:638) at org.eclipse.core.launcher.Main.main(Main.java:622) java.lang.NullPointerException
This implies that the editor for which the menu is opened has already been disposed.
Any other dump in .log? There's no posted code invoked here.
No, in that case, this was the first exception in the log for that session.
We can't reproduce. Tried again using N20050603-0010.
Get rid of deprecated state.
.