You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/10/14 16:08:31 UTC

[jira] Resolved: (FELIX-1593) Got an exception when restarting FileInstall bundle

     [ https://issues.apache.org/jira/browse/FELIX-1593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved FELIX-1593.
------------------------------------

    Resolution: Fixed
      Assignee: Guillaume Nodet

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
	M	fileinstall/src/main/java/org/apache/felix/fileinstall/internal/Util.java
Committed r825141


> Got an exception when restarting FileInstall bundle
> ---------------------------------------------------
>
>                 Key: FELIX-1593
>                 URL: https://issues.apache.org/jira/browse/FELIX-1593
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>    Affects Versions: fileinstall-2.0.0
>            Reporter: Agemo Cui
>            Assignee: Guillaume Nodet
>             Fix For: fileinstall-2.0.2
>
>
> Stopping and then starting FileInstall bundle again when it is active. The following exception will be got.
> Exception in thread "{}" java.lang.IllegalStateException: BundleContext is
>  no longer valid
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.checkValid
> (BundleContextImpl.java:1000)
>         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getService
> Reference(BundleContextImpl.java:601)
>         at org.apache.felix.fileinstall.internal.Util$OsgiLogger.getLogService(U
> til.java:262)
>         at org.apache.felix.fileinstall.internal.Util$OsgiLogger.log(Util.java:2
> 38)
>         at org.apache.felix.fileinstall.internal.Util.log(Util.java:178)
>         at org.apache.felix.fileinstall.internal.DirectoryWatcher.log(DirectoryW
> atcher.java:409)
>         at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryW
> atcher.java:139)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.