Community
Participate
Working Groups
Eclipse Linux GTK M20040811 Linux fedora-core-1 I got the exception below when I started eclipse and did a clean on the workspace (don't know if that is related but its when the exception seem to occur.) Chang java.lang.NullPointerException at org.eclipse.ui.internal.AbstractSelectionService.partActivated(AbstractSelectionService.java:246) at org.eclipse.ui.internal.WorkbenchPage.firePartActivated(WorkbenchPage.java:1372) at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2694) at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2371) at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:304) at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:284) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:978) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:959) at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:937) at org.eclipse.swt.widgets.Control.gtk_button_press_event(Control.java:1698) at org.eclipse.swt.widgets.Composite.gtk_button_press_event(Composite.java:394) at org.eclipse.swt.widgets.Tree.gtk_button_press_event(Tree.java:730) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1195) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3098) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(Native Method) at org.eclipse.swt.widgets.Display.eventProc(Display.java:879) at org.eclipse.swt.internal.gtk.OS.gtk_main_iteration(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2297) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) 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:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) 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:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628)
don't see text anywhere, moving to UI.
Eclipse 3.01, Win32 Had exactly the same NPE and could trace it back, but did not completely understand what's going on. Some details that are propably are not enougth for a fix: All starts in AbstractSelectionService.partActivated(AbstractSelectionService.java:242) where the selection is fired to listeners. One of my listeners performed a focus change (by calling Text.setEnabled(false)) which triggered some other listeners (can't say when it is really failing) that in the end set the field in AbstractSelectionServide, activeProvider, to null. The problem is that AbstractSelectionService assumes that this can not happen - but it can happen....
is this still an issue in 3.2?
I haven't seen this exception recently so I guess its been fixed.
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.