java.lang.NumberFormatException: For input string: "/bamboo2"

Atlassian JIRA | Armen Khachatryan [Atlassian] | 4 years ago
  1. 0

    Here is the waring that I get when I run a remote agent with configured context path: {code} INFO | jvm 1 | 2012/06/25 11:16:36 | 2012-06-25 11:16:35,923 WARN [ActiveMQ Task] [TcpTransportFactory] path isn't a valid local location for TcpTransport to use INFO | jvm 1 | 2012/06/25 11:16:36 | java.lang.NumberFormatException: For input string: "/bamboo2" INFO | jvm 1 | 2012/06/25 11:16:36 | at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) INFO | jvm 1 | 2012/06/25 11:16:36 | at java.lang.Integer.parseInt(Integer.java:449) INFO | jvm 1 | 2012/06/25 11:16:36 | at java.lang.Integer.parseInt(Integer.java:499) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.transport.tcp.TcpTransportFactory.createTransport(TcpTransportFactory.java:128) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.transport.TransportFactory.doCompositeConnect(TransportFactory.java:156) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.transport.TransportFactory.compositeConnect(TransportFactory.java:93) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.transport.failover.FailoverTransport.doReconnect(FailoverTransport.java:842) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.transport.failover.FailoverTransport$2.iterate(FailoverTransport.java:135) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43) INFO | jvm 1 | 2012/06/25 11:16:36 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) INFO | jvm 1 | 2012/06/25 11:16:36 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) INFO | jvm 1 | 2012/06/25 11:16:36 | at java.lang.Thread.run(Thread.java:680) {code} Here is the Broker URI configuration part: {code} ... <property name="bamboo.jms.broker.client.uri">failover:(tcp://127.0.0.1:54663/bamboo1?wireFormat.maxInactivityDuration=300000)?maxReconnectAttempts=10&amp;initialReconnectDelay=15000</property> <property name="bamboo.jms.broker.uri">tcp://0.0.0.0:54663?wireFormat.maxInactivityDuration=300000</property> ... {code} I will make a note about this waring in [this KB|https://confluence.atlassian.com/display/BAMKB/Running+2+Bamboo+instances+on+the+same+machine]. Even though Bamboo gives this warning, the remote agents load and get registered properly.

    Atlassian JIRA | 4 years ago | Armen Khachatryan [Atlassian]
    java.lang.NumberFormatException: For input string: "/bamboo2"
  2. 0

    Here is the waring that I get when I run a remote agent with configured context path: {code} INFO | jvm 1 | 2012/06/25 11:16:36 | 2012-06-25 11:16:35,923 WARN [ActiveMQ Task] [TcpTransportFactory] path isn't a valid local location for TcpTransport to use INFO | jvm 1 | 2012/06/25 11:16:36 | java.lang.NumberFormatException: For input string: "/bamboo2" INFO | jvm 1 | 2012/06/25 11:16:36 | at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) INFO | jvm 1 | 2012/06/25 11:16:36 | at java.lang.Integer.parseInt(Integer.java:449) INFO | jvm 1 | 2012/06/25 11:16:36 | at java.lang.Integer.parseInt(Integer.java:499) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.transport.tcp.TcpTransportFactory.createTransport(TcpTransportFactory.java:128) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.transport.TransportFactory.doCompositeConnect(TransportFactory.java:156) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.transport.TransportFactory.compositeConnect(TransportFactory.java:93) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.transport.failover.FailoverTransport.doReconnect(FailoverTransport.java:842) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.transport.failover.FailoverTransport$2.iterate(FailoverTransport.java:135) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43) INFO | jvm 1 | 2012/06/25 11:16:36 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) INFO | jvm 1 | 2012/06/25 11:16:36 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) INFO | jvm 1 | 2012/06/25 11:16:36 | at java.lang.Thread.run(Thread.java:680) {code} Here is the Broker URI configuration part: {code} ... <property name="bamboo.jms.broker.client.uri">failover:(tcp://127.0.0.1:54663/bamboo1?wireFormat.maxInactivityDuration=300000)?maxReconnectAttempts=10&amp;initialReconnectDelay=15000</property> <property name="bamboo.jms.broker.uri">tcp://0.0.0.0:54663?wireFormat.maxInactivityDuration=300000</property> ... {code} I will make a note about this waring in [this KB|https://confluence.atlassian.com/display/BAMKB/Running+2+Bamboo+instances+on+the+same+machine]. Even though Bamboo gives this warning, the remote agents load and get registered properly.

    Atlassian JIRA | 4 years ago | Armen Khachatryan [Atlassian]
    java.lang.NumberFormatException: For input string: "/bamboo2"
  3. 0

    what's the error in my isbn checker?

    Stack Overflow | 12 months ago | newbie racer
    java.lang.NumberFormatException: For input string: "1234567898765"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mapreduce jobs can cause FileNotFoundException or Resource changed on src filesystem error.

    https://bugzilla.redhat.com/bugzilla/ | 2 years ago | Ondřej Komárek
    java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "100000000000000000000000000000000000000000000000000000"
  6. 0

    java.lang.NumberFormatException using IPv6 addresses

    GitHub | 5 years ago | asoldano
    java.lang.NumberFormatException: For input string: ":1]:8080"

  1. Handemelindo 6 times, last 5 days ago
  2. bmacedo 2 times, last 7 days ago
  3. MoYapro 1 times, last 1 week ago
  4. filpgame 4 times, last 3 weeks ago
  5. silex 6 times, last 1 month ago
32 more registered users
63 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NumberFormatException

    For input string: "/bamboo2"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    2. java.lang.Integer.parseInt(Integer.java:449)
    3. java.lang.Integer.parseInt(Integer.java:499)
    3 frames
  3. ActiveMQ :: Core
    TcpTransportFactory.createTransport
    1. org.apache.activemq.transport.tcp.TcpTransportFactory.createTransport(TcpTransportFactory.java:128)
    1 frame
  4. AMQ HTTP
    TransportFactory.compositeConnect
    1. org.apache.activemq.transport.TransportFactory.doCompositeConnect(TransportFactory.java:156)
    2. org.apache.activemq.transport.TransportFactory.compositeConnect(TransportFactory.java:93)
    2 frames
  5. ActiveMQ :: Core
    PooledTaskRunner$1.run
    1. org.apache.activemq.transport.failover.FailoverTransport.doReconnect(FailoverTransport.java:842)
    2. org.apache.activemq.transport.failover.FailoverTransport$2.iterate(FailoverTransport.java:135)
    3. org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
    4. org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
    4 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    3. java.lang.Thread.run(Thread.java:680)
    3 frames