felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yasuhiro Kawame (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-3413) NPE and thread blocked in org.osgi.service.packageadmin.PackageAdmin#refreshPackages(Bundle[])
Date Thu, 29 Mar 2012 11:34:25 GMT
NPE and thread blocked in org.osgi.service.packageadmin.PackageAdmin#refreshPackages(Bundle[])
----------------------------------------------------------------------------------------------

                 Key: FELIX-3413
                 URL: https://issues.apache.org/jira/browse/FELIX-3413
             Project: Felix
          Issue Type: Bug
          Components: Framework
    Affects Versions: framework-4.0.2
            Reporter: Yasuhiro Kawame


NPE and thread is blocked, when PackageAdmin#refreshPackages(bundleArray) is called under
the following conditions:

Bundle[] bundleArray = {BundleA, null, BundleB}

call PackageAdmin#refreshPackages(bundleArray)

StackTrace:
Exception in thread "FelixFrameworkWiring" java.lang.NullPointerException
        at org.apache.felix.framework.BundleRevisionDependencies.getDependentBundles(BundleRevisionDependencies.java:163)
        at org.apache.felix.framework.Felix.populateDependentGraph(Felix.java:4059)
        at org.apache.felix.framework.Felix.refreshPackages(Felix.java:3898)
        at org.apache.felix.framework.FrameworkWiringImpl.run(FrameworkWiringImpl.java:172)
        at java.lang.Thread.run(Thread.java:595)


--
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