You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Karl Pauls (JIRA)" <ji...@apache.org> on 2017/10/09 20:31:03 UTC
[jira] [Closed] (FELIX-5551)
BundleRevisionImpl.calculateContentPath NPE
[ https://issues.apache.org/jira/browse/FELIX-5551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Pauls closed FELIX-5551.
-----------------------------
Resolution: Cannot Reproduce
I think that might have been caused by some bundle uninstalling itself - after that, we didn't have the content around anymore. Not sure but I can't reproduce it anymore.
> 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.4.14#64029)