Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-3896

AMQ3622Test throws NumberFormatException on ec2/ubuntu 10.04

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.7.0
    • Component/s: Test Cases
    • Labels:
      None
    • Environment:

      Amazon EC2 Ubuntu 10.04

    • Patch Info:
      Patch Available

      Description

      This test throws a NumberFormatException when run on a Ubuntu 10.04 node on Amazon EC2. The test tries to get the connectionUri port by calling Integer.parseInt(connectionUri.replace("stomp://localhost:", "")).

      However, when run on ec2 the connectionUri actually looks something like this "stomp://localhost.localdomain:38542", so the replace doesn't work as intended.

        Attachments

        1. Fix_AMQ3622_NumberFormatException.patch
          5 kB
          Kevin Anthony Earls
        2. Fix_AMQ3622_NumberFormatException.patch
          5 kB
          Kevin Anthony Earls

          Activity

            People

            • Assignee:
              tabish Timothy A. Bish
              Reporter:
              kearls Kevin Anthony Earls
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: