[ https://issues.apache.org/jira/browse/OPENWIRE-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish closed OPENWIRE-16. -------------------------------- Resolution: Invalid This is not the place for such issues. You should ask for help on the ActiveMQ users mailing list and then if a bug is found an issue can be created in the ActiveMQ JIRA tracker. > 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)