Failed to decode: java.lang.IllegalArgumentException: Invalid type: 0
Issue
- In my cluster of two nodes of EAP 6.0.1 HornetQ, I have a lot of errors in my log :
ERROR [org.hornetq.core.protocol.core.impl.RemotingConnectionImpl] (Old I/O client worker ([id: 0x6ecf573a, /aaa.bbb.ccc.ddd:12105 => /eee.fff.ggg.hhh:5626]))
Failed to decode: java.lang.IllegalArgumentException: Invalid type: 0
at org.hornetq.core.protocol.core.impl.PacketDecoder.decode(PacketDecoder.java:550) [hornetq-core-2.2.23.Final-redhat-1.jar:2.2.19.SNAPSHOT (HQ_2_2_23_Final, 122)]
at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:479) [hornetq-core-2.2.23.Final-redhat-1.jar:2.2.19.SNAPSHOT (HQ_2_2_23_Final, 122)]
at org.hornetq.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1543) [hornetq-core-2.2.23.Final-redhat-1.jar:2.2.19.SNAPSHOT (HQ_2_2_23_Final, 122)]
- What is the cause of these log ?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
