Project: Eclipse_Platform_UI
Bug 84225 [WorkingSets][DynamicUI] NPE in WorkingSetRegistry
Reported: 2005-02-02 10:03:57 | Status: verified fixed

build i0202 I got the following NPE in my log file after manually installing and starting an OSGi bundle. If you need the bundle please contact me and I can give it to you off-line. !SESSION 2005-02-02 09:57:00.120 ----------------------------------------------- eclipse.buildId=I20050201-0800 java.fullversion=J2RE 1.4.2 IBM J9 2.2 Windows XP x86-32 j9n142-20040915 (JIT enabled) J9VM - 20040914_1123_lHdSMR JIT - r7_level20040912_1800 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA Framework arguments: -showlocation Command-line arguments: -os win32 -ws win32 -arch x86 -debug -data \eclipse\target\head\plugins\ -showlocation -consoleLog -console !ENTRY org.eclipse.osgi 2005-02-02 09:57:00.140 !MESSAGE An unexpected runtime error has occurred. !STACK 0 java.lang.NullPointerException at org.eclipse.ui.internal.registry.WorkingSetRegistry.getDescriptorsForNamespace(WorkingSetRegistry.java:124) at org.eclipse.ui.internal.AbstractWorkingSetManager.bundleChanged(AbstractWorkingSetManager.java:485) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1182) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:186) at org.eclipse.osgi.framework.eventmgr.EventThread.run(EventThread.java:104) osgi> !ENTRY update@/c:/eclipse/dev/i0201/eclipse/plugins/org.eclipse.ui.workbench_3.1.0/ 0 0 2005-02-02 09:57:00.150 !MESSAGE FrameworkEvent.ERROR !STACK 0 java.lang.NullPointerException at org.eclipse.ui.internal.registry.WorkingSetRegistry.getDescriptorsForNamespace(WorkingSetRegistry.java:124) at org.eclipse.ui.internal.AbstractWorkingSetManager.bundleChanged(AbstractWorkingSetManager.java:485) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1182) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:186) at org.eclipse.osgi.framework.eventmgr.EventThread.run(EventThread.java:104)

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/WorkingSetRegistry.java