You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Karl Pauls (JIRA)" <ji...@apache.org> on 2006/05/02 11:22:47 UTC
[jira] Created: (FELIX-66) BundleContext must throw an
IllegalStateException if used and the bundle is not in either one of the
STARTING, STOPPING, or ACTIVE state
BundleContext must throw an IllegalStateException if used and the bundle is not in either one of the STARTING, STOPPING, or ACTIVE state
----------------------------------------------------------------------------------------------------------------------------------------
Key: FELIX-66
URL: http://issues.apache.org/jira/browse/FELIX-66
Project: Felix
Type: Task
Components: Framework
Reporter: Karl Pauls
Assigned to: Karl Pauls
>From the javadoc of org.osgi.framework.BundleContext:
--
The BundleContext object is only valid during the execution of
its context bundle; that is, during the period from when the context bundle
is in the STARTING, STOPPING, and
ACTIVE bundle states. If the BundleContext
object is used subsequently, an IllegalStateException must be
thrown.
--
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (FELIX-66) BundleContext must throw an
IllegalStateException if used and the bundle is not in either one of the
STARTING, STOPPING, or ACTIVE state
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall closed FELIX-66.
--------------------------------
> BundleContext must throw an IllegalStateException if used and the bundle is not in either one of the STARTING, STOPPING, or ACTIVE state
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: FELIX-66
> URL: https://issues.apache.org/jira/browse/FELIX-66
> Project: Felix
> Issue Type: Task
> Components: Framework
> Reporter: Karl Pauls
> Assigned To: Karl Pauls
> Fix For: 0.8.0
>
>
> From the javadoc of org.osgi.framework.BundleContext:
> --
> The BundleContext object is only valid during the execution of
> its context bundle; that is, during the period from when the context bundle
> is in the STARTING, STOPPING, and
> ACTIVE bundle states. If the BundleContext
> object is used subsequently, an IllegalStateException must be
> thrown.
> --
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-66) BundleContext must throw an
IllegalStateException if used and the bundle is not in either one of the
STARTING, STOPPING, or ACTIVE state
Posted by "Karl Pauls (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/FELIX-66?page=all ]
Karl Pauls resolved FELIX-66:
-----------------------------
Fix Version: 0.8.0
Resolution: Fixed
I resolved the issue in svn commit: r399344. All methods of BundleContextImpl now throw an IllegalStateException if not in either of the STARTING, STOPPING, or ACTIVE state (as per spec).
> BundleContext must throw an IllegalStateException if used and the bundle is not in either one of the STARTING, STOPPING, or ACTIVE state
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: FELIX-66
> URL: http://issues.apache.org/jira/browse/FELIX-66
> Project: Felix
> Type: Task
> Components: Framework
> Reporter: Karl Pauls
> Assignee: Karl Pauls
> Fix For: 0.8.0
>
> From the javadoc of org.osgi.framework.BundleContext:
> --
> The BundleContext object is only valid during the execution of
> its context bundle; that is, during the period from when the context bundle
> is in the STARTING, STOPPING, and
> ACTIVE bundle states. If the BundleContext
> object is used subsequently, an IllegalStateException must be
> thrown.
> --
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira