Incorrect exception handling in EAP6 jboss-cli utility.
While using jboss-cli.sh to access the deployment-info of all the deployed applications like following:
[standalone@apsrt0311:9999 /] deployment-info --name=*
As soon as the above command is executed it "terminates" the CLI process with the following exception:
[standalone@apsrt0311:9999 /] deployment-info --name=*
java.lang.IllegalArgumentException
at org.jboss.dmr.ModelValue.getChild(ModelValue.java:108)
at org.jboss.dmr.ModelNode.get(ModelNode.java:798)
at org.jboss.as.cli.handlers.DeploymentInfoHandler.handleResponse(DeploymentInfoHandler.java:244)
at org.jboss.as.cli.handlers.BaseOperationCommand.doHandle(BaseOperationCommand.java:213)
at org.jboss.as.cli.handlers.CommandHandlerWithHelp.handle(CommandHandlerWithHelp.java:86)
at org.jboss.as.cli.impl.CommandContextImpl.handle(CommandContextImpl.java:529)
at org.jboss.as.cli.impl.CommandContextImpl.handleSafe(CommandContextImpl.java:545)
at org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1114)
at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:243)
at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.jboss.modules.Module.run(Module.java:270)
at org.jboss.modules.Main.main(Main.java:294)