You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Marcel Hillmann (JIRA)" <ji...@apache.org> on 2017/12/04 11:00:05 UTC
[jira] [Created] (OPENWIRE-16) ClassCastException:
ConnectionAdvisoryTopic
Marcel Hillmann created OPENWIRE-16:
---------------------------------------
Summary: ClassCastException: ConnectionAdvisoryTopic
Key: OPENWIRE-16
URL: https://issues.apache.org/jira/browse/OPENWIRE-16
Project: ActiveMQ OpenWire
Issue Type: Bug
Environment: Windows 7
java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)
Reporter: Marcel Hillmann
Hi,
If I'm try to consume the connection advisory topic it raise an ClassCastException.
Is this an known Isssue?
How can I fixit?
{code:java}
Caused by: java.io.IOException: org.apache.activemq.command.BrokerId cannot be cast to org.apache.activemq.command.ConsumerId
at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:40)
... 7 more
Caused by: java.lang.ClassCastException: org.apache.activemq.command.BrokerId cannot be cast to org.apache.activemq.command.ConsumerId
at org.apache.activemq.openwire.v12.MessageMarshaller.tightUnmarshal(MessageMarshaller.java:75)
at org.apache.activemq.openwire.v12.ActiveMQMessageMarshaller.tightUnmarshal(ActiveMQMessageMarshaller.java:66)
at org.apache.activemq.openwire.OpenWireFormat.tightUnmarshalNestedObject(OpenWireFormat.java:456)
at org.apache.activemq.openwire.v12.BaseDataStreamMarshaller.tightUnmarsalNestedObject(BaseDataStreamMarshaller.java:125)
at org.apache.activemq.openwire.v12.MessageDispatchMarshaller.tightUnmarshal(MessageDispatchMarshaller.java:71)
at org.apache.activemq.openwire.OpenWireFormat.doUnmarshal(OpenWireFormat.java:365)
at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:278)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)