J.W. Janssen created FELIX-5282:
-----------------------------------

             Summary: Shell does not handle package refreshes correctly.
                 Key: FELIX-5282
                 URL: https://issues.apache.org/jira/browse/FELIX-5282
             Project: Felix
          Issue Type: Bug
    Affects Versions: gogo.shell-0.14.0
            Reporter: J.W. Janssen
            Priority: Critical


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:
{quote}
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)
{quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to