NPE in Envers AdditionalJaxbMappingProducerImpl when XML mapping is disabled

Description

This is an unintented side effect of ; we should improve on the previous patch to not cause an NPE in case XML mapping is disabled.

See also https://github.com/hibernate/hibernate-orm/commit/34151a9660f92dfd5128c1336fa9d27b8ca7f6e7#commitcomment-44735539

Workaround: don't disable XML mapping support explicitly by setting XML_MAPPING_ENABLED

Environment

None

Activity

Show:
Sanne Grinovero
December 14, 2020, 4:38 PM

This was resolved in git as (which is a duplicate)

Fixed

Assignee

Unassigned

Reporter

Sanne Grinovero

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Worked in

5.4.24

Components

Affects versions

Priority

Minor
Configure