You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Yang ZHONG (JIRA)" <tu...@ws.apache.org> on 2006/12/01 21:44:22 UTC

[jira] Commented: (TUSCANY-951) NullPointerException when setting an invalid property

    [ http://issues.apache.org/jira/browse/TUSCANY-951?page=comments#action_12454994 ] 
            
Yang ZHONG commented on TUSCANY-951:
------------------------------------

935 is fixed.

> 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
>             Fix For: Java-Mx, Java-M2
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org