Uploaded image for project: 'ACE'
  1. ACE
  2. ACE-595

IllegalStateException in Gogo after restarting the executable JARs

    XMLWordPrintableJSON

Details

    Description

      Steps to reproduce:

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

      Observe two things:

      1. lots of restarts of bundles take place, for unknown reasons;
      2. 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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jajans J.W. Janssen
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: