Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
gogo.shell-1.1.2
-
None
-
None
Description
When embedding Gogo shell in an executable JAR (using bnd export functionality), the shell does not work correctly after stopping and restarting the framework. It appears that some I/O threads are retained incorrectly:
gosh: java.lang.IllegalStateException: session is closed
gosh: stopping framework
gogo: IllegalStateException: Invalid BundleContext.
java.lang.IllegalStateException: Invalid BundleContext.
at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:511)
at org.apache.felix.framework.BundleContextImpl.getBundle(BundleContextImpl.java:175)
at org.apache.felix.gogo.shell.Shell.shutdown(Shell.java:183)
at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:170)
Attachments
Issue Links
- relates to
-
ACE-595 IllegalStateException in Gogo after restarting the executable JARs
- Open