[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6363) NPE in class PropertyContainer.mustBeSkipped

Yves Galante (JIRA) noreply at atlassian.com
Fri Jun 24 09:15:53 EDT 2011


NPE in class PropertyContainer.mustBeSkipped
--------------------------------------------

                 Key: HHH-6363
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6363
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 3.6.5
            Reporter: Yves Galante
         Attachments: PropertyContainer.patch


When parsing annotation there is a NPE in  PropertyContainer.mustBeSkipped(XProperty property) method.
For some class (parameterized) the property.getType() return null, patched code check this.

Case : 


@Embeddable
public final class AAA<V extends Serializable> implements Serializable {

    @Column(name = "TYPE_AAA")
    private final Class<V> aaaType;

}


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