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

(7.1.0) CLI 'deployment-info --headers' throws errors in standalone mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR6
    • 7.1.0.DR3
    • CLI
    • None

      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
      

      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 /] 
      

              rhn-cservice-bbaranow Bartosz Baranowski
              mschvarc Martin Schvarcbacher (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: