Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362064

Summary: NPE changing access type to PROPERTY in orm.xml without property methods
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JPAAssignee: Karen Butzke <karenfbutzke>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jolene.moffitt
Version: 3.1   
Target Milestone: 3.1 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
example project
none
stack trace none

Description Karen Butzke CLA 2011-10-26 09:31:58 EDT
Created attachment 205980 [details]
example project

Import the attached JPA project. Open the eclipselink-orm.xml project and view Entity-Mappings in the JPA Details view. Change the Access type to PROPERTY and you will get an NPE
Comment 1 Karen Butzke CLA 2011-10-26 09:32:30 EDT
Created attachment 205981 [details]
stack trace
Comment 2 Karen Butzke CLA 2011-10-31 10:41:59 EDT
fixed in HEAD
Comment 3 Karen Butzke CLA 2011-10-31 12:24:42 EDT
Can't reproduce this in maintenance
Comment 4 Jolene Moffitt CLA 2011-11-02 10:52:21 EDT
Verified in Build I-3.4.0-2011102024120 

Verified no NPE error appears when you change the Access to property in the eclipselink-orm.xml. See the link to view test steps for verification.
http://wiki.eclipse.org/Dali_3.1_M3