[jboss-jira] [JBoss JIRA] (AS7-3201) CLI: rollout-plan add command with malformed plan crashes CLI

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Thu Jan 19 13:03:19 EST 2012


     [ https://issues.jboss.org/browse/AS7-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Loubyansky resolved AS7-3201.
------------------------------------

    Fix Version/s: 7.1.0.Final
       Resolution: Done


Fixed. Thanks.
                
> CLI: rollout-plan add command with malformed plan crashes CLI
> -------------------------------------------------------------
>
>                 Key: AS7-3201
>                 URL: https://issues.jboss.org/browse/AS7-3201
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 7.1.0.CR1b
>            Reporter: Dominik Pospisil
>            Assignee: Alexey Loubyansky
>             Fix For: 7.1.0.Final
>
>
> The rollout-plan add command with malformed plan crashes CLI. 
> Steps to reproduce.
> 1) connect to a domain
> 2) rollout-plan add --name=testPlan --content=test
> Console crashes with:
> java.lang.IllegalArgumentException: newValue is null
>         at org.jboss.dmr.ModelNode.set(ModelNode.java:503)
>         at org.jboss.as.cli.handlers.GenericTypeOperationHandler.buildOperationRequest(GenericTypeOperationHandler.java:514)
>         at org.jboss.as.cli.handlers.GenericTypeOperationHandler.buildRequest(GenericTypeOperationHandler.java:358)
>         at org.jboss.as.cli.handlers.BaseOperationCommand.doHandle(BaseOperationCommand.java:183)
>         at org.jboss.as.cli.handlers.CommandHandlerWithHelp.handle(CommandHandlerWithHelp.java:84)
>         at org.jboss.as.cli.impl.CommandContextImpl.processLine(CommandContextImpl.java:449)
>         at org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:983)
>         at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:174)
>         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:248)
>         at org.jboss.modules.Main.main(Main.java:313)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list