You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Kennedy (JIRA)" <ji...@apache.org> on 2010/11/01 12:21:25 UTC
[jira] Resolved: (QPID-2744) FieldTable throws a
NullPointerException in setObjectProperty rather than expected
AMQPInvalidClassException
[ https://issues.apache.org/jira/browse/QPID-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kennedy resolved QPID-2744.
----------------------------------
Resolution: Fixed
Committed changes fix this issue
> FieldTable throws a NullPointerException in setObjectProperty rather than expected AMQPInvalidClassException
> ------------------------------------------------------------------------------------------------------------
>
> Key: QPID-2744
> URL: https://issues.apache.org/jira/browse/QPID-2744
> Project: Qpid
> Issue Type: Bug
> Components: Java Common
> Affects Versions: M2, M2.1, M3, M4, 0.5, 0.6
> Reporter: Martin Ritchie
> Assignee: Martin Ritchie
> Priority: Critical
> Fix For: 0.7
>
>
> When a null object is passed to setObjectProperty in the FieldTable we should throw an AMQPInvalidClassException stating we need a primitive value.
> However we do object.getClass() to show what we were given.. if object is null then we get a NPE.
> This needs to be fixed so it doesn't NPE.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org