[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-678) NPE when using JBoss 4.2 and @OneToOne annotation

Yuval (JIRA) noreply at atlassian.com
Thu Nov 15 03:21:30 EST 2007


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

Yuval commented on ANN-678:
---------------------------

1) As far as I know there is no annotations 3.3.1 only 3.3.0 maybe you meant entity manger.
2) Send me your JBoss 4.2 version since This is what I get when using annotations 3.3.0 on jboss:


java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/hibernate/annotations/common/reflection/ReflectionManager
        at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java :109)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

It is a pity you rejected the bug so fast.

> NPE when using JBoss 4.2 and @OneToOne annotation
> -------------------------------------------------
>
>                 Key: ANN-678
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-678
>             Project: Hibernate Annotations
>          Issue Type: Bug
>          Components: binder
>    Affects Versions: 3.2.1
>         Environment: Annotations 3.2.1.ga , Hibernate 3.2.3.ga, entity-manager 3.2.1.ga. JDK 1.5, JBoss 4.2.0, Ubuntu, MySQL 5, SVN, Maven 2
>            Reporter: Yuval
>            Assignee: Emmanuel Bernard
>
> As former posts of this same problem, when we use bidirectional OneToOne relations
> We get NullPointerException.
> It is quite an odd problem since this problem is not consistent. 
> I built my sources and had this problem consistently, then when I changed the name of the folder I checked out the code to,
> built again and then deployed on JBoss, it worked OK. Meaning the mappedBy text and the rest of the annotation setup is ok.
> I saw this issue is supposed to be resolved in 3.3.1 BUT Jboss 4.2 does not work with 3.3.1 due to backward incompatibility issues.
> So a fix for 3.2.1 is necessary.
> I can past the stack trace but it is exactly the same to former posts on this same issue.

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