Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-08-04 02:30:52 -0400
committerEike Stepper2011-08-04 02:30:52 -0400
commitef55a452fbe195b0efc3857f6043ce8c6c66eee7 (patch)
treed96469d72500ee4fd4ef0088066b8199df412b33
parent73585ecb2cd91a1d05a7f8aaad571f0cc1d12aa1 (diff)
downloadcdo-ef55a452fbe195b0efc3857f6043ce8c6c66eee7.tar.gz
cdo-ef55a452fbe195b0efc3857f6043ce8c6c66eee7.tar.xz
cdo-ef55a452fbe195b0efc3857f6043ce8c6c66eee7.zip
[352439] Prefetch revision ends with IllegalArgumentException
https://bugs.eclipse.org/bugs/show_bug.cgi?id=352439
-rw-r--r--plugins/org.eclipse.emf.cdo.server.net4j/src/org/eclipse/emf/cdo/server/internal/net4j/protocol/LoadRevisionsIndication.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.net4j/src/org/eclipse/emf/cdo/server/internal/net4j/protocol/LoadRevisionsIndication.java b/plugins/org.eclipse.emf.cdo.server.net4j/src/org/eclipse/emf/cdo/server/internal/net4j/protocol/LoadRevisionsIndication.java
index 075dc4af68..267e35ea50 100644
--- a/plugins/org.eclipse.emf.cdo.server.net4j/src/org/eclipse/emf/cdo/server/internal/net4j/protocol/LoadRevisionsIndication.java
+++ b/plugins/org.eclipse.emf.cdo.server.net4j/src/org/eclipse/emf/cdo/server/internal/net4j/protocol/LoadRevisionsIndication.java
@@ -319,6 +319,11 @@ public class LoadRevisionsIndication extends CDOServerReadIndication
private void prefetchRevisionChild(int depth, CDOID id, List<CDORevision> additionalRevisions,
Map<CDOID, CDORevision> map)
{
+ if (CDOIDUtil.isNull(id))
+ {
+ return;
+ }
+
CDORevision child = map.get(id);
if (child == null)
{

Back to the top