Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Exception on commit (In a transaction objects are detached, on commit an exception occurs)
[CDO] Exception on commit [message #1001719] Thu, 17 January 2013 04:23 Go to next message
Per Sterner is currently offline Per Sterner
Messages: 69
Registered: October 2011
Member
Hello,

I am using CDO on trunk.
My Server configuration is:
DB: PostgreSQL
Auditing: on
Branches: off
Ranges: on

I add a lot of items in multiple transactions to lists. After that I delete/detach some objects. Then the exception
org.eclipse.emf.cdo.server: getValue() expects exactly one result (getValue() expects exactly one result)
occurs. If i disable "ranges", there is no exception.

(I have not yet implemented a small testcase)

Regards,

Per Sterner

[ERROR] [System] - [ERROR] getValue() expects exactly one result
[ERROR] [System] - org.eclipse.net4j.db.DBException: getValue() expects exactly one result
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.getValue(AuditListTableMappingWithRanges.java:1031)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.access$1(AuditListTableMappingWithRanges.java:1013)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges$ListDeltaVisitor.moveOneUp(AuditListTableMappingWithRanges.java:781)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges$ListDeltaVisitor.finishPendingRemove(AuditListTableMappingWithRanges.java:746)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.processDelta(AuditListTableMappingWithRanges.java:569)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping$FeatureDeltaWriter.visit(HorizontalAuditClassMapping.java:764)
[ERROR] [System] - 	at org.eclipse.emf.cdo.internal.common.revision.delta.CDOListFeatureDeltaImpl.accept(CDOListFeatureDeltaImpl.java:422)
[ERROR] [System] - 	at org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.accept(CDORevisionDeltaImpl.java:309)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping$FeatureDeltaWriter.process(HorizontalAuditClassMapping.java:727)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping.writeRevisionDelta(HorizontalAuditClassMapping.java:640)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisionDelta(DBStoreAccessor.java:551)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisionDeltas(DBStoreAccessor.java:536)
[ERROR] [System] - 	at org.eclipse.emf.cdo.spi.server.StoreAccessor.doWrite(StoreAccessor.java:108)
[ERROR] [System] - 	at org.eclipse.emf.cdo.spi.server.StoreAccessorBase.write(StoreAccessorBase.java:151)
[ERROR] [System] - 	at org.eclipse.emf.cdo.internal.server.TransactionCommitContext.write(TransactionCommitContext.java:531)
[ERROR] [System] - 	at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLoop(InternalCommitContext.java:46)
[ERROR] [System] - 	at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLoop(InternalCommitContext.java:1)
[ERROR] [System] - 	at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(ProgressDistributor.java:96)
[ERROR] [System] - 	at org.eclipse.emf.cdo.internal.server.Repository.commitUnsynced(Repository.java:917)
[ERROR] [System] - 	at org.eclipse.emf.cdo.internal.server.Repository.commit(Repository.java:910)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:295)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:97)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
[ERROR] [System] - 	at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:86)
[ERROR] [System] - 	at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:92)
[ERROR] [System] - 	at org.eclipse.net4j.signal.Signal.doInput(Signal.java:328)
[ERROR] [System] - 	at org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:65)
[ERROR] [System] - 	at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:65)
[ERROR] [System] - 	at org.eclipse.net4j.signal.Signal.runSync(Signal.java:253)
[ERROR] [System] - 	at org.eclipse.net4j.signal.Signal.run(Signal.java:149)
[ERROR] [System] - 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
[ERROR] [System] - 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[ERROR] [System] - 	at java.lang.Thread.run(Unknown Source)
[ERROR] [System] - ERROR: org.eclipse.emf.cdo.server: getValue() expects exactly one result (getValue() expects exactly one result)
[ERROR] [System] - org.eclipse.net4j.db.DBException: getValue() expects exactly one result
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.getValue(AuditListTableMappingWithRanges.java:1031)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.access$1(AuditListTableMappingWithRanges.java:1013)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges$ListDeltaVisitor.moveOneUp(AuditListTableMappingWithRanges.java:781)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges$ListDeltaVisitor.finishPendingRemove(AuditListTableMappingWithRanges.java:746)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.processDelta(AuditListTableMappingWithRanges.java:569)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping$FeatureDeltaWriter.visit(HorizontalAuditClassMapping.java:764)
[ERROR] [System] - 	at org.eclipse.emf.cdo.internal.common.revision.delta.CDOListFeatureDeltaImpl.accept(CDOListFeatureDeltaImpl.java:422)
[ERROR] [System] - 	at org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.accept(CDORevisionDeltaImpl.java:309)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping$FeatureDeltaWriter.process(HorizontalAuditClassMapping.java:727)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping.writeRevisionDelta(HorizontalAuditClassMapping.java:640)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisionDelta(DBStoreAccessor.java:551)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisionDeltas(DBStoreAccessor.java:536)
[ERROR] [System] - 	at org.eclipse.emf.cdo.spi.server.StoreAccessor.doWrite(StoreAccessor.java:108)
[ERROR] [System] - 	at org.eclipse.emf.cdo.spi.server.StoreAccessorBase.write(StoreAccessorBase.java:151)
[ERROR] [System] - 	at org.eclipse.emf.cdo.internal.server.TransactionCommitContext.write(TransactionCommitContext.java:531)
[ERROR] [System] - 	at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLoop(InternalCommitContext.java:46)
[ERROR] [System] - 	at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLoop(InternalCommitContext.java:1)
[ERROR] [System] - 	at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(ProgressDistributor.java:96)
[ERROR] [System] - 	at org.eclipse.emf.cdo.internal.server.Repository.commitUnsynced(Repository.java:917)
[ERROR] [System] - 	at org.eclipse.emf.cdo.internal.server.Repository.commit(Repository.java:910)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:295)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:97)
[ERROR] [System] - 	at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
[ERROR] [System] - 	at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:86)
[ERROR] [System] - 	at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:92)
[ERROR] [System] - 	at org.eclipse.net4j.signal.Signal.doInput(Signal.java:328)
[ERROR] [System] - 	at org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:65)
[ERROR] [System] - 	at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:65)
[ERROR] [System] - 	at org.eclipse.net4j.signal.Signal.runSync(Signal.java:253)
[ERROR] [System] - 	at org.eclipse.net4j.signal.Signal.run(Signal.java:149)
[ERROR] [System] - 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
[ERROR] [System] - 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[ERROR] [System] - 	at java.lang.Thread.run(Unknown Source)
[ERROR] [OM] org.eclipse.emf.cdo.server: getValue() expects exactly one result (getValue() expects exactly one result)
[ERROR] Rollback in MyDBStore: org.eclipse.net4j.db.DBException: getValue() expects exactly one result
	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.getValue(AuditListTableMappingWithRanges.java:1031)
	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.access$1(AuditListTableMappingWithRanges.java:1013)
	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges$ListDeltaVisitor.moveOneUp(AuditListTableMappingWithRanges.java:781)
	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges$ListDeltaVisitor.finishPendingRemove(AuditListTableMappingWithRanges.java:746)
	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.processDelta(AuditListTableMappingWithRanges.java:569)
	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping$FeatureDeltaWriter.visit(HorizontalAuditClassMapping.java:764)
	at org.eclipse.emf.cdo.internal.common.revision.delta.CDOListFeatureDeltaImpl.accept(CDOListFeatureDeltaImpl.java:422)
	at org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.accept(CDORevisionDeltaImpl.java:309)
	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping$FeatureDeltaWriter.process(HorizontalAuditClassMapping.java:727)
	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping.writeRevisionDelta(HorizontalAuditClassMapping.java:640)
	at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisionDelta(DBStoreAccessor.java:551)
	at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisionDeltas(DBStoreAccessor.java:536)
	at org.eclipse.emf.cdo.spi.server.StoreAccessor.doWrite(StoreAccessor.java:108)
	at org.eclipse.emf.cdo.spi.server.StoreAccessorBase.write(StoreAccessorBase.java:151)
	at org.eclipse.emf.cdo.internal.server.TransactionCommitContext.write(TransactionCommitContext.java:531)
	at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLoop(InternalCommitContext.java:46)
	at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLoop(InternalCommitContext.java:1)
	at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(ProgressDistributor.java:96)
	at org.eclipse.emf.cdo.internal.server.Repository.commitUnsynced(Repository.java:917)
	at org.eclipse.emf.cdo.internal.server.Repository.commit(Repository.java:910)
	at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:295)
	at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:97)
	at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
	at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:86)
	at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:92)
	at org.eclipse.net4j.signal.Signal.doInput(Signal.java:328)
	at org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:65)
	at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:65)
	at org.eclipse.net4j.signal.Signal.runSync(Signal.java:253)
	at org.eclipse.net4j.signal.Signal.run(Signal.java:149)
	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)

org.eclipse.emf.cdo.util.CommitException: Rollback in MyDBStore: org.eclipse.net4j.db.DBException: getValue() expects exactly one result
	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.getValue(AuditListTableMappingWithRanges.java:1031)
	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.access$1(AuditListTableMappingWithRanges.java:1013)
	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges$ListDeltaVisitor.moveOneUp(AuditListTableMappingWithRanges.java:781)
	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges$ListDeltaVisitor.finishPendingRemove(AuditListTableMappingWithRanges.java:746)
	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.processDelta(AuditListTableMappingWithRanges.java:569)
	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping$FeatureDeltaWriter.visit(HorizontalAuditClassMapping.java:764)
	at org.eclipse.emf.cdo.internal.common.revision.delta.CDOListFeatureDeltaImpl.accept(CDOListFeatureDeltaImpl.java:422)
	at org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.accept(CDORevisionDeltaImpl.java:309)
	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping$FeatureDeltaWriter.process(HorizontalAuditClassMapping.java:727)
	at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping.writeRevisionDelta(HorizontalAuditClassMapping.java:640)
	at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisionDelta(DBStoreAccessor.java:551)
	at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisionDeltas(DBStoreAccessor.java:536)
	at org.eclipse.emf.cdo.spi.server.StoreAccessor.doWrite(StoreAccessor.java:108)
	at org.eclipse.emf.cdo.spi.server.StoreAccessorBase.write(StoreAccessorBase.java:151)
	at org.eclipse.emf.cdo.internal.server.TransactionCommitContext.write(TransactionCommitContext.java:531)
	at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLoop(InternalCommitContext.java:46)
	at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLoop(InternalCommitContext.java:1)
	at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(ProgressDistributor.java:96)
	at org.eclipse.emf.cdo.internal.server.Repository.commitUnsynced(Repository.java:917)
	at org.eclipse.emf.cdo.internal.server.Repository.commit(Repository.java:910)
	at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:295)
	at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:97)
	at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
	at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:86)
	at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:92)
	at org.eclipse.net4j.signal.Signal.doInput(Signal.java:328)
	at org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:65)
	at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:65)
	at org.eclipse.net4j.signal.Signal.runSync(Signal.java:253)
	at org.eclipse.net4j.signal.Signal.run(Signal.java:149)
	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)

	at org.eclipse.emf.internal.cdo.transaction.CDOSingleTransactionStrategyImpl.commit(CDOSingleTransactionStrategyImpl.java:84)
	at org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.commit(CDOTransactionImpl.java:1181)
	at org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.commit(CDOTransactionImpl.java:1205)

[Updated on: Thu, 17 January 2013 04:54]

Report message to a moderator

Re: Exception on commit [message #1001728 is a reply to message #1001719] Thu, 17 January 2013 04:37 Go to previous messageGo to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5499
Registered: July 2009
Senior Member
Am 17.01.2013 10:23, schrieb Per Sterner:
> Hello,
>
> I am using CDO on trunk.
Only accidentally I found that this is a CDO question ;-)

> My Server configuration is:
> DB: PostgreSQL
> Auditing: on
> Branches: off
> Ranges: on
>
> I add a lot of items in multiple transactions to lists. After that I delete/detach some objects. Then the exception
> org.eclipse.emf.cdo.server: getValue() expects exactly one result (getValue() expects exactly one result) occurs. If i
> disable "ranges", there is no exception.
This reminds me to https://bugs.eclipse.org/bugs/show_bug.cgi?id=390283 , which has been fixed in 4.2. Have you tried
with a newer version/build?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


>
> (I have not yet implemented a small testcase)
>
> Regards,
>
> Per Sterner
>
>
> [ERROR] [System] - [ERROR] getValue() expects exactly one result
> [ERROR] [System] - org.eclipse.net4j.db.DBException: getValue() expects exactly one result
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.getValue(AuditListTableMappingWithRanges.java:1031)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.access$1(AuditListTableMappingWithRanges.java:1013)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges$ListDeltaVisitor.moveOneUp(AuditListTableMappingWithRanges.java:781)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges$ListDeltaVisitor.finishPendingRemove(AuditListTableMappingWithRanges.java:746)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.processDelta(AuditListTableMappingWithRanges.java:569)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping$FeatureDeltaWriter.visit(HorizontalAuditClassMapping.java:764)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.internal.common.revision.delta.CDOListFeatureDeltaImpl.accept(CDOListFeatureDeltaImpl.java:422)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.accept(CDORevisionDeltaImpl.java:309)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping$FeatureDeltaWriter.process(HorizontalAuditClassMapping.java:727)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping.writeRevisionDelta(HorizontalAuditClassMapping.java:640)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisionDelta(DBStoreAccessor.java:551)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisionDeltas(DBStoreAccessor.java:536)
> [ERROR] [System] - at org.eclipse.emf.cdo.spi.server.StoreAccessor.doWrite(StoreAccessor.java:108)
> [ERROR] [System] - at org.eclipse.emf.cdo.spi.server.StoreAccessorBase.write(StoreAccessorBase.java:151)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.internal.server.TransactionCommitContext.write(TransactionCommitContext.java:531)
> [ERROR] [System] - at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLoop(InternalCommitContext.java:46)
> [ERROR] [System] - at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLoop(InternalCommitContext.java:1)
> [ERROR] [System] - at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(ProgressDistributor.java:96)
> [ERROR] [System] - at org.eclipse.emf.cdo.internal.server.Repository.commitUnsynced(Repository.java:917)
> [ERROR] [System] - at org.eclipse.emf.cdo.internal.server.Repository.commit(Repository.java:910)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:295)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:97)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
> [ERROR] [System] - at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:86)
> [ERROR] [System] - at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:92)
> [ERROR] [System] - at org.eclipse.net4j.signal.Signal.doInput(Signal.java:328)
> [ERROR] [System] - at org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:65)
> [ERROR] [System] - at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:65)
> [ERROR] [System] - at org.eclipse.net4j.signal.Signal.runSync(Signal.java:253)
> [ERROR] [System] - at org.eclipse.net4j.signal.Signal.run(Signal.java:149)
> [ERROR] [System] - at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
> [ERROR] [System] - at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> [ERROR] [System] - at java.lang.Thread.run(Unknown Source)
> [ERROR] [System] - ERROR: org.eclipse.emf.cdo.server: getValue() expects exactly one result (getValue() expects
> exactly one result)
> [ERROR] [System] - org.eclipse.net4j.db.DBException: getValue() expects exactly one result
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.getValue(AuditListTableMappingWithRanges.java:1031)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.access$1(AuditListTableMappingWithRanges.java:1013)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges$ListDeltaVisitor.moveOneUp(AuditListTableMappingWithRanges.java:781)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges$ListDeltaVisitor.finishPendingRemove(AuditListTableMappingWithRanges.java:746)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.processDelta(AuditListTableMappingWithRanges.java:569)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping$FeatureDeltaWriter.visit(HorizontalAuditClassMapping.java:764)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.internal.common.revision.delta.CDOListFeatureDeltaImpl.accept(CDOListFeatureDeltaImpl.java:422)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.accept(CDORevisionDeltaImpl.java:309)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping$FeatureDeltaWriter.process(HorizontalAuditClassMapping.java:727)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping.writeRevisionDelta(HorizontalAuditClassMapping.java:640)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisionDelta(DBStoreAccessor.java:551)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisionDeltas(DBStoreAccessor.java:536)
> [ERROR] [System] - at org.eclipse.emf.cdo.spi.server.StoreAccessor.doWrite(StoreAccessor.java:108)
> [ERROR] [System] - at org.eclipse.emf.cdo.spi.server.StoreAccessorBase.write(StoreAccessorBase.java:151)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.internal.server.TransactionCommitContext.write(TransactionCommitContext.java:531)
> [ERROR] [System] - at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLoop(InternalCommitContext.java:46)
> [ERROR] [System] - at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLoop(InternalCommitContext.java:1)
> [ERROR] [System] - at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(ProgressDistributor.java:96)
> [ERROR] [System] - at org.eclipse.emf.cdo.internal.server.Repository.commitUnsynced(Repository.java:917)
> [ERROR] [System] - at org.eclipse.emf.cdo.internal.server.Repository.commit(Repository.java:910)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:295)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:97)
> [ERROR] [System] - at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
> [ERROR] [System] - at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:86)
> [ERROR] [System] - at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:92)
> [ERROR] [System] - at org.eclipse.net4j.signal.Signal.doInput(Signal.java:328)
> [ERROR] [System] - at org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:65)
> [ERROR] [System] - at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:65)
> [ERROR] [System] - at org.eclipse.net4j.signal.Signal.runSync(Signal.java:253)
> [ERROR] [System] - at org.eclipse.net4j.signal.Signal.run(Signal.java:149)
> [ERROR] [System] - at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
> [ERROR] [System] - at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> [ERROR] [System] - at java.lang.Thread.run(Unknown Source)
> [ERROR] [OM] org.eclipse.emf.cdo.server: getValue() expects exactly one result (getValue() expects exactly one result)
> [ERROR] Rollback in MyDBStore: org.eclipse.net4j.db.DBException: getValue() expects exactly one result
> at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.getValue(AuditListTableMappingWithRanges.java:1031)
> at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.access$1(AuditListTableMappingWithRanges.java:1013)
> at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges$ListDeltaVisitor.moveOneUp(AuditListTableMappingWithRanges.java:781)
> at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges$ListDeltaVisitor.finishPendingRemove(AuditListTableMappingWithRanges.java:746)
> at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.processDelta(AuditListTableMappingWithRanges.java:569)
> at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping$FeatureDeltaWriter.visit(HorizontalAuditClassMapping.java:764)
> at org.eclipse.emf.cdo.internal.common.revision.delta.CDOListFeatureDeltaImpl.accept(CDOListFeatureDeltaImpl.java:422)
> at org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.accept(CDORevisionDeltaImpl.java:309)
> at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping$FeatureDeltaWriter.process(HorizontalAuditClassMapping.java:727)
> at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping.writeRevisionDelta(HorizontalAuditClassMapping.java:640)
> at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisionDelta(DBStoreAccessor.java:551)
> at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisionDeltas(DBStoreAccessor.java:536)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.doWrite(StoreAccessor.java:108)
> at org.eclipse.emf.cdo.spi.server.StoreAccessorBase.write(StoreAccessorBase.java:151)
> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext.write(TransactionCommitContext.java:531)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLoop(InternalCommitContext.java:46)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLoop(InternalCommitContext.java:1)
> at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(ProgressDistributor.java:96)
> at org.eclipse.emf.cdo.internal.server.Repository.commitUnsynced(Repository.java:917)
> at org.eclipse.emf.cdo.internal.server.Repository.commit(Repository.java:910)
> at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:295)
> at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:97)
> at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:86)
> at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:92)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:328)
> at org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:65)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:65)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:253)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:149)
> 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)
>
> org.eclipse.emf.cdo.util.CommitException: Rollback in MyDBStore: org.eclipse.net4j.db.DBException: getValue() expects
> exactly one result
> at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.getValue(AuditListTableMappingWithRanges.java:1031)
> at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.access$1(AuditListTableMappingWithRanges.java:1013)
> at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges$ListDeltaVisitor.moveOneUp(AuditListTableMappingWithRanges.java:781)
> at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges$ListDeltaVisitor.finishPendingRemove(AuditListTableMappingWithRanges.java:746)
> at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AuditListTableMappingWithRanges.processDelta(AuditListTableMappingWithRanges.java:569)
> at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping$FeatureDeltaWriter.visit(HorizontalAuditClassMapping.java:764)
> at org.eclipse.emf.cdo.internal.common.revision.delta.CDOListFeatureDeltaImpl.accept(CDOListFeatureDeltaImpl.java:422)
> at org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.accept(CDORevisionDeltaImpl.java:309)
> at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping$FeatureDeltaWriter.process(HorizontalAuditClassMapping.java:727)
> at
> org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalAuditClassMapping.writeRevisionDelta(HorizontalAuditClassMapping.java:640)
> at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisionDelta(DBStoreAccessor.java:551)
> at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisionDeltas(DBStoreAccessor.java:536)
> at org.eclipse.emf.cdo.spi.server.StoreAccessor.doWrite(StoreAccessor.java:108)
> at org.eclipse.emf.cdo.spi.server.StoreAccessorBase.write(StoreAccessorBase.java:151)
> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext.write(TransactionCommitContext.java:531)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLoop(InternalCommitContext.java:46)
> at org.eclipse.emf.cdo.spi.server.InternalCommitContext$1.runLoop(InternalCommitContext.java:1)
> at org.eclipse.net4j.util.om.monitor.ProgressDistributor.run(ProgressDistributor.java:96)
> at org.eclipse.emf.cdo.internal.server.Repository.commitUnsynced(Repository.java:917)
> at org.eclipse.emf.cdo.internal.server.Repository.commit(Repository.java:910)
> at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:295)
> at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:97)
> at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:86)
> at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:92)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:328)
> at org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:65)
> at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:65)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:253)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:149)
> 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)
>
> at
> org.eclipse.emf.internal.cdo.transaction.CDOSingleTransactionStrategyImpl.commit(CDOSingleTransactionStrategyImpl.java:84)
> at org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.commit(CDOTransactionImpl.java:1181)
> at org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.commit(CDOTransactionImpl.java:1205)
>
Re: Exception on commit [message #1001735 is a reply to message #1001728] Thu, 17 January 2013 04:53 Go to previous messageGo to next message
Per Sterner is currently offline Per Sterner
Messages: 69
Registered: October 2011
Member
Yes, actually I am not using the newest version. It is the trunk from the ~8.1.2013 Smile (I updated my CDO version)

Thanks again for the fast reply and sorry for the missing "[CDO]"
Re: Exception on commit [message #1001833 is a reply to message #1001735] Thu, 17 January 2013 07:45 Go to previous message
Per Sterner is currently offline Per Sterner
Messages: 69
Registered: October 2011
Member
With the newest version the exception doesn't occur. Thanks
Previous Topic:[CDO] Raw writes in DB (MySQL)
Next Topic:[CDO] Can client listen for new objects added to server?
Goto Forum:
  


Current Time: Wed Aug 20 07:01:00 EDT 2014

Powered by FUDForum. Page generated in 0.01730 seconds