What steps will reproduce the problem?
1.go to a folder with "cd $dir" where you want to create a spring roo project
2.type "roo" to start the Spring roo on the path
3.after roo welcome message is displayed, type sth (e.g. hint), try to move the
cursor to edit what you just wrote, or try to delete it with backspace.
What is the expected output? What do you see instead?
Expected: Manipulation of text on the shell os possible
Actual: Manipulation of text on the shell is not possible due to a
java.lang.ArithmeticException: / by zero
Exception in thread "Spring Roo JLine Shell" java.lang.ArithmeticException: /
by zero
at jline.ConsoleReader.back(ConsoleReader.java:1329)
at jline.ConsoleReader.moveInternal(ConsoleReader.java:1579)
at jline.ConsoleReader.moveCursor(ConsoleReader.java:1547)
at jline.ConsoleReader.readLine(ConsoleReader.java:640)
at jline.ConsoleReader.readLine(ConsoleReader.java:457)
at jline.ConsoleReader.readLine(ConsoleReader.java:283)
at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:413)
at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:539)
at java.lang.Thread.run(Thread.java:722)
What version of the product are you using? On what operating system?
Version Terminal 1.1.2.201208131620
MAC OS 10.8.3 with Eclipse Juno .4.2.2 Juno
Please provide any additional information below.
Original issue reported on code.google.com by akcasoy on 31 Mar 2013 at 10:22
Original issue reported on code.google.com by
akcasoy
on 31 Mar 2013 at 10:22