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

Confusing error message when too big number is passed as Int or Long argument

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Optional Optional
    • None
    • 7.1.0.DR7
    • CLI, User Experience
    • None
    • Hide
      /subsystem=io/worker=test:add(io-threads=9999999999999999)
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0097: Wrong type for io-threads. Expected [INT] but was STRING",
          "rolled-back" => true
      }
      
      Show
      /subsystem=io/worker=test:add(io-threads=9999999999999999) { "outcome" => "failed" , "failure-description" => "WFLYCTL0097: Wrong type for io-threads. Expected [INT] but was STRING" , "rolled-back" => true }

      Better than 'Expected [INT] but was STRING' could be something like 'Expected [INT] but was too big number.'

              Unassigned Unassigned
              pjelinek@redhat.com Pavel Jelinek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: