Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368539 - LoadRevisionsRequest with CDOFetchRuleManager enabled leads sometimes to NPE
Summary: LoadRevisionsRequest with CDOFetchRuleManager enabled leads sometimes to NPE
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-13 07:35 EST by Eike Stepper CLA
Modified: 2012-09-21 07:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Stepper CLA 2012-01-13 07:35:48 EST
Cloned from: 368223: LoadRevisionsRequest with CDOFetchRuleManager enabled leads sometimes to NPE
https://bugs.eclipse.org/bugs/show_bug.cgi?id=368223

Build Identifier: 

Below is the NPE. 

It looks like one of the revisions requested is not available anymore and that is not handled correctly.
We currently disabled the fetchrule manager. However, we find that this has a negative performance impact.


java.lang.NullPointerException
    at
org.eclipse.emf.cdo.internal.server.Session.collectContainedRevisions(Session.java:307)
    at
org.eclipse.emf.cdo.server.internal.net4j.protocol.LoadRevisionsIndication.collectRevisions(LoadRevisionsIndication.java:211)
    at
org.eclipse.emf.cdo.server.internal.net4j.protocol.LoadRevisionsIndication.responding(LoadRevisionsIndication.java:173)
    at
org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndication.responding(CDOServerIndication.java:133)
    at
org.eclipse.net4j.signal.IndicationWithResponse.doExtendedOutput(IndicationWithResponse.java:82)
    at org.eclipse.net4j.signal.Signal.doOutput(Signal.java:247)
    at
org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:58)
    at
org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOReadIndication.execute(CDOReadIndication.java:36)
    at org.eclipse.net4j.signal.Signal.runSync(Signal.java:213)
    at org.eclipse.net4j.signal.Signal.run(Signal.java:132)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

Reproducible: Sometimes
Comment 1 Eike Stepper CLA 2012-01-13 08:25:25 EST
commit 1132b3d83618b1bffbe86c4cedeb33756ecf140c
Comment 2 Eike Stepper CLA 2012-09-21 07:17:52 EDT
Closing.