Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] PartialCollectionLoadingNotSupportedException at rollbacking
[CDO] PartialCollectionLoadingNotSupportedException at rollbacking [message #1004574] Wed, 23 January 2013 13:35 Go to next message
Paco Blanco is currently offline Paco BlancoFriend
Messages: 28
Registered: June 2012
Junior Member
I need do a rollback to certain transaction (I have collection lazy loading enabled). Rollback process throws the next exception:
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:372)
	at org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl$1.analyzeLists(CDORevisionDeltaImpl.java:330)
	at org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.compare(CDORevisionDeltaImpl.java:381)
	at org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.<init>(CDORevisionDeltaImpl.java:111)
	at org.eclipse.emf.cdo.spi.common.revision.BaseCDORevision.compare(BaseCDORevision.java:431)
	at org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.handleRollback(CDOTransactionImpl.java:1492)
	at org.eclipse.emf.internal.cdo.transaction.CDOSingleTransactionStrategyImpl.rollback(CDOSingleTransactionStrategyImpl.java:101)
	at org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.rollback(CDOTransactionImpl.java:1163)


I understand the exception but is it logic that a simple rollback throws this type of exception?

Thank you

[Updated on: Wed, 23 January 2013 13:37]

Report message to a moderator

Re: [CDO] PartialCollectionLoadingNotSupportedException at rollbacking [message #1005361 is a reply to message #1004574] Fri, 25 January 2013 05:05 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 5574
Registered: July 2009
Senior Member
Am 23.01.2013 14:35, schrieb Paco Blanco:
> I need do a rollback to certain transaction (I have collection lazy loading enabled) and rollback process throws the
> next exception:
>
> 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:372)
> at
> org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl$1.analyzeLists(CDORevisionDeltaImpl.java:330)
> at org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.compare(CDORevisionDeltaImpl.java:381)
> at org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.<init>(CDORevisionDeltaImpl.java:111)
> at org.eclipse.emf.cdo.spi.common.revision.BaseCDORevision.compare(BaseCDORevision.java:431)
> at org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.handleRollback(CDOTransactionImpl.java:1492)
> at
> org.eclipse.emf.internal.cdo.transaction.CDOSingleTransactionStrategyImpl.rollback(CDOSingleTransactionStrategyImpl.java:101)
> at org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.rollback(CDOTransactionImpl.java:1163)
>
>
> I understand the exception but is it logic this type of exceptions with a simple rollback?
Sorry for the late reply!

I have the feeling that it may be a bug, similar to https://bugs.eclipse.org/bugs/show_bug.cgi?id=369646 .

Please submit a new bugzilla so that I can look at it.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Previous Topic:EMF IncQuery for Eclipse 3.6
Next Topic:[CDO] NPE at org.eclipse.emf.ecore.util.EcoreUtil.getURI(EcoreUtil.java:2984)
Goto Forum:
  


Current Time: Sat Nov 29 04:02:33 GMT 2014

Powered by FUDForum. Page generated in 0.01715 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software