I am getting NPE while reading revisions of entity with @EmbeddedId composite key located in parent @MappedSuperclass.
Minimalistic reproducible sample is located here: https://github.com/pmihalcin/envers-audit-reader-npe-composite-key
First commit adds working example.
Second commit moves composite key to parent @MappedSuperclass and test case: https://github.com/pmihalcin/envers-audit-reader-npe-composite-key/blob/master/src/test/java/com/example/enverstest/TriggerRepositoryTest.java starts failing on NPE.
JVM - 1.8, Ubuntu, H2 locally, hibernate 5.0.12, hibernate 5.3.10