[hibernate-issues] [Hibernate-JIRA] Created: (HHH-7016) NullPointerException in CacheAdapterImpl when evictAll
Zbyněk Roubalík (JIRA)
noreply at atlassian.com
Wed Feb 1 07:54:10 EST 2012
NullPointerException in CacheAdapterImpl when evictAll
------------------------------------------------------
Key: HHH-7016
URL: https://hibernate.onjira.com/browse/HHH-7016
Project: Hibernate ORM
Issue Type: Bug
Components: caching (L2)
Affects Versions: 4.0.1
Reporter: Zbyněk Roubalík
Get NullPointerException when evicting entity cache (emf.getCache().evictAll(); [1]), problem is in CacheAdapterImpl [2]. There should be check for null returned from cache.getRpcManager()
Error log: http://pastebin.test.redhat.com/75306
[1] https://github.com/zroubalik/jboss-as/blob/fe9115bfcc84f5ac41395028cfebaccfb6aae20c/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/jpa/secondlevelcache/SFSB2LC.java#L198
[2] https://github.com/hibernate/hibernate-orm/blob/master/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/util/CacheAdapterImpl.java#L223
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list