Karl Pauls created FELIX-5551: --------------------------------- Summary: BundleRevisionImpl.calculateContentPath NPE Key: FELIX-5551 URL: https://issues.apache.org/jira/browse/FELIX-5551 Project: Felix Issue Type: Bug Components: Framework Affects Versions: framework-5.6.1 Reporter: Karl Pauls Assignee: Karl Pauls Priority: Minor
I've seen the following exception in a couple of cases and I'm not sure that this should ever happen. At a minimum it seems like this shouldn't be handled by an NPE but I'm not sure (needs some investigation). Unable to get module class path. (java.lang.NullPointerException) java.lang.NullPointerException at org.apache.felix.framework.BundleRevisionImpl.calculateContentPath(BundleRevisionImpl.java:433) at org.apache.felix.framework.BundleRevisionImpl.initializeContentPath(BundleRevisionImpl.java:366) at org.apache.felix.framework.BundleRevisionImpl.getContentPath(BundleRevisionImpl.java:352) at org.apache.felix.framework.BundleRevisionImpl.getResourceLocal(BundleRevisionImpl.java:495) at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1546) at org.apache.felix.framework.BundleWiringImpl.getResourceByDelegation(BundleWiringImpl.java:1458) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.getResource(BundleWiringImpl.java:2546) at ... -- This message was sent by Atlassian JIRA (v6.3.15#6346)