We're updating the issue view to help you get more done. 

Code issue - NPE

Description

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]

Environment

any

Status

Assignee

Gail Badner

Reporter

Fred Toussi

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

3.5.3

Priority

Major