You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2016/09/12 09:03:20 UTC

[jira] [Created] (FELIX-5342) Division by zero in new gogo for jline3

Christian Schneider created FELIX-5342:
------------------------------------------

             Summary: Division by zero in new gogo for jline3
                 Key: FELIX-5342
                 URL: https://issues.apache.org/jira/browse/FELIX-5342
             Project: Felix
          Issue Type: Bug
          Components: Gogo Shell
            Reporter: Christian Schneider


To reproduce start the shell, then type some invalid command like abc then type tab twice. 

gogoArithmeticException: / by zero
java.lang.ArithmeticException: / by zero
	at org.jline.reader.impl.LineReaderImpl$MenuSupport.next(LineReaderImpl.java:3808)
	at org.jline.reader.impl.LineReaderImpl$MenuSupport.<init>(LineReaderImpl.java:3800)
	at org.jline.reader.impl.LineReaderImpl.doMenu(LineReaderImpl.java:3945)
	at org.jline.reader.impl.LineReaderImpl.doList(LineReaderImpl.java:4089)
	at org.jline.reader.impl.LineReaderImpl.doComplete(LineReaderImpl.java:3710)
	at org.jline.reader.impl.LineReaderImpl.expandOrComplete(LineReaderImpl.java:3458)
	at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:527)
	at org.apache.felix.gogo.jline.Shell.runShell(Shell.java:397)
	at org.apache.felix.gogo.jline.Shell.gosh(Shell.java:324)
	at org.apache.felix.gogo.jline.Activator.doStartShell(Activator.java:146)
	at org.apache.felix.gogo.jline.Activator.lambda$startShell$0(Activator.java:106)
	at java.lang.Thread.run(Thread.java:745)




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