Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330067

Summary: CDO Repository view expanding repository connection results in exception
Product: [Modeling] EMF Reporter: Ronald Krijgsheld <rkrijgsheld>
Component: cdo.uiAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: normal    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Ronald Krijgsheld CLA 2010-11-12 05:30:39 EST
Build Identifier:  20100917-0705

I created an CDO server config that has branching disabled. Then I tried connecting using the CDO repositories view. The connection is established. When I expand the repository node in the view, I got the following exception: 

java.lang.UnsupportedOperationException: Mapping strategy does not support branching
	at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.checkBranchingSupport(DBStoreAccessor.java:834)
	at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.loadSubBranches(DBStoreAccessor.java:798)
	at org.eclipse.emf.cdo.internal.server.Repository.loadSubBranches(Repository.java:346)
	at org.eclipse.emf.cdo.internal.common.branch.CDOBranchImpl.getBranches(CDOBranchImpl.java:176)
	at org.eclipse.emf.cdo.server.internal.net4j.protocol.LoadSubBranchesIndication.responding(LoadSubBranchesIndication.java:45)
	at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndication.responding(CDOServerIndication.java:133)
	at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedOutput(IndicationWithResponse.java:96)
	at org.eclipse.net4j.signal.Signal.doOutput(Signal.java:286)
	at org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:65)
	at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOReadIndication.execute(CDOReadIndication.java:36)
	at org.eclipse.net4j.signal.Signal.runSync(Signal.java:241)
	at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Reproducible: Always

Steps to Reproduce:
1. start CDO server with no branching.
2. connect using CDO Repositories view.
3. expand repository node in view.
Comment 1 Eike Stepper CLA 2010-11-13 11:49:24 EST
Committed to HEAD
Comment 2 Eike Stepper CLA 2011-06-23 03:38:53 EDT
Available in R20110608-1407