[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-668) Nullpointer when lazy-loading instrumented entity

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Mar 21 13:00:31 EDT 2011


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

Steve Ebersole closed HHH-668.
------------------------------


Closing stale resolved issues

> Nullpointer when lazy-loading instrumented entity
> -------------------------------------------------
>
>                 Key: HHH-668
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-668
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>         Environment: Hibernate CVS 23/6/2005
>            Reporter: Mathias Bogaert
>         Attachments: NILapi.rar
>
>
> java.lang.NullPointerException
>         at
> org.hibernate.persister.entity.BasicEntityPersister.initializeLazyProperty(B
> asicEntityPersister.java:709)
>         at
> org.hibernate.intercept.FieldInterceptor.intercept(FieldInterceptor.java:76)
>         at
> org.hibernate.intercept.FieldInterceptor.readObject(FieldInterceptor.java:12
> 9)
>         at
> eu.cec.regio.sysaudit.domain.adonis.AdonisReferenceDocument.$cglib_read_imag
> e(AdonisReferenceDocument.java)
>         at
> eu.cec.regio.sysaudit.domain.adonis.AdonisReferenceDocument.getImage(AdonisR
> eferenceDocument.java:63)
>         at
> eu.cec.regio.sysaudit.web.action.adonis.UploadIfsAdonisDocumentWithMetadata.
> upload(UploadIfsAdonisDocumentWithMetadata.java:123)
> Worked fine with Hibernate 3.0.5.
> Line 709 in BasicEntityPersister:
> snapshot[ lazyPropertyNumbers[j] ] = lazyPropertyTypes[j].deepCopy( propValue, session.getEntityMode(), factory );

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