Parsing of IPv6 loopback address fails
--------------------------------------
Key: MODCLUSTER-156
URL:
https://jira.jboss.org/jira/browse/MODCLUSTER-156
Project: mod_cluster
Issue Type: Bug
Affects Versions: 1.1.0.CR1
Reporter: Bela Ban
Assignee: Jean-Frederic Clere
Fix For: 1.1.0.CR2
The IPv6 loopback addresss ::1 cannot be parsed. I suspect this also fails for regular
IPv6 addresses.
The stack trace is:
04:18:33,829 ERROR [STDERR] Exception in thread "pool-5-thread-1"
java.lang.NumberFormatException: For input stri
ng: ":1:8000"
04:18:33,829 ERROR [STDERR] at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
04:18:33,830 ERROR [STDERR] at java.lang.Integer.parseInt(Integer.java:481)
04:18:33,830 ERROR [STDERR] at java.lang.Integer.parseInt(Integer.java:514)
04:18:33,830 ERROR [STDERR] at
org.jboss.modcluster.Utils.parseSocketAddress(Utils.java:115)
04:18:33,830 ERROR [STDERR] at
org.jboss.modcluster.Utils.parseSocketAddress(Utils.java:76)
04:18:33,830 ERROR [STDERR] at
org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl$AdvertiseListenerWor
ker.run(AdvertiseListenerImpl.java:505)
04:18:33,830 ERROR [STDERR] at java.lang.Thread.run(Thread.java:636)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira