]
Diego Pires Plentz reassigned ANN-678:
--------------------------------------
Assignee: Emmanuel Bernard
I think that you must wait for a new release of Jboss. Emmanuel?
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: