You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Frank Budinsky (JIRA)" <tu...@ws.apache.org> on 2006/04/04 15:37:45 UTC

[jira] Resolved: (TUSCANY-147) NullPointerException when DataFactory create called

     [ http://issues.apache.org/jira/browse/TUSCANY-147?page=all ]
     
Frank Budinsky resolved TUSCANY-147:
------------------------------------

    Resolution: Fixed

According to the SDO spec, it should throw IllegalArgumentException in this case.

The fix has been committed in revision 391305.


> NullPointerException when DataFactory create called
> ---------------------------------------------------
>
>          Key: TUSCANY-147
>          URL: http://issues.apache.org/jira/browse/TUSCANY-147
>      Project: Tuscany
>         Type: Improvement

>   Components: Java SDO Implementation
>     Reporter: Guillaume Dufrene
>     Priority: Minor

>
> If an interface is not registered into the TypeHelper, a NullPointerException is thrown when user call the create method on DataFactory.
> A better Exception should be thrown. Something like "SDOUnregisteredInterfaceException"

-- 
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