felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.W. Janssen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-5282) Shell does not handle package refreshes correctly.
Date Thu, 16 Jun 2016 13:18:05 GMT
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:
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)

This message was sent by Atlassian JIRA

View raw message