Simple gradle project that demonstrates this issue
https://github.com/cameronbraid/hibernate-envers-cme
Clone it, run ./gradlew and see the exception
The issue arises with an @Audited entity when you add a BeforeTransactionCompletionProcess from within an PostInsertEventListener
main code is in https://github.com/cameronbraid/hibernate-envers-cme/blob/master/src/main/java/demo/Main.java