|
Re: NPE on transaction commit [message #430637 is a reply to message #430636] |
Mon, 01 June 2009 06:37 |
|
Rimvydas,
Between M3 and M7 there was a huge refactoring related with package
management (see
http://thegordian.blogspot.com/2009/03/emf-on-server.html ), hence it
could be possible that there's still a minor problem. Please do the
following:
1. Check that the problem persists with the latest release candidate
(RC2, tomorrow is RC3) or the HEAD sources.
2. File a bugzilla, paste up-to-date stack traces and ideally attach the
model you used, so that we can reproduce the problem.
Cheers
/Eike
----
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Rimvydas Vaidelis schrieb:
> Hello,
>
> I have migrated my code from CDO version 2.0.0M3 to CDO version
> 2.0.0M7a. On 2.0.0M3 my test was working fine but on CDO version
> 2.0.0M7a my test fails. On transaction commit I receive NPE from server:
>
> [ERROR] NullPointerException
> java.lang.NullPointerException
> at
> org.eclipse.emf.cdo.internal.server.TransactionCommitContext Impl$TransactionPackageRegistry.putPackageUnit(TransactionCo mmitContextImpl.java:687)
>
> at
> org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.indicatingCommit(CommitTransactionIndication.ja va:268)
>
> at
> org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.indicating(CommitTransactionIndication.java:197 )
>
> at
> org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.indicating(CommitTransactionIndication.java:140 )
>
> at
> org.eclipse.net4j.signal.IndicationWithMonitoring.indicating (IndicationWithMonitoring.java:84)
>
> at
> org.eclipse.net4j.signal.IndicationWithResponse.doExtendedIn put(IndicationWithResponse.java:90)
>
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:317)
>
>
> My test is similar to StandaloneContainerExample provided by CDO. I do
> register my model's package to package registry. The package has
> several subpackages but I register only root package (it was OK on
> 2.0.0M3). It seems that these subpackages causes the problem because
> test with model which package does not have subpackages works fine.
>
> Any ideas how to solve the problem ?
>
> Thanks in advance.
>
> --
> Rimvydas
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.03144 seconds