Bug 396514 - PartialCollectionLoadingNotSupportedException when auditing and comparing cdorevisions
Summary: PartialCollectionLoadingNotSupportedException when auditing and comparing cdo...
Status: NEW
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.13   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 10:56 EST by Martin Taal CLA
Modified: 2020-12-11 10:37 EST (History)
1 user (show)

See Also:


Attachments
Test case (17.25 KB, text/x-java)
2012-12-13 10:56 EST, Martin Taal CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Taal CLA 2012-12-13 10:56:29 EST
Created attachment 224671 [details]
Test case

When running the attached testcase I get the exception below. It seems that for many-valued features always a elementproxy list is used, eventhough the server side reads/sends the complete list.


org.eclipse.emf.cdo.tests.config.impl.ConfigTestException: Error in CDOObjectHistoryTest.testChangedAudit [Combined, H2-auditing, JVM, Native]
	at org.eclipse.emf.cdo.tests.config.impl.ConfigTest.runBare(ConfigTest.java:603)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at org.eclipse.net4j.util.tests.AbstractOMTest.run(AbstractOMTest.java:307)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at org.eclipse.emf.cdo.tests.config.impl.ConfigTestSuite$TestWrapper.runTest(ConfigTestSuite.java:183)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at org.eclipse.emf.cdo.tests.config.impl.ConfigTestSuite$MainSuite.run(ConfigTestSuite.java:143)
	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: org.eclipse.emf.cdo.common.util.PartialCollectionLoadingNotSupportedException: List contains proxy elements
	at org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl$1.checkNoProxies(CDORevisionDeltaImpl.java:387)
	at org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl$1.analyzeLists(CDORevisionDeltaImpl.java:337)
	at org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.compare(CDORevisionDeltaImpl.java:397)
	at org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.<init>(CDORevisionDeltaImpl.java:112)
	at org.eclipse.emf.cdo.spi.common.revision.BaseCDORevision.compare(BaseCDORevision.java:433)
	at org.eclipse.emf.cdo.spi.common.revision.BaseCDORevision.compare(BaseCDORevision.java:1)
	at org.eclipse.emf.cdo.tests.CDOObjectHistoryTest.testChangedAudit(CDOObjectHistoryTest.java:167)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at org.eclipse.net4j.util.tests.AbstractOMTest.access$1(AbstractOMTest.java:1)
	at org.eclipse.net4j.util.tests.AbstractOMTest$2.execute(AbstractOMTest.java:259)
	at org.eclipse.net4j.internal.util.test.TestExecuter.execute(TestExecuter.java:40)
	at org.eclipse.net4j.util.tests.AbstractOMTest.runBare(AbstractOMTest.java:246)
	at org.eclipse.emf.cdo.tests.config.impl.ConfigTest.runBare(ConfigTest.java:594)
	... 19 more
Comment 1 Eike Stepper CLA 2013-06-29 12:18:36 EDT
We'll try to address open problems in 4.3 (master) first and then port fixes back to 4.2.
Comment 2 Eike Stepper CLA 2015-07-14 02:13:28 EDT
Moving all open bugzillas to 4.5.
Comment 3 Eike Stepper CLA 2016-07-31 00:56:23 EDT
Moving all unaddressed bugzillas to 4.6.
Comment 4 Eike Stepper CLA 2017-12-28 01:14:28 EST
Moving all open bugs to 4.7
Comment 5 Eike Stepper CLA 2019-11-08 02:17:50 EST
Moving all unresolved issues to version 4.8-
Comment 6 Eike Stepper CLA 2019-12-13 12:53:42 EST
Moving all unresolved issues to version 4.9
Comment 7 Eike Stepper CLA 2020-12-11 10:37:20 EST
Moving to 4.13.