[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5327) Code issue - NPE
Fred Toussi (JIRA)
noreply at atlassian.com
Mon Jun 21 16:12:20 EDT 2010
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
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