Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362064 - NPE changing access type to PROPERTY in orm.xml without property methods
Summary: NPE changing access type to PROPERTY in orm.xml without property methods
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M3   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-26 09:31 EDT by Karen Butzke CLA
Modified: 2011-11-02 10:52 EDT (History)
1 user (show)

See Also:


Attachments
example project (4.14 KB, application/x-zip-compressed)
2011-10-26 09:31 EDT, Karen Butzke CLA
no flags Details
stack trace (3.27 KB, text/plain)
2011-10-26 09:32 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 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