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
if a cache is not configured in ehcache.xml, you'll get a NPE.
The problamatic part is configurationbuilder which can be null. You still call the build() method without checking.
Suggestion:
if (null == configurationBuilder) {
throw new IllegalStateException("No configuration for the cache with the name [" + name + "] was found. "
+ "Please add it to your ehcache.xml file.");
}
The text was updated successfully, but these errors were encountered:
Actually the problem is the cache-template name="defaultCacheConfiguration". If it's missing or empty, you will also get this error. The message above should reflect this.
Hi there,
if a cache is not configured in
ehcache.xml
, you'll get a NPE.The problamatic part is configurationbuilder which can be null. You still call the build() method without checking.
Suggestion:
The text was updated successfully, but these errors were encountered: