[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-7016) NullPointerException in CacheAdapterImpl when evictAll
Steve Ebersole (JIRA)
noreply at atlassian.com
Wed Feb 8 23:22:41 EST 2012
[ https://hibernate.onjira.com/browse/HHH-7016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole closed HHH-7016.
-------------------------------
Closing for 4.1 release
> 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
> Assignee: Galder Zamarreno
> Labels: hibernate, infinispan
> Fix For: 4.1.0
>
>
> 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