Community
Participate
Working Groups
Build Identifier: 20100917-0705 An NPE is thrown to Error Log view when trying to specifying the value of joinColumns for JoinTable annotation. At that moment, the annotation is like @JoinTable(joinColumns = ). Same issue exists with the inverseJoinColumns element of JoinTable annotation and the joinColumns element of CollectionTable annotation. Reproducible: Always Steps to Reproduce: 1. Apply @JoinTable annotation to an attribute of a Java entity 2. Specify the joinColumns element of JoinTable annotation 3. Trying to specifying the value of the joinColumns element
Created attachment 183416 [details] stack trace_joinColumns_JoinTable
Created attachment 183417 [details] stack trace_inverseJoinColumns_JoinTable
Created attachment 183418 [details] stack trace_joinColumns_CollectionTable
Not able to reproduce this in head, but I can reproduce in maintenance. My guess is this has been fixed in head. Nan, please try to verify with the following build: http://build.eclipse.org/webtools/committers/wtp-R3.3.0-I/20101118132500/I-3.3.0-20101118132500/
I believe Karen fixed this NPE in just the last couple of months. Probably with the check-in of AnnotationContainerTools 1.8 on 10 Sep 2010. There is a similar problem in bug 323005 that was fixed in both maintenance and HEAD in August.
Sounds good. Marking as fixed in M2. Please reopen if reproduced in Head.