Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [CDO] examples question
[CDO] examples question [message #614167] Tue, 29 January 2008 19:35
Thomas is currently offline ThomasFriend
Messages: 151
Registered: July 2009
Senior Member
I finally got my setup working. now i tried to create an object on the
repo1 demo repository which always gives me:

Worker-2 [debug] Processing event PREPARE in state TRANSIENT for
EObject? (data=ResourceAndView(CDOResource@-2, CDOTransaction(1)))
Worker-2 [debug.revision] Setting version for EObject@-6v0: v-1
Worker-2 [debug.revision] Setting resourceID EObject@-6v-1: -2
Worker-2 [debug.view] Registering EObject@-6
Worker-2 [debug.transaction] Registering new object EObject@-6
Worker-2 [debug] Processing event ATTACH in state PREPARED for
EObject@-6 (data=null)
ModalContext [debug.transaction] commit()
[ERROR] NullPointerException
java.lang.NullPointerException
at
org.eclipse.emf.cdo.internal.protocol.revision.delta.CDORevi sionDeltaImpl. <init>(CDORevisionDeltaImpl.java:64)
at
org.eclipse.emf.cdo.protocol.revision.delta.CDORevisionDelta Util.create(CDORevisionDeltaUtil.java:37)
at ...

By the way you shouldnt close the editor on save if the save fails. at
least I wouldnt. (monitor.setCanceled(true) and the editor stays open
after save)

Regards Thomas
Previous Topic:Re: Modeling tools
Next Topic:Store Resource does not allow editing properties with EMF generated property editor
Goto Forum:
  


Current Time: Fri Sep 25 14:22:25 GMT 2020

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

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

Back to the top