Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
2.19.0, 2.19.1
-
None
-
None
-
None
Description
The fix fromĀ ARTEMIS-3677 is needed for the v2.19.x series to allow browsing of messages in Java 8 environments otherwise this NPE is thrown:
Caused by: java.lang.NullPointerException at org.apache.activemq.artemis.api.core.JsonUtil.truncate(JsonUtil.java:331) ~[?:?] at org.apache.activemq.artemis.api.core.Message.toPropertyMap(Message.java:763) ~[?:?] at org.apache.activemq.artemis.api.core.ICoreMessage.toMap(ICoreMessage.java:114) ~[?:?] at org.apache.activemq.artemis.core.management.impl.QueueControlImpl.getFirstMessage(QueueControlImpl.java:907) ~[?:?] at org.apache.activemq.artemis.core.management.impl.QueueControlImpl.getFirstMessageAsJSON(QueueControlImpl.java:922) ~[?:?]
Attachments
Issue Links
- is a clone of
-
ARTEMIS-3677 Mitigate NPE when browsing messages
- Closed