Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [CDO 0.8M5] Persisting Enums troubles
[CDO 0.8M5] Persisting Enums troubles [message #615595] Mon, 03 March 2008 12:13
Matthias Treitler is currently offline Matthias TreitlerFriend
Messages: 117
Registered: July 2009
Senior Member
Hello!

I have troubles persisting a eobject that has a attribute of a "ItemType"
which is in fact an enumeration (EENnum).

When trying to commit, i get the following error on the client:
STACK 0
java.lang.ClassCastException: at.quorum.octopus.model.topology.ItemType
cannot be cast to java.lang.String
at
org.eclipse.emf.cdo.internal.protocol.model.CDOTypeImpl$19.w riteValue(CDOTypeImpl.java:336)
at
org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.writeValues(CDORevisionImpl.java:711)
at
org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionIm pl.write(CDORevisionImpl.java:155)
at
org.eclipse.emf.internal.cdo.protocol.CommitTransactionReque st.writeRevisions(CommitTransactionRequest.java:188)
at
org.eclipse.emf.internal.cdo.protocol.CommitTransactionReque st.writeNewObjects(CommitTransactionRequest.java:151)
at
org.eclipse.emf.internal.cdo.protocol.CommitTransactionReque st.requesting(CommitTransactionRequest.java:69)
at
org.eclipse.net4j.signal.RequestWithConfirmation.execute(Req uestWithConfirmation.java:48)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:143)
at
org.eclipse.net4j.signal.SignalProtocol.startSignal(SignalPr otocol.java:237)
at org.eclipse.net4j.signal.SignalActor.send(SignalActor.java:5 0)
at
org.eclipse.net4j.signal.failover.NOOPFailOverStrategy.send( NOOPFailOverStrategy.java:34)
at
org.eclipse.emf.internal.cdo.CDOTransactionImpl.commit(CDOTr ansactionImpl.java:218)


and on the server:
Exception in thread "Thread-6" java.lang.OutOfMemoryError: Java heap space
at
org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.indicating(CommitTransactionIndication.java:72)
at
org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:46)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:143)
at org.eclipse.net4j.signal.Signal.run(Signal.java:124)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)


Do you have any solution for me?!?
Matthias
Previous Topic:Performance problems with udge database
Next Topic:[EMF Compare] ClassCastException GenericMatchEngine
Goto Forum:
  


Current Time: Thu Jun 17 18:54:10 GMT 2021

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

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

Back to the top