We're updating the issue view to help you get more done. 

org.hibernate.cache.spi.QueryKey.getNamedParameters(QueryKey.java:176) throws NullPointerException

Description

If there are no named parameters, the method should return an empty map instead of throwing a NullPointerException.

1 2 3 4 Exception in thread "util-es-thread-5" java.lang.NullPointerException at java.util.Collections$UnmodifiableMap.<init>(Collections.java:1446) at java.util.Collections.unmodifiableMap(Collections.java:1433) at org.hibernate.cache.spi.QueryKey.getNamedParameters(QueryKey.java:176)

Environment

None

Status

Assignee

Unassigned

Reporter

Russ Tennant

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.4.3

Priority

Major