NullPointerException when reading an audited entity that has a collection of embeddables with a ManyToOne to an unaudited entity.

Description

When using an audited entity collection of an embeddable:

This causes a NullPointerException to occur when fetching a revision of the Parent entity when the embeddable Item contains a non-null reference to Type, which is not audited. This is only an issue when the embeddable class holds a reference to a non-audited entity.

Environment

None

Status

Assignee

Chris Cranford

Reporter

Dmitriy Sulimchuk

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Critical
Configure