Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1739

CLI 'deployment-info --headers' throws errors in standalone mode

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 3.0.0.Alpha9
    • None
    • None

    Description

      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 
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: