[jboss-jira] [JBoss JIRA] (AS7-6383) jboss-cli.sh terminates suddenly if we use wild card characters with deployment-info command

Jay Kumar SenSharma (JIRA) jira-events at lists.jboss.org
Thu Jan 24 02:31:47 EST 2013


Jay Kumar SenSharma created AS7-6383:
----------------------------------------

             Summary:  jboss-cli.sh terminates suddenly if we use wild card characters with deployment-info command
                 Key: AS7-6383
                 URL: https://issues.jboss.org/browse/AS7-6383
             Project: Application Server 7
          Issue Type: Bug
          Components: CLI
    Affects Versions: 7.1.3.Final (EAP)
         Environment: all OS
            Reporter: Jay Kumar SenSharma
            Assignee: Alexey Loubyansky


 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 at apsrt0311:9999 /] deployment-info --name=*

    As soon as the above command is executed it "terminates" the CLI process with the following exception:


    [standalone at 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)
    

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list