All - I've been using Envers 1.1.0GA and Hibernate 3.2.6.GA (I need to upgrade, I know) with success for sometime.
Recently I @Versioned a new entity that, unlike other entities, is throwing an error on deployment.
Specifically:
11:53:33,656 WARN [ServiceController] Problem starting service persistence.units:ear=trunk.ear,jar=trunk.jar,unitName=trunk java.lang.NullPointerException at org.jboss.envers.configuration.metadata.CollectionMetadataGenerator.addValueToMiddleTable(CollectionMetadataGenerator.java:347) at org.jboss.envers.configuration.metadata.CollectionMetadataGenerator.addWithMiddleTable(CollectionMetadataGenerator.java:274) at org.jboss.envers.configuration.metadata.CollectionMetadataGenerator.addCollection(CollectionMetadataGenerator.java:124)
Hello,
you're using an old version of Envers, so hard to say. This may have been resolved some time ago ;). And you didn't write what's the mapping that causes you problems.
Adam