Community
Participate
Working Groups
Build Identifier: M20110210-1200 1. Select an Id mapping and go to Primary Key Generation section in the JPA Details view 2. Define a generator and select it from the dropdown list of the "Generator name" combo 3. Try to switch the focus area The attached NPE as below appears in the error log: java.lang.NullPointerException at org.eclipse.jpt.ui.internal.details.GeneratedValueComposite$3.setValue_(GeneratedValueComposite.java:158) at org.eclipse.jpt.ui.internal.details.GeneratedValueComposite$3.setValue(GeneratedValueComposite.java:147) at org.eclipse.jpt.ui.internal.details.GeneratedValueComposite$3.setValue(GeneratedValueComposite.java:1) The same NPE will also be thrown if first setting a value to "Generator name" and then trying to delete it from the UI. The value set to the source will not be removed. Reproducible: Always
Created attachment 198219 [details] Stack Trace
Moving JPA specific bugs to new JPA component in bugzilla.
I can't seem to reproduce this, what are you doing when you say to "switch the focus area"?
(In reply to comment #3) > I can't seem to reproduce this, what are you doing when you say to "switch the > focus area"? By "switch the focus area" I mean clicking any other place to change the content shown on the JPA Details view, e.g. the focus area is current on the id mapping, then try to click the class name to focus on the entity. I tried to reproduce it with 3.1 build, but couldn't reproduce it. Maybe it's working fine now.