Community
Participate
Working Groups
Build Identifier: I20110512-2000 1. Define an element collection mapping 2. Go to the Collection Table -> Join Columns 3. Select "Override default" checkbox, click Edit button (don't select the default one before hitting Edit button), change the names of the columns, and then hit OK. A NPE is thrown and the selected values are not written to the source. The full stack trace is attached. Reproducible: Always
Created attachment 196362 [details] Stack Trace
I found that this problem happens when composite primary key is used which makes the default join column shown as Default(null) -> Default(null) so this problem may get fixed with bug 325645; however, I also observed that the Edit and Remove button will get disable after switching focus area and coming back to join column. We may also fix this problem by disable the Edit and Remove button before selecting the default one.
Moving JPA specific bugs to new JPA component in bugzilla.
This is no longer reproducible.