[ 
https://issues.apache.org/jira/browse/ARTEMIS-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ulf Lilleengen resolved ARTEMIS-1063.
-------------------------------------
       Resolution: Cannot Reproduce
    Fix Version/s: 2.1.0

This is no longer an issue for me on Artemis 2.1.0

> Unknown constructor: org.apache.qpid.proton.codec.DecodeException with AMQP 
> client and diverts
> ----------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1063
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1063
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Ulf Lilleengen
>             Fix For: 2.1.0
>
>         Attachments: broker.xml
>
>
> When using a fairly new Artemis snapshot 
> (https://repository.apache.org/content/groups/snapshots/org/apache/activemq/apache-artemis/2.1.0-SNAPSHOT/apache-artemis-2.1.0-20170323.041318-21-bin.tar.gz),
>  Artemis throws a DecodeException if it is configured with a divert _and_ the 
> client sets message properties.
> Steps to reproduce:
> 1. Create new artemis instance
> 2. Replace config with attached broker.xml
> 3. Run test client (gradle test -i): 
> http://people.redhat.com/~ulilleen/testclient.tar.gz
> 27:46,907 WARN  
> [org.apache.activemq.artemis.protocol.amqp.proton.ProtonServerReceiverContext]
>  Unknown constructor: org.apache.qpid.proton.codec.DecodeException: Unknown 
> constructor
>         at 
> org.apache.qpid.proton.codec.DecoderImpl.readObject(DecoderImpl.java:883) 
> [proton-j-0.18.0.jar:]
>         at 
> org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.getApplicationProperties(AMQPMessage.java:162)
>  [artemis-amqp-protocol-2.1.0-SNAPSHOT.jar:]
>         at 
> org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.getApplicationPropertiesMap(AMQPMessage.java:141)
>  [artemis-amqp-protocol-2.1.0-SNAPSHOT.jar:]
>         at 
> org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.removeProperty(AMQPMessage.java:733)
>  [artemis-amqp-protocol-2.1.0-SNAPSHOT.jar:]
>         at 
> org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.removeProperty(AMQPMessage.java:847)
>  [artemis-amqp-protocol-2.1.0-SNAPSHOT.jar:]
>         at 
> org.apache.activemq.artemis.core.server.impl.DivertImpl.route(DivertImpl.java:117)
>  [artemis-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
>         at 
> org.apache.activemq.artemis.core.postoffice.impl.DivertBinding.route(DivertBinding.java:107)
>  [artemis-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
>         at 
> org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.route(BindingsImpl.java:298)
>  [artemis-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
>         at 
> org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.route(BindingsImpl.java:232)
>  [artemis-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
>         at 
> org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:732)
>  [artemis-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
>         at 
> org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:689)
>  [artemis-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
>         at 
> org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.doSend(ServerSessionImpl.java:1655)
>  [artemis-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
>         at 
> org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1338)
>  [artemis-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
>         at 
> org.apache.activemq.artemis.protocol.amqp.broker.AMQPSessionCallback.serverSend(AMQPSessionCallback.java:404)
>  [artemis-amqp-protocol-2.1.0-SNAPSHOT.jar:]
>         at 
> org.apache.activemq.artemis.protocol.amqp.broker.AMQPSessionCallback.serverSend(AMQPSessionCallback.java:379)
>  [artemis-amqp-protocol-2.1.0-SNAPSHOT.jar:]
>         at 
> org.apache.activemq.artemis.protocol.amqp.proton.ProtonServerReceiverContext.onMessage(ProtonServerReceiverContext.java:161)
>  [artemis-amqp-protocol-2.1.0-SNAPSHOT.jar:]
>         at 
> org.apache.activemq.artemis.protocol.amqp.proton.AMQPConnectionContext$LocalListener.onDelivery(AMQPConnectionContext.java:451)
>  [artemis-amqp-protocol-2.1.0-SNAPSHOT.jar:]
>         at 
> org.apache.activemq.artemis.protocol.amqp.proton.handler.Events.dispatch(Events.java:97)
>  [artemis-amqp-protocol-2.1.0-SNAPSHOT.jar:]
>         at 
> org.apache.activemq.artemis.protocol.amqp.proton.handler.ProtonHandler.dispatch(ProtonHandler.java:345)
>  [artemis-amqp-protocol-2.1.0-SNAPSHOT.jar:]
>         at 
> org.apache.activemq.artemis.protocol.amqp.proton.handler.ProtonHandler.access$000(ProtonHandler.java:43)
>  [artemis-amqp-protocol-2.1.0-SNAPSHOT.jar:]
>         at 
> org.apache.activemq.artemis.protocol.amqp.proton.handler.ProtonHandler$1.run(ProtonHandler.java:62)
>  [artemis-amqp-protocol-2.1.0-SNAPSHOT.jar:]
>         at 
> org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:101)
>  [artemis-commons-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  [rt.jar:1.8.0_66]
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  [rt.jar:1.8.0_66]
>         at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_66]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to