Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1599

IllegalStateException when using CTRL+C to shutdown Roo

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.0.M3, 1.1.0.RC1
    • Fix Version/s: 1.1.0.RELEASE
    • Component/s: @ ROO SHELL
    • Labels:
      None

      Description

      Using CTRL+C to shutdown Roo gives an illegal state exception:

      java.lang.IllegalStateException: Shutdown in progress
      	at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
      	at java.lang.Runtime.addShutdownHook(Runtime.java:192)
      	at jline.UnixTerminal.initializeTerminal(UnixTerminal.java:97)
      	at jline.Terminal.setupTerminal(Terminal.java:75)
      	at jline.ConsoleReader.getTermwidth(ConsoleReader.java:334)
      	at org.springframework.roo.shell.jline.JLineShell.doAnsiFlash(JLineShell.java:316)
      	at org.springframework.roo.shell.jline.JLineShell.flash(JLineShell.java:285)
      	at org.springframework.roo.shell.osgi.AbstractFlashingObject.flash(AbstractFlashingObject.java:80)
      	at org.springframework.roo.felix.JdkDelegatingLogListener.logNow(JdkDelegatingLogListener.java:75)
      	at org.springframework.roo.felix.JdkDelegatingLogListener.logged(JdkDelegatingLogListener.java:54)
      	at org.apache.felix.log.LogListenerThread.run(LogListenerThread.java:113)
      

        Attachments

          Activity

            People

            • Assignee:
              balex Ben Alex
              Reporter:
              jtyrrell James Tyrrell
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: