[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-5327) Code issue - NPE

Gail Badner (JIRA) noreply at atlassian.com
Mon Jun 21 17:15:21 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gail Badner resolved HHH-5327.
------------------------------

      Assignee: Gail Badner
    Resolution: Duplicate

> Code issue - NPE
> ----------------
>
>                 Key: HHH-5327
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5327
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.5.3
>         Environment: any
>            Reporter: Fred Toussi
>            Assignee: Gail Badner
>
> package org.hibernate.tuple.component
> class AbstractComponentTuplizer
> public void setPropertyValues(Object component, Object[] values) throws HibernateException {
>   for ( int i = 0; i < propertySpan; i++ ) {
>     setters[i].set( component, values[i], null );
>   }
> }
> The null "factory" argument is used via Dom4jAccessor$ElementSetter() and eventually dereferenced, causing NPE.
> Issue shows up in:
> [org.hibernate.test.entitymode.dom4j.component.Dom4jComponentTest#testSetAccessorsFailureExpected]

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