1 Reply Latest reply on Dec 19, 2008 10:09 AM by adamw

    Problem with bidirectionnal collections in a sub class.

    val94

      Hello,


      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.

      Val.