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

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.


rp
tip

This is a bug in Wise, updating to v4.10 seems to solve the problem.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • 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.
    via by Armen Khachatryan [Atlassian],
  • 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.
    via by Armen Khachatryan [Atlassian],
  • Format Exception in input string (Java)
    via Stack Overflow by user2213611
    ,
  • NumberFormatException for input String
    via by Unknown author,
    • java.lang.NumberFormatException: For input string: "/bamboo2" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:449) at java.lang.Integer.parseInt(Integer.java:499) at org.apache.activemq.transport.tcp.TcpTransportFactory.createTransport(TcpTransportFactory.java:128) at org.apache.activemq.transport.TransportFactory.doCompositeConnect(TransportFactory.java:156) at org.apache.activemq.transport.TransportFactory.compositeConnect(TransportFactory.java:93) at org.apache.activemq.transport.failover.FailoverTransport.doReconnect(FailoverTransport.java:842) at org.apache.activemq.transport.failover.FailoverTransport$2.iterate(FailoverTransport.java:135) at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122) at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    232 more bugmates