[
https://issues.apache.org/jira/browse/FELIX-5284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15348001#comment-15348001
]
Carsten Ziegeler commented on FELIX-5284:
-----------------------------------------
I think there are several issues:
- FELIX-5205 handling IllegalStateException in the runtime service. That's now
fixed
- the SCR web console plugin might be hardened in the same way
- the SCR implementation should handle this case: while the bundle is active
during activation of the component, it's not active later on anymore. I think
there is currently no code in DS checking for that and I also guess that the
implementation thinks everything is fine once activate is called.
> java.lang.IllegalStateException: Invalid BundleContext after uninstall of a
> bundle
> ----------------------------------------------------------------------------------
>
> Key: FELIX-5284
> URL: https://issues.apache.org/jira/browse/FELIX-5284
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR)
> Reporter: Antonio Sanso
> Attachments:
> org.apache.felix.examples.spellcheckscr-0.9.0-SNAPSHOT.jar
>
>
> If a bundle is uninstalled right in the activator a lâ
> {code}
> java.lang.IllegalStateException: Invalid BundleContext after uninstall of a
> bundle
> {code}
> in a bundle that use the scr plugin there is a
> {{java.lang.IllegalStateException: Invalid BundleContext after uninstall of a
> bundle}} while accessing the components tab of the Felix consolo aka
> {{/system/components}}
> you can find a POC in [0] and I will also attach the bundle
> [0] https://github.com/apache/felix/tree/trunk/examples/spellcheckscr
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)