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

CTRL+D renders NPE in JLine Shell

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0.M1
    • Fix Version/s: 1.1.0.M1
    • Component/s: @ CORE
    • Labels:
      None
    • Environment:
      Kubuntu 10.04
      Java SDK 1.6.0_20
      Maven 2.2.1

      Description

      Hitting CTRL+D to log out from the Roo Shell it crashes with the following stacktrace:

      {{
      roo> Exception in thread "JLine Shell" java.lang.IllegalStateException: java.lang.NullPointerException
      at org.springframework.roo.felix.FelixDelegator.onShellStatusChange(FelixDelegator.java:216)
      at org.springframework.roo.shell.event.AbstractShellStatusPublisher.setShellStatus(AbstractShellStatusPublisher.java:49)
      at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:201)
      at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:122)
      at java.lang.Thread.run(Thread.java:636)
      Caused by: java.lang.NullPointerException
      at org.springframework.roo.felix.FelixDelegator.onShellStatusChange(FelixDelegator.java:212)
      ... 4 more
      }}

      The same shell command works in previously versions like 1.0.2.RELEASE.

        Attachments

          Activity

            People

            Assignee:
            balex Ben Alex
            Reporter:
            cayetano J. Cayetano
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: