Community
Participate
Working Groups
Build Identifier: I20100513-1500 If CDOObject contains reference list and revision is not held in cache, then loaded revision contains NULL value in reference null, if revision was loaded with *referenceChunk=0* rule. This leads to NPE. Reproducible: Always
Created attachment 171410 [details] Short test illustrating problem Iterating over object contents produces NPE
I'm experiencing the same problem, but even with refereceChunk!=0. This bug is being driving me crazy :(
Created attachment 171413 [details] Added checking for NULL result in ResultSet
Yes, because it depends on the result, which was stored in a cache. If in cache there is wrong revision, then you get wrong result on any loading policy. It was driving me crazy for a couple of days too, but seems to be finished ;)
Thanks Egidijus! This fix is so much welcome :D
1) The number of lines I have changed is smaller than 250. 2) I am an author of these changed lines. 3) I apply the EPL to these changed lines.
THanks guys! Committed to HEAD
Available in 3.0 GA: http://download.eclipse.org/modeling/emf/cdo/updates/3.0-releases/