ConcurrentStatisticsImpl#getSecondLevelCacheStatistics() throws NPE if second level cache is not activated
Description
When deploying an application on Wildfly (which works) and displaying the deployment, a NPE occurs:
which happens, I assume, because we have no second level cache active. Comparing the code with e.g. version 5.0.0, there was the following check:
compared to 5.2.2:
Maybe this points in the right direction.
Activity
Vlad MihalceaMay 12, 2017 at 8:32 AM
Applied PR upstream.
David CarrMay 3, 2017 at 7:55 AM
I am also getting this error with JBoss EAP 7 integrating Hibernate 5.2.7. Occurring when I try to view deployments in the JBoss EAP Management console, but the application otherwise works fine.
I want to add this comment so there's a few extra search terms (i.e. the Wildfly error code) to lead here.
When deploying an application on Wildfly (which works) and displaying the deployment, a NPE occurs:
which happens, I assume, because we have no second level cache active. Comparing the code with e.g. version 5.0.0, there was the following check:
compared to 5.2.2:
Maybe this points in the right direction.