You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/29 18:48:24 UTC
[jira] [Resolved] (FELIX-3413) NPE and thread blocked in
org.osgi.service.packageadmin.PackageAdmin#refreshPackages(Bundle[])
[ https://issues.apache.org/jira/browse/FELIX-3413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall resolved FELIX-3413.
------------------------------------
Resolution: Fixed
Assignee: Richard S. Hall
Committed a null check. Please close if satisfied. Thanks.
> 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
> Assignee: Richard S. Hall
> Priority: Trivial
> Fix For: framework-4.2.0
>
>
> 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