You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using hazelcast-hibernate53:2.2.1, with HazelcastLocalCacheRegionFactory as the Hibernate cache region factory.
When running my application inside an embedded Tomcat (tomcat-embed-jasper:8.5.63), I'm getting this NullPointerException:
Caused by: java.lang.NullPointerException: null
at java.base/java.net.URLEncoder.encode(URLEncoder.java:224)
at java.base/java.net.URLEncoder.encode(URLEncoder.java:196)
at com.hazelcast.hibernate.PhoneHomeInfo$QueryStringBuilder.tryEncode(PhoneHomeInfo.java:99)
at com.hazelcast.hibernate.PhoneHomeInfo$QueryStringBuilder.addParam(PhoneHomeInfo.java:93)
at com.hazelcast.hibernate.PhoneHomeInfo.buildQueryString(PhoneHomeInfo.java:76)
at com.hazelcast.hibernate.PhoneHomeInfo.<init>(PhoneHomeInfo.java:50)
at com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory.<clinit>(HazelcastLocalCacheRegionFactory.java:31)
That happens because for some reason the hibernate implementation version in the classloader is null when building the PhoneHomeInfo query string:
I am using hazelcast-hibernate53:2.2.1, with HazelcastLocalCacheRegionFactory as the Hibernate cache region factory.
When running my application inside an embedded Tomcat (tomcat-embed-jasper:8.5.63), I'm getting this NullPointerException:
That happens because for some reason the hibernate implementation version in the classloader is null when building the PhoneHomeInfo query string:
Could this be changed to do something like read it from a system property or env variable when the value is null, or even use a default value?
The text was updated successfully, but these errors were encountered: