[
https://issues.apache.org/jira/browse/FELIX-3853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13556371#comment-13556371
]
Sahoo commented on FELIX-3853:
------------------------------
Looking at the code, I think this exception will happen every time a bundle is
uninstalled.
> Bundle.uninstall throws IllegalStateException
> ---------------------------------------------
>
> Key: FELIX-3853
> URL: https://issues.apache.org/jira/browse/FELIX-3853
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: framework-4.2.0
> Reporter: Sahoo
> Priority: Critical
> Fix For: framework-4.2.0
>
>
> java.lang.IllegalStateException: Bundle in unexpected state.
> at org.apache.felix.framework.Felix.acquireBundleLock(Felix.java:4973)
> at org.apache.felix.framework.Felix$RefreshHelper.stop(Felix.java:4709)
> at org.apache.felix.framework.Felix.refreshPackages(Felix.java:4037)
> at org.apache.felix.framework.Felix.uninstallBundle(Felix.java:2648)
> at org.apache.felix.framework.BundleImpl.uninstall(BundleImpl.java:1015)
> at
> org.glassfish.extras.osgicontainer.OSGiDeployer.clean(OSGiDeployer.java:80)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira