[ 
https://issues.apache.org/jira/browse/FELIX-5342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on FELIX-5342 started by Guillaume Nodet.
----------------------------------------------
> 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
>            Assignee: Guillaume Nodet
>             Fix For: gogo.jline-0.1.0
>
>         Attachments: samples.jar
>
>
> To reproduce start the shell, then type some invalid command like en then 
> type tab twice. 
> Interestingly it does not happens with abc and two tabs. I think this is 
> because there are commands matching a.
> 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)

Reply via email to