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

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu May 17 21:12:04 EDT 2007


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

Emmanuel Bernard commented on ANN-613:
--------------------------------------


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-613
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-613
>             Project: Hibernate Annotations
>          Issue Type: Bug
>          Components: binder
>    Affects Versions: 3.3.0.ga
>         Environment: Version assumed, the user did not said it explicitly
>            Reporter: Emmanuel Bernard
>


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