infinispan/infinispan — pull request #1679 by anistor (2013-02-24 10:14:22+00:00)
Title: ISPN-2845 CLONE - ISPN000136: Execution error: java.lang.NullPointerExce...

...ption -> JBAS018079: Failed to passivate session

CacheImpl.evict() during a batch leads to NPE in AbstractTxInvocationContext.clearLockedKeys because no transaction is actually started. This is caused by BatchingInterceptor replacing the non-transactional context of the evict command with a new transactional context for no reason - evict() is never transactional.

JIRA: https://issues.jboss.org/browse/ISPN-2845

Please integrate in master and 5.2.x (t_2845_52)