If the number of lines in the history gets larger then the screen buffer size and you use the "up" key to recall previous lines you get:
[disconnected /] java.lang.NumberFormatException: For input string: "1B"
at java.lang.NumberFormatException.forInputString(NumberFormatException.
java:48)
at java.lang.Integer.parseInt(Integer.java:458)
at java.lang.Integer.<init>(Integer.java:660)
at org.fusesource.jansi.AnsiOutputStream.write(AnsiOutputStream.java:120
)
at java.io.FilterOutputStream.write(FilterOutputStream.java:108)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
at java.io.PrintWriter.flush(PrintWriter.java:276)
at org.jboss.aesh.terminal.WindowsTerminal.writeToStdOut(WindowsTerminal
.java:88)
at org.jboss.aesh.console.Console.drawLine(Console.java:953)
at org.jboss.aesh.console.Console.redrawLine(Console.java:932)
at org.jboss.aesh.console.Console.getHistoryElement(Console.java:695)
at org.jboss.aesh.console.Console.parseOperation(Console.java:498)
at org.jboss.aesh.console.Console.read(Console.java:389)
at org.jboss.aesh.console.Console.read(Console.java:341)
at org.jboss.as.cli.impl.Console$Factory$1.readLine(Console.java:177)
at org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.
java:1182)
at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:259)
at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.modules.Module.run(Module.java:270)
at org.jboss.modules.Main.main(Main.java:411)
- blocks
-
WFCORE-415 Pressing up-arrow crashed CLI on windows
- Resolved