[
https://issues.apache.org/jira/browse/CELIX-394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pepijn Noltes updated CELIX-394:
--------------------------------
Fix Version/s: 2.2.0
> A bundle which throws an exception cannot stop
> ----------------------------------------------
>
> Key: CELIX-394
> URL: https://issues.apache.org/jira/browse/CELIX-394
> Project: Celix
> Issue Type: Bug
> Components: Framework
> Reporter: Roy Lenferink
> Priority: Major
> Fix For: 2.2.0
>
> Attachments: celix bundle exception.png
>
>
> When a bundle returns an exception during the bundleActivator_create call,
> the state of the bundle is 'Starting' instead of 'Resolved'. Because the
> state of the bundle is 'Starting' the bundle cannot be stopped (see
> attachment).
> This can be reproduced by returning a CELIX_*_EXCEPTION in the
> bundleActivator_create function.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)