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: 0.6, 0.5, M4, M3, M2.1, M2
            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:[email protected]

Reply via email to