You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Martin Styk (JIRA)" <ji...@apache.org> on 2016/07/25 14:57:20 UTC
[jira] [Created] (ARTEMIS-653) Possible Null Pointer Exception
during message properties read using XmlDataImporter
Martin Styk created ARTEMIS-653:
-----------------------------------
Summary: Possible Null Pointer Exception during message properties read using XmlDataImporter
Key: ARTEMIS-653
URL: https://issues.apache.org/jira/browse/ARTEMIS-653
Project: ActiveMQ Artemis
Issue Type: Bug
Reporter: Martin Styk
Priority: Minor
There is possible NPE in XMLDataImporter#processMessageProperties
{code}
realValue = null;
{code}
{code}
case XmlDataConstants.PROPERTY_TYPE_SIMPLE_STRING:
if (!value.equals(XmlDataConstants.NULL)) {
realValue = value;
}
message.putStringProperty(new SimpleString(key), new SimpleString(realValue));
break;
{code}
If realValue is null, new SimpleString(realValue) throws NPE
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)