You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by "J.W. Janssen (JIRA)" <ji...@apache.org> on 2016/06/16 11:46:05 UTC

[jira] [Created] (ACE-595) IllegalStateException in Gogo after restarting the executable JARs

J.W. Janssen created ACE-595:
--------------------------------

             Summary: IllegalStateException in Gogo after restarting the executable JARs
                 Key: ACE-595
                 URL: https://issues.apache.org/jira/browse/ACE-595
             Project: ACE
          Issue Type: Bug
          Components: Client Repository, Deployment, OBR, Repository
    Affects Versions: 2.1.0
            Reporter: J.W. Janssen
             Fix For: next


Steps to reproduce: 

# Export the `run-obr` project to an executable JAR (`./gradlew run-obr:export`);
# run the executable JAR;
# stop it by means of CTRL+C;
# restart the executable JAR (with the same bundle-cache).

Observe two things:

# lots of restarts of bundles take place, for unknown reasons;
# the Gogo shell no longer functions properly: typing `lb` causes either an `IllegalStateException: session is closed` error or you get complaints from Gogo about commands not existing.

It appears that Gogo runtime/shell isn't able to recover from package refreshes or restarts.

Alternatively, you can trigger similar behavior in Gogo directly by stopping and starting the Gogo runtime bundle.



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