Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316030 - NPE in MapsId derived identity strategy when there is no id
Summary: NPE in MapsId derived identity strategy when there is no id
Status: RESOLVED WORKSFORME
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: 2.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 RC1   Edit
Assignee: Paul Fullbright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-07 13:06 EDT by Karen Butzke CLA
Modified: 2011-05-10 16:36 EDT (History)
1 user (show)

See Also:


Attachments
NPE stack trace (3.88 KB, text/plain)
2010-06-07 13:06 EDT, Karen Butzke CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karen Butzke CLA 2010-06-07 13:06:58 EDT
Created attachment 171304 [details]
NPE stack trace

Validation of the following entity results in the attached NPE and no validation errors for this entity:

@Entity
public class Address {
	private int addressId;
	
	@OneToOne
	@MapsId
	@JoinColumn(name="ADDRESS_ID")
	private Address contact;
}
Comment 1 Neil Hauge CLA 2011-05-10 16:36:13 EDT
I can no longer reproduce this exception.  Everything seems to be working wrt this area.