Community
Participate
Working Groups
Build Identifier: 2.3.1.v20111018-r10243 AND 2.3.2 I have an entity which uses several convert methods etc. this all works fine within EclipseLink/OSGi in an Eclipse RCP environment when usign EclipseLink 2.3.0! If I update to 2.3.1 or 2.3.2 however the SELECT statement does not seem to return anything, which leads to the NPE. I already debugged and saw that the content of row in public ContactType buildAttributeValue(Record row, Object object, Session session){ is empty for all columns! (Although there certainly is content in the database!) --> [EL Info]: 2012-01-13 09:38:04.985--ServerSession(1373539035)--elexis login successful [EL Fine]: 2012-01-13 09:38:05.044--ServerSession(1373539035)--Connection(292624752)--SELECT ID, ALLERGIEN, ... FROM KONTAKT [EL Warning]: 2012-01-13 09:38:05.065--UnitOfWork(1363346070)--java.lang.NullPointerException Reproducible: Always Steps to Reproduce: 1. Use enclosed class in a EclipseLink 2.3.0 environment ... be happy! 2. Update to EclipseLink 2.3.1 or 2.3.2 3. NPE, resp. no values returned from the select!
Created attachment 209436 [details] Entity where the described problem occurs
Setting target and priority. See the following page for the meanings of these fields: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines Community: Please vote for this bug if it is important to you. Votes are one of the main criteria we use to determine which bugs to fix next.
Could you please provide a complete simple test case that reproduces the problem. The attached entity uses lots of classes and has lots of attributes. Would it be possible to trim it down to the simplest configuration which still could be used to reproduce the problem. Also please include all the referenced classes. A script to create and populate the db would be helpful, too. Finally, the test itself; what exactly should be done to reproduce the problem.
Need more information. Retargeting for 2.4 and closing. Please reopen if more information is available.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink