Heisenbug-ish NullPointerExceptions in DataContext.flushToParent()

Hugi Thordarson <[email protected]>
Newsgroups gmane.comp.java.cayenne.user
Message-ID <[email protected]>
Hi all,

occasionally my users encounter errors when committing changes to the DB. The relevant part of the stack trace looks like this:

---------
org.apache.cayenne.CayenneRuntimeException: [v.4.1 Jul 14 2020 10:26:08] Commit Exception
	at org.apache.cayenne.access.DataContext.flushToParent(DataContext.java:774)
	at org.apache.cayenne.access.DataContext.commitChanges(DataContext.java:691)
	[...removed rest of trace…]
Caused by: java.lang.NullPointerException
---------

Unfortunately I've been unable to reproduce this error, so before I dive into it I'm wondering if this looks familiar to anyone, if there are obvious places to look or if there are recommendations for strategies to debug?

Cheers,
- hugi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.