Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 268595 - [plug-in registry] NPE in LocalRegistryBackend
Summary: [plug-in registry] NPE in LocalRegistryBackend
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M7   Edit
Assignee: Jacek Pospychala CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-13 15:28 EDT by Darin Wright CLA
Modified: 2009-03-23 11:17 EDT (History)
2 users (show)

See Also:


Attachments
patch (3.09 KB, patch)
2009-03-23 09:50 EDT, Jacek Pospychala CLA
caniszczyk: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2009-03-13 15:28:27 EDT
M6

* I had the Plug-in Registry View open
* un-installed Releng Tools
* pressed "Apply" when the un-install was complete
* got NPE


java.lang.NullPointerException
at org.eclipse.pde.internal.runtime.registry.model.LocalRegistryBackend.getBundleId(LocalRegistryBackend.java:226)
at org.eclipse.pde.internal.runtime.registry.model.LocalRegistryBackend.createExtensionAdapter(LocalRegistryBackend.java:201)
at org.eclipse.pde.internal.runtime.registry.model.LocalRegistryBackend.createExtensionAdapters(LocalRegistryBackend.java:378)
at org.eclipse.pde.internal.runtime.registry.model.LocalRegistryBackend.removed(LocalRegistryBackend.java:450)
at org.eclipse.core.internal.registry.ExtensionRegistry.processChangeEvent(ExtensionRegistry.java:913)
at org.eclipse.core.runtime.spi.RegistryStrategy.processChangeEvent(RegistryStrategy.java:267)
at org.eclipse.core.internal.registry.osgi.ExtensionEventDispatcherJob.run(ExtensionEventDispatcherJob.java:50)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Comment 1 Chris Aniszczyk CLA 2009-03-15 16:40:34 EDT
Jacek?
Comment 2 Chris Aniszczyk CLA 2009-03-18 10:37:56 EDT
Jacek, any ideas for M7?
Comment 3 Chris Aniszczyk CLA 2009-03-19 13:07:45 EDT
Any ideas Jacek?
Comment 4 Jacek Pospychala CLA 2009-03-23 09:50:51 EDT
Created attachment 129596 [details]
patch

patch to support the case, when extension point or extension contributor doesn't exist (has just been uninstalled).
Comment 5 Chris Aniszczyk CLA 2009-03-23 11:16:50 EDT
done.

> 20090323

Thanks Jacek!