|
|
|
Re: Exception during CDO commit [message #1421542 is a reply to message #1420037] |
Thu, 11 September 2014 10:03   |
Eclipse User |
|
|
|
Hi,
Thanks for eliminating that as a cause, it will save us time.
I am also getting this when opening a 900MB CDO H2 repo using the CDO Explorer view that comes with the CDO plugin install, as a Audit View and trying to export the View to a Resource. This is a massive amount of work we will lose if we cannot export this snapshot.
org.eclipse.emf.cdo.util.InvalidURIException: Invalid URI "cdo://1ff5d226-b1f0-40fb-aba2-0c31b38c764f": java.lang.IllegalStateException: Different object was registered for OID1
I set a breakpoint for both exceptions mentioned, caught and uncaught, in my CDOServer and it never gets hit despite the message telling me that is the cause of the problem? Confused.
Can you explain what to look for in the database tables that will allow me to reset the object for OID1 to the correct object?
Also while you are at it, one of our other unsolved CDO exceptions is the ClassCastException, Since you have responded to this thread I will try to engage you here
Daemon Thread [net4j-Thread-1] (Suspended (exception ClassCastException))
CDOIDObjectLongImpl.doCompareTo(CDOID) line: 112
CDOIDObjectLongImpl(AbstractCDOID).compareTo(CDOID) line: 96
CDOIDObjectLongImpl(AbstractCDOID).compareTo(Object) line: 1
LongIDHandler.compare(CDOID, CDOID) line: 85
LongIDHandler.compare(Object, Object) line: 1
DBStoreAccessor.applyIDMappings(InternalCommitContext, OMMonitor) line: 493
DBStoreAccessor(StoreAccessor).doWrite(InternalCommitContext, OMMonitor) line: 89
DBStoreAccessor(StoreAccessorBase).write(InternalCommitContext, OMMonitor) line: 150
TransactionCommitContext.write(OMMonitor) line: 612
InternalCommitContext$1.runLoop(int, InternalCommitContext, OMMonitor) line: 46
InternalCommitContext$1.runLoop(int, Object, OMMonitor) line: 1
Store$1(ProgressDistributor).run(ProgressDistributable<CONTEXT>[], CONTEXT, OMMonitor) line: 96
Repository$Default(Repository).commitUnsynced(InternalCommitContext, OMMonitor) line: 993
Repository$Default(Repository).commit(InternalCommitContext, OMMonitor) line: 986
CommitTransactionIndication.indicatingCommit(OMMonitor) line: 315
CommitTransactionIndication.indicating(CDODataInput, OMMonitor) line: 100
CommitTransactionIndication(CDOServerIndicationWithMonitoring).indicating(ExtendedDataInputStream, OMMonitor) line: 110
CommitTransactionIndication(IndicationWithMonitoring).indicating(ExtendedDataInputStream) line: 87
CommitTransactionIndication(IndicationWithResponse).doExtendedInput(ExtendedDataInputStream) line: 92
CommitTransactionIndication(Signal).doInput(BufferInputStream) line: 328
CommitTransactionIndication(IndicationWithResponse).execute(BufferInputStream, BufferOutputStream) line: 65
CommitTransactionIndication(IndicationWithMonitoring).execute(BufferInputStream, BufferOutputStream) line: 66
CommitTransactionIndication(Signal).runSync() line: 253
CommitTransactionIndication(Signal).run() line: 149
ThreadPoolExecutor.runWorker(ThreadPoolExecutor$Worker) line: 1145
ThreadPoolExecutor$Worker.run() line: 615
Thread.run() line: 724
The maxId here DBStoreAccessor.applyIDMappings is a CDONullIDImpl and thus the comparison fails. This look like a bug in CDO to me, will dig further before I raise a bugzilla
|
|
|
|
|
Re: Exception during CDO commit [message #1421590 is a reply to message #1421582] |
Thu, 11 September 2014 11:28  |
Eclipse User |
|
|
|
Am 11.09.2014 um 17:12 schrieb David Wynter:
> Just noticed that the oid3 on the Record is lowercase "oid" when all the others are uppercase, wonder if that is
> significant. Feel free to jump in here any CDO experts.
The lowercase "oid" indicates that the object is NEW (uncommitted) and still has a temporary (local) CDOID. As part of
the subsequent commit process it should be replaced with a permanent CDOID as assigned by the server. All mappings from
temp IDs to permanent IDs are returned in the commit response and applied to all local objects.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.04719 seconds