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

Details

    • Bug
    • Resolution: Duplicate
    • 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 }

    Description

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: