Community
Participate
Working Groups
I am running an adopting product and I am hitting this NPE when trying to get the headers. This is using org.eclipse.osgi_3.4.4.R34x_v20091203.jar java.lang.NullPointerException at org.eclipse.core.runtime.internal.adaptor.CachedManifest.keys(CachedManifest.java:64) at org.eclipse.osgi.framework.internal.core.ManifestLocalization.getHeaders(ManifestLocalization.java:57) at org.eclipse.osgi.framework.internal.core.AbstractBundle.getHeaders(AbstractBundle.java:1021) at org.eclipse.osgi.framework.internal.core.AbstractBundle.getHeaders(AbstractBundle.java:968) at com.ibm.etools.performance.core.internal.handlers.DumpWorkspace$DumpWorkspaceJob.writeBundleInfo(DumpWorkspace.java:560) at com.ibm.etools.performance.core.internal.handlers.DumpWorkspace$DumpWorkspaceJob.run(DumpWorkspace.java:363) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Here is the method that is failing: public Enumeration keys() { //TODO: getManifest may return null return getManifest().keys(); } it looks like this was a problem waiting to happen.
*** This bug has been marked as a duplicate of bug 304213 ***