You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Tom Ross (JIRA)" <ji...@apache.org> on 2018/09/11 09:42:00 UTC

[jira] [Commented] (ARTEMIS-1874) NPE in ActiveMQMessage.setObjectProperty

    [ https://issues.apache.org/jira/browse/ARTEMIS-1874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16610354#comment-16610354 ] 

Tom Ross commented on ARTEMIS-1874:
-----------------------------------

This issue seems to affect all properties not only object properties. NPE get generated with a String property has no value.

> NPE in ActiveMQMessage.setObjectProperty
> ----------------------------------------
>
>                 Key: ARTEMIS-1874
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1874
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Alastair Mailer
>            Assignee: Justin Bertram
>            Priority: Critical
>             Fix For: 2.6.1, 2.7.0
>
>
> Calling ActiveMQMessage.setObjectProperty("name", null) causes an NPE in handleCoreProperty line 968 (value.toString()) if "name" is either "JMSXGroupID" or "JMSXUserID".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)