Bug 525514 - Avoid NPE when prefetching lock states of unknown revision
Summary: Avoid NPE when prefetching lock states of unknown revision
Status: NEW
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.13   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-03 11:12 EDT by Steve Monnier CLA
Modified: 2020-12-11 10:47 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Monnier CLA 2017-10-03 11:12:39 EDT
When dealing with a broken database when an element in the database reference an unknown CDOID, the prefetch of its lock state raises an NPE because the revision is null.
I will add a little fix. Unfortunately, I do not have a JUnit to reproduce the issue as I currently only reproduce it by modifying the databse to have an element reference an unknown CDOID.
Comment 1 Eclipse Genie CLA 2017-10-03 11:14:17 EDT
New Gerrit change created: https://git.eclipse.org/r/106144
Comment 2 Eike Stepper CLA 2017-12-28 01:09:50 EST
Moving all open bugs to 4.7
Comment 3 Eike Stepper CLA 2019-11-08 02:16:08 EST
Moving all unresolved issues to version 4.8-
Comment 4 Eike Stepper CLA 2019-12-13 12:46:07 EST
Moving all unresolved issues to version 4.9
Comment 5 Eike Stepper CLA 2020-12-11 10:47:10 EST
Moving to 4.13.