[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-2356) NullableType.toString(Object) should account for nulls

Steve Ebersole (JIRA) noreply at atlassian.com
Tue Jan 16 10:28:44 EST 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2356?page=all ]
     
Steve Ebersole closed HHH-2356:
-------------------------------

    Resolution: Fixed

trunk / 3.2

> NullableType.toString(Object) should account for nulls
> ------------------------------------------------------
>
>          Key: HHH-2356
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2356
>      Project: Hibernate3
>         Type: Bug

>   Components: core
>     Reporter: Steve Ebersole
>     Assignee: Steve Ebersole
>      Fix For: 3.2.2

>
>
> Both nullSafeSet and nullSafeGet on NullableType rely on calls to its toString(Object) method for exception handling logic.  However, some toString(Object) implementations do not properly account for the potential of null values, sometimes resulting in NPE exceptions while trying to log the underlying failure.

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




More information about the hibernate-issues mailing list