[
https://issues.apache.org/jira/browse/ARTEMIS-2784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Noah Zucker resolved ARTEMIS-2784.
----------------------------------
Resolution: Resolved
Happy to report that upgrading to the current Artemis MQ client library
resolved this issue!
> Could not decode properties for CoreMessage ...
> java.lang.IndexOutOfBoundsException
> -----------------------------------------------------------------------------------
>
> Key: ARTEMIS-2784
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2784
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.12.0
> Reporter: Noah Zucker
> Priority: Major
>
> Our application is observing a large number of messages from Artemis
> experiencing the following error
> Server Version: ArtemisMQ 2.12.0
> Client Version: org.hornetq hornetq-core 2.2.7.Final
> {code}
> Could not decode properties for
> CoreMessage[messageID=0,durable=true,userID=null,priority=4, ti
> mestamp=1590674773446,expiration=0,address=null, propertiesLocation=145:
> java.lang.IndexOutOfBoundsException
> activemq-artemis 2020-05-28 14:09:41,364 WARN
> [org.apache.activemq.artemis.core.message.impl.CoreMessage] Failed message
> has messageID=0 and the following buffer:
> activemq-artemis +-------------------------------------------------+
> activemq-artemis | 0 1 2 3 4 5 6 7 8 9 a b c d e f |
> activemq-artemis
> +--------+-------------------------------------------------+----------------+
> activemq-artemis |00000000| 00 00 00 7d 00 00 00 66 00 66 7b 20 22 74 22 20
> |...}...f.f{ "t" |
> activemq-artemis |00000010| 3a 20 22 63 6f 6d 2e 6e 6f 76 75 73 2e 61 6e 61
> |: "com.novus.ana|
> activemq-artemis |00000020| 6c 79 74 69 63 73 2e 75 74 69 6c 2e 74 61 73 6b
> |lytics.util.task|
> activemq-artemis |00000030| 73 2e 41 73 79 6e 63 43 6f 6e 73 75 6d 65 72 4d
> |s.AsyncConsumerM|
> activemq-artemis |00000040| 65 73 73 61 67 65 22 20 2c 20 22 6d 73 67 22 20
> |essage" , "msg" |
> activemq-artemis |00000050| 3a 20 22 66 65 61 74 75 72 65 46 6c 61 67 43 61
> |: "featureFlagCa|
> activemq-artemis |00000060| 63 68 65 2e 69 6e 76 61 6c 69 64 61 74 65 22 7d
> |che.invalidate"}|
> activemq-artemis |00000070| 00 00 00 f2 00 00 00 00 00 00 00 00 00 00 03 ff
> |................|
> activemq-artemis |00000080| 00 00 00 00 00 00 00 00 00 00 01 72 5b 9a d5 c6
> |...........r[...|
> activemq-artemis |00000090| 04 01 00 00 00 01 00 00 00 16 5f 00 48 00 51 00
> |.........._.H.Q.|
> activemq-artemis |000000a0| 5f 00 44 00 55 00 50 00 4c 00 5f 00 49 00 44 00
> |_.D.U.P.L._.I.D.|
> activemq-artemis |000000b0| 0a 00 00 00 30 35 00 65 00 63 00 66 00 63 00 35
> |....05.e.c.f.c.5|
> activemq-artemis |000000c0| 00 35 00 35 00 64 00 39 00 31 00 33 00 62 00 32
> |.5.5.d.9.1.3.b.2|
> activemq-artemis |000000d0| 00 34 00 65 00 66 00 30 00 32 00 32 00
> |.4.e.f.0.2.2. |
> activemq-artemis
> +--------+-------------------------------------------------+----------------+
> {code}
> Our client-side is also having trouble reading incoming text messages in its
> onMessage callback. We encounter this with frequency: {{Unable to parse
> string bodybuffer from Msg 'class
> org.hornetq.core.client.impl.ClientMessageImpl' having id=4530593 !!!
> Details: java.lang.IndexOutOfBoundsException: Not enough readable bytes -
> Need 24, maximum is 20}}
> Apologies for being open ended on this, please let me know what additional
> details to provide.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)