NullPointerException when setting an invalid property
-----------------------------------------------------

                 Key: TUSCANY-951
                 URL: http://issues.apache.org/jira/browse/TUSCANY-951
             Project: Tuscany
          Issue Type: Bug
          Components: Java SDO Implementation
            Reporter: Brent Daniel


Calling set() with an invalid property name results in a NullPointerException. 
For example:

dataObject.setInt("invalidProperty", 5);

results in:
java.lang.NullPointerException
        at 
org.apache.tuscany.sdo.util.DataObjectUtil.getSetValue(DataObjectUtil.java:1440)
        at 
org.apache.tuscany.sdo.util.DataObjectUtil.setInt(DataObjectUtil.java:537)
        at 
org.apache.tuscany.sdo.impl.DataObjectImpl.setInt(DataObjectImpl.java:526)
                

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to