|
Re: [CDO] NullPointerException [message #533304 is a reply to message #533177] |
Thu, 13 May 2010 06:43 |
|
Hi Greg,
That's weird as it suggests that your local session has no branch
manager associated or the used CDODataInputImpl does not return it
properly. At least if your stack trace still matches CVS HEAD. Can you
try to set a breakpoint in CDODataInputImpl.readCDOBranch() and find out
what's going on there?
Note that a CommitNotificationIndication is sent asynchronously by the
server, so it can happen that the client session is in the process of
being deactivated at the same time. In this case all kinds of exceptions
can appear in the log that can be safely ignored. Please try to find out
if this is the situation in which you see this exception.
Cheers
/Eike
----
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Am 12.05.2010 15:48, schrieb Greg Sutton:
> I get this error when multiple concurrent jobs attempt to lock the
> same object. The code completes successfully and there are no issues
> functionally apart from these messages.
>
> Does anyone have any suggestions for how I might be able to fix this
> or even where to start looking?
>
>
> [ERROR] NullPointerException
> java.lang.NullPointerException
> at
> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImp l.readCDOBranch(CDODataInputImpl.java:170)
>
> at
> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImp l.readCDOCommitInfo(CDODataInputImpl.java:240)
>
> at
> org.eclipse.emf.cdo.internal.net4j.protocol.CommitNotificati onIndication.indicating(CommitNotificationIndication.java:36 )
>
> at
> org.eclipse.emf.cdo.internal.net4j.protocol.CDOClientIndicat ion.indicating(CDOClientIndication.java:56)
>
> at
> org.eclipse.net4j.signal.Indication.doExtendedInput(Indicati on.java:55)
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:311)
> at org.eclipse.net4j.signal.Indication.execute(Indication.java: 49)
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:238)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
>
> at java.lang.Thread.run(Thread.java:619)
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02779 seconds