felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Schlosser (Reopened) (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (FELIX-3178) NPE in ResolverImpl
Date Fri, 11 Nov 2011 08:08:51 GMT

     [ https://issues.apache.org/jira/browse/FELIX-3178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Schlosser reopened FELIX-3178:
--------------------------------------


I updated from felix-3.0.9 to 4.1.0-20111108.085917-4 and now I'm getting a different one:
ERROR: Bundle org.apache.servicemix.specs.jaxp-api-1.4 [177] EventDispatcher: Error during
dispatch. (java.lang.NullPointerException)
java.lang.NullPointerException
        at org.apache.felix.framework.resolver.ResolverImpl.resolve(ResolverImpl.java:177)
        at org.apache.felix.framework.StatefulResolver.resolve(StatefulResolver.java:168)
        at org.apache.felix.framework.Felix.resolveBundles(Felix.java:3783)
        at org.apache.felix.framework.Felix.findBundleEntries(Felix.java:1622)
        at org.apache.felix.framework.BundleImpl.findEntries(BundleImpl.java:303)
        at org.apache.servicemix.specs.locator.Activator.register(Activator.java:97)
        at org.apache.servicemix.specs.locator.Activator.bundleChanged(Activator.java:88)
        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)
        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4244)
        at org.apache.felix.framework.StatefulResolver.fireResolvedEvents(StatefulResolver.java:783)
        at org.apache.felix.framework.StatefulResolver.resolve(StatefulResolver.java:203)
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3819)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:931)

                
> NPE in ResolverImpl
> -------------------
>
>                 Key: FELIX-3178
>                 URL: https://issues.apache.org/jira/browse/FELIX-3178
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-4.0.0
>         Environment: Also reproduced on 4.0.1
>            Reporter: Andreas Schlosser
>            Assignee: Richard S. Hall
>            Priority: Blocker
>             Fix For: framework-4.2.0
>
>         Attachments: MANIFEST.MF, npe.z01, npe.z02, npe.zip
>
>
> Bundle Resolution fails with NPE in both, Felix 4.0.0 and 4.0.1
> ERROR: Bundle com.springsource.com.sun.tools.xjc [119] Error starting file:bundles/com.springsource.com.sun.tools.xjc.jar
(java.lang.NullPointerException)
> java.lang.NullPointerException
>         at org.apache.felix.framework.resolver.ResolverImpl.mergeUses(ResolverImpl.java:856)
>         at org.apache.felix.framework.resolver.ResolverImpl.calculatePackageSpaces(ResolverImpl.java:659)
>         at org.apache.felix.framework.resolver.ResolverImpl.calculatePackageSpaces(ResolverImpl.java:609)
>         at org.apache.felix.framework.resolver.ResolverImpl.resolve(ResolverImpl.java:181)
>         at org.apache.felix.framework.StatefulResolver.resolve(StatefulResolver.java:168)
>         at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3811)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
>         at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
>         at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
>         at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message