felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-3178) NPE in ResolverImpl
Date Fri, 18 Nov 2011 22:10:51 GMT

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

Richard S. Hall resolved FELIX-3178.
------------------------------------

    Resolution: Fixed

I've committed a patch and the supplied scenario now works for me. Please close if you are
satisfied. Thanks.
                
> 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, npe2.z01, npe2.z02, npe2.z03,
npe2.z04, npe2.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