Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] NPE at CDOObjectHistoryImpl.filter(CDOObjectHistoryImpl.java:58)
[CDO] NPE at CDOObjectHistoryImpl.filter(CDOObjectHistoryImpl.java:58) [message #990561] Thu, 13 December 2012 02:47 Go to next message
Erdal Karaca is currently offline Erdal Karaca
Messages: 704
Registered: July 2009
Senior Member
Getting NPEs when querying an object history (no exceptions on server side)...

java.lang.NullPointerException
	at org.eclipse.emf.internal.cdo.view.CDOObjectHistoryImpl.filter(CDOObjectHistoryImpl.java:58)
	at org.eclipse.emf.cdo.internal.common.commit.CDOCommitHistoryImpl.handleCommitInfo(CDOCommitHistoryImpl.java:304)
	at org.eclipse.emf.internal.cdo.view.CDOObjectHistoryImpl.doLoadCommitInfos(CDOObjectHistoryImpl.java:134)
	at org.eclipse.emf.cdo.internal.common.commit.CDOCommitHistoryImpl$1.run(CDOCommitHistoryImpl.java:281)


This is the complete stack trace Smile
Re: [CDO] NPE at CDOObjectHistoryImpl.filter(CDOObjectHistoryImpl.java:58) [message #990584 is a reply to message #990561] Thu, 13 December 2012 04:55 Go to previous messageGo to next message
Erdal Karaca is currently offline Erdal Karaca
Messages: 704
Registered: July 2009
Senior Member
Oh, forgot to switch auditing support on...
Re: [CDO] NPE at CDOObjectHistoryImpl.filter(CDOObjectHistoryImpl.java:58) [message #990707 is a reply to message #990561] Thu, 13 December 2012 06:21 Go to previous messageGo to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5446
Registered: July 2009
Senior Member
Am 13.12.2012 08:47, schrieb Erdal Karaca:
> Getting NPEs when querying an object history (no exceptions on server side)...
>
> java.lang.NullPointerException
> at org.eclipse.emf.internal.cdo.view.CDOObjectHistoryImpl.filter(CDOObjectHistoryImpl.java:58)
> at org.eclipse.emf.cdo.internal.common.commit.CDOCommitHistoryImpl.handleCommitInfo(CDOCommitHistoryImpl.java:304)
> at org.eclipse.emf.internal.cdo.view.CDOObjectHistoryImpl.doLoadCommitInfos(CDOObjectHistoryImpl.java:134)
> at org.eclipse.emf.cdo.internal.common.commit.CDOCommitHistoryImpl$1.run(CDOCommitHistoryImpl.java:281)
>
> This is the complete stack trace :)
That must be a bug. Not sure if caused by the weak cache in CDOCommitInfoManagerImpl or by wrong time stamps in the
following remote query. Please submit a bugzilla and give all infos that might be related (e.g., heap full?).

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: [CDO] NPE at CDOObjectHistoryImpl.filter(CDOObjectHistoryImpl.java:58) [message #990708 is a reply to message #990584] Thu, 13 December 2012 06:23 Go to previous message
Eike Stepper is currently offline Eike Stepper
Messages: 5446
Registered: July 2009
Senior Member
Am 13.12.2012 10:55, schrieb Erdal Karaca:
> Oh, forgot to switch auditing support on...
That would explain it :P

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Previous Topic:ECrossReferenceAdapter missing links
Next Topic:[CDO] Multi master (clone)
Goto Forum:
  


Current Time: Fri Apr 25 03:01:13 EDT 2014

Powered by FUDForum. Page generated in 0.08127 seconds