[
https://issues.apache.org/jira/browse/FELIX-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680609#action_12680609
]
Richard S. Hall commented on FELIX-979:
---------------------------------------
Additional comments from BJ:
It seems like CM might be garbage collecting configurations, which is not part
of the spec. It might be the case you uninstall a bundle and re-install a new
one at the same location and want it to have the previous configuration.
> Config Admin throwing NPE
> -------------------------
>
> Key: FELIX-979
> URL: https://issues.apache.org/jira/browse/FELIX-979
> Project: Felix
> Issue Type: Bug
> Components: Configuration Admin
> Affects Versions: configadmin-1.0.10
> Reporter: Richard S. Hall
>
> BJ is working on a test case for DS that uses CM, which is resulting in the
> following exception:
> java.lang.NullPointerException
> at
> org.apache.felix.cm.impl.ConfigurationManager.getCachedConfiguration(ConfigurationManager.java:281)
> at
> org.apache.felix.cm.impl.ConfigurationManager.bundleChanged(ConfigurationManager.java:509)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:941)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
> He says, "It seems CM is trying to clean up unbound exceptions and barfing."
> Let me know if more information is needed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.