NPE when using SelectCase with Enum result

Description

When using selectCase with a result of of an enum an NPE results.

Same code works on 5.1.10.Final

Test case pull request created.

Stacktrace:

Environment

Hibernate 5.3.6
Java 8

Assignee

Unassigned

Reporter

Cody Lerum

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure