Replicating detached instance from Envers fails with NPE if bytecode is instrumented

Description

I've not been able to reproduce this issue without Envers, so the problem might be there. The test passes if you don't instrument bytecode.

This routine is one of the more important use cases for replicate(), this is how you can roll back to a historical revision with Envers:

Environment

None

Status

Assignee

Unassigned

Reporter

Christian Bauer

Fix versions

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure