|
|
|
|
Re: [CDO] NPE on commit [message #888858 is a reply to message #888756] |
Mon, 18 June 2012 18:12 |
|
Am 18.06.2012 17:31, schrieb Per Sterner:
> The error only occurs in my situation if I have the property IRepository.Props.ENSURE_REFERENTIAL_INTEGRITY set.
>
>
> I have set an breakpoint at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.respondingNewLockStates(CommitTransactionIndication.java:343)
> The first time the program enters that code, the error occurs. The argument passed to 'writeCDOLockState' is from the
> type 'DeltaLockWrapper'. The attributes are 'delta' with the type CDORevisionDeltaImpl and the attribute 'key' with
> the type 'CDOIDObjectLongImpl'. The 'getBranch' from 'DeltaLockWrapper' returns in this case 'null'(beacause 'key' is
> not from the type 'CDOIDAndBranch').
>
> Now a 'null' is passed as branch at
> 'org.eclipse.emf.cdo.internal.common.protocol.CDODataOutputImpl.writeCDOIDAndBranch(CDODataOutputImpl.java:378)'
Thanks for the detailed description. I think I see the root cause now and I'm able to fix it. Can you please submit a
bugzilla so that I can commit the changes?
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
Powered by
FUDForum. Page generated in 0.02199 seconds