Initialization error with <dynamic-component> mapping

Description

When we have any entity mapped with <dynamic-component> properties, a NullPointerException is raised on initialization of Envers.
This occurs even if this entity is not audited.

See: https://community.jboss.org/message/800227#800227

To reproduce:
Create an entity and map a field with a <dynamic-component> tag.
Start the application.

Environment

All versions, all databases.

Status

Assignee

Lukasz Antoniak

Reporter

Guillaume Humbert

Fix versions

Labels

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

Affirmative

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Blocker
Configure