You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jeff Mesnil (JIRA)" <ji...@apache.org> on 2015/08/25 14:37:46 UTC

[jira] [Created] (ARTEMIS-212) Unable to parse IPv6 address

Jeff Mesnil created ARTEMIS-212:
-----------------------------------

             Summary: Unable to parse IPv6 address
                 Key: ARTEMIS-212
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-212
             Project: ActiveMQ Artemis
          Issue Type: Bug
    Affects Versions: 1.0.0
            Reporter: Jeff Mesnil


In our test suite, we have tests failing when using IPv6:

{noformat}
Caused by: java.io.InvalidObjectException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "et"
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.readExternal(ActiveMQConnectionFactory.java:117)
at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1308)
at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:276)
at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)
at org.jboss.naming.remote.protocol.v1.Protocol$1$3.read(Protocol.java:156)
at org.jboss.naming.remote.protocol.v1.Protocol$1$3.read(Protocol.java:149)
at org.jboss.naming.remote.protocol.v1.BaseProtocolCommand.readResult(BaseProtocolCommand.java:59)
at org.jboss.naming.remote.protocol.v1.Protocol$1.handleClientMessage(Protocol.java:149)
at org.jboss.naming.remote.protocol.v1.RemoteNamingStoreV1$MessageReceiver$1.run(RemoteNamingStoreV1.java:232)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{noformat}

This issue can be reproduced by using URLDecoder to decode an URL with IPv6 address such as "http://[fe80::baf6:b1ff:fe12:daf7%en0]:80?foo=bar&baz=blah"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)