[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-199) NPE when mappedBy property is wrong on a @OneToOne

Stephen Todd (JIRA) noreply at atlassian.com
Fri May 11 13:21:04 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_26918 ] 

Stephen Todd commented on ANN-199:
----------------------------------

This bug still appears in version 3.2.4.ga. The stack trace is below:


java.lang.NullPointerException
	at org.hibernate.cfg.OneToOneSecondPass.doSecondPass(OneToOneSecondPass.java:135)
	at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1130)
	at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:316)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1286)
	at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915)
...

> NPE when mappedBy property is wrong on a @OneToOne
> --------------------------------------------------
>
>                 Key: ANN-199
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-199
>             Project: Hibernate Annotations
>          Issue Type: Bug
>          Components: binder
>    Affects Versions: 3.1beta7
>            Reporter: Emmanuel Bernard
>            Assignee: Emmanuel Bernard
>            Priority: Minor
>             Fix For: 3.1beta8
>
>


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