|
| Re: [CDO] NPE from CDOResourceFolder conflict? [message #1060479 is a reply to message #1060233] |
Sat, 25 May 2013 02:57  |
Eike Stepper Messages: 5163 Registered: July 2009 |
Senior Member |
|
|
Hi Jack,
I'm still working on the CDOMergingConflictResolver because it's not fully implemented, yet. I know it's late in the
cycle but please wait until all the related bugzillas are resolved and then try again. If exception do still occur then,
please submit a bugzilla, so that I can handle it quickly.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Am 23.05.2013 17:58, schrieb Jack Lechner:
> Hello again!
>
> I was in desperate need of some conflict resolving mechanisms, so I updated to the RC's of EMF and CDO. Before I
> start, thanks for all of the updates in that area! :)
>
> I'm running into a NPE using the CDOMergingConflictResolver. The thing that confuses me about this situation is that
> I'm not modifying the same objects on either client. The situation that causes this is as follows:
>
> 1. Client 1 modifies an object a.
> 2. Client 2 modifies an object b.
> 3. Client 1 commits.
> 4. Client 2 receives the NPE.
> 5. Client 2 upon trying to commit cannot due to a conflict on the "CDOResourceFolder".
>
> Am I doing something incorrectly? I have never seen reference to a CDOResourceFolder object before. This is the
> stacktrace, line 139 is "remoteDelta.apply(newCleanRevision);".
>
> java.lang.NullPointerException
> at org.eclipse.emf.spi.cdo.CDOMergingConflictResolver.resolveConflicts(CDOMergingConflictResolver.java:139)
> at org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.handleConflicts(CDOTransactionImpl.java:743)
> at org.eclipse.emf.internal.cdo.view.CDOViewImpl.doInvalidate(CDOViewImpl.java:883)
> at org.eclipse.emf.internal.cdo.view.CDOViewImpl$InvalidationRunnable.run(CDOViewImpl.java:1661)
> at org.eclipse.net4j.util.concurrent.QueueRunner.work(QueueRunner.java:26)
> at org.eclipse.net4j.util.concurrent.QueueRunner.work(QueueRunner.java:1)
> at org.eclipse.net4j.util.concurrent.QueueWorker.doWork(QueueWorker.java:88)
> at org.eclipse.net4j.util.concurrent.QueueWorker.work(QueueWorker.java:79)
> at org.eclipse.net4j.util.concurrent.Worker$WorkerThread.run(Worker.java:206)
>
> Thanks in advance!
|
|
|
Powered by
FUDForum. Page generated in 0.06673 seconds