I test Envers with the lastest svn source and i have an issue :
NullPointerException : AuditEventListener:98
i use a collection stored in a abstract class and i have two concret class.
// relDesc.getToEntityName() doesn't always return the entity name of the value - in caseof subclasses, this will be root class, no the actual class. So it can't be used here.
toEntityName = session.guessEntityName(newValue);
but guessEntityName don't return the root class so.
i have made a little modification to return the root class and that fix this problems.
I don't see this problem in JIRA.
so you've fixed this bug? Can you please post a patch and a testcase to JIRA?