[ 
https://issues.apache.org/jira/browse/ARTEMIS-3861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Bertram resolved ARTEMIS-3861.
-------------------------------------
    Resolution: Won't Fix

There are no more releases for 2.19.x planned.

> Java 8 Mitigate NPE when browsing messages
> ------------------------------------------
>
>                 Key: ARTEMIS-3861
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3861
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.19.0, 2.19.1
>            Reporter: Phil Haeusler
>            Priority: Major
>
> 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:
> {noformat}
> 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)
>  ~[?:?]{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to