-
Bug
-
Resolution: Done
-
Major
-
2.0.0.Alpha11
-
None
Description of problem:
CLI ends with java.lang.NullPointerException after "ls" command and "tab" key
How reproducible:
100 %
Steps to Reproduce:
- ./standalone.sh
- ./jboss-cli.sh -c
- ls / -l
- don't press "enter" key
- press "tab" key
Actual results:
java.lang.NullPointerException at org.jboss.as.cli.handlers.LsHandler.getOperationRequestAddress(LsHandler.java:402) at org.jboss.as.cli.handlers.LsHandler.access$000(LsHandler.java:52) at org.jboss.as.cli.handlers.LsHandler$1.canAppearNext(LsHandler.java:75) at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:257) at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:73) at org.jboss.as.cli.CommandCompleter.doComplete(CommandCompleter.java:126) at org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:63) at org.jboss.as.cli.impl.Console$Factory$1$1.complete(Console.java:122) at org.jboss.aesh.console.Console.complete(Console.java:1227) at org.jboss.aesh.console.Console.parseOperation(Console.java:551) at org.jboss.aesh.console.Console.read(Console.java:453) at org.jboss.aesh.console.Console.read(Console.java:347) at org.jboss.as.cli.impl.Console$Factory$1.readLine(Console.java:198) at org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1322) at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:272) at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:45) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.jboss.modules.Module.run(Module.java:308) at org.jboss.modules.Main.main(Main.java:487)
Expected results:
No errors on output
- clones
-
JBEAP-560 CLI ends with NullPointerException after "ls" command and "tab" key
- Closed