Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5755

(7.0.z) CLI 'deployment-info --headers' throws errors in standalone mode

XMLWordPrintable

      In standalone mode of jboss-cli, the command: 'deployment-info --headers' throws Java exceptions instead of a proper problem description.

      [standalone@localhost:9990 /] deployment-info --headers       
      Failed to perform operation: java.util.concurrent.ExecutionException: Operation failed: Operation failed: java.lang.IllegalArgumentException:null
      

      Tab complete does not work beyond '--headers=' and starts working again after '{' is typed.
      Example:

      [standalone@localhost:9990 /] deployment-info --headers<TAB>=<TAB><TAB> 
      Failed to handle 'deployment-info --headers=': newValue is null
      [standalone@localhost:9990 /] deployment-info --headers={<TAB>
      allow-resource-service-restart  rollback-on-runtime-failure     
      blocking-timeout                rollout   
      

      Steps to reproduce:

      Standalone:

      [standalone@localhost:9990 /] deployment-info --headers       
      Failed to perform operation: java.util.concurrent.ExecutionException: Operation failed: Operation failed: java.lang.IllegalArgumentException:null
      [standalone@localhost:9990 /] deployment-info --headers=<TAB><TAB>
      Failed to handle 'deployment-info --headers=': newValue is null
      [standalone@localhost:9990 /] deployment-info --headers={}
      NAME                         RUNTIME-NAME                 PERSISTENT ENABLED STATUS  
      jboss-kitchensink-ml-ear.ear jboss-kitchensink-ml-ear.ear true       false   STOPPED 
      jboss-kitchensink.war        jboss-kitchensink.war        true       false   STOPPED 
      jboss-modules.jar            jboss-modules.jar            true       false   STOPPED 
      

              rhn-cservice-bbaranow Bartosz Baranowski
              rhn-cservice-bbaranow Bartosz Baranowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: