[infinispan-issues] [JBoss JIRA] Commented: (ISPN-601) TreeCache and CacheStore issues when adding an entry that exists in the store but not in memory
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Fri Aug 13 10:24:49 EDT 2010
[ https://jira.jboss.org/browse/ISPN-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12544861#action_12544861 ]
Manik Surtani commented on ISPN-601:
------------------------------------
Added test method in svn http://viewvc.jboss.org/cgi-bin/viewvc.cgi/infinispan/branches/4.1.x/tree/src/test/java/org/infinispan/loaders/TreeCacheWithLoaderTest.java?r1=2196&r2=2214&pathrev=2214
> TreeCache and CacheStore issues when adding an entry that exists in the store but not in memory
> -----------------------------------------------------------------------------------------------
>
> Key: ISPN-601
> URL: https://jira.jboss.org/browse/ISPN-601
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores, Tree API
> Affects Versions: 4.1.0.CR2
> Reporter: Tom Coates
> Assignee: Manik Surtani
> Priority: Critical
> Fix For: 4.1.0.CR3
>
>
> The pattern:
> put()
> stop()
> start()
> put()
> throws an exception when a cache store is configured and the treecache adapter is used.
> java.lang.NullPointerException
> at org.infinispan.interceptors.CacheLoaderInterceptor.recordLoadedEntry(CacheLoaderInterceptor.java:182)
> at org.infinispan.interceptors.CacheLoaderInterceptor.loadIfNeeded(CacheLoaderInterceptor.java:147)
> at org.infinispan.interceptors.CacheLoaderInterceptor.loadIfNeededAndUpdateStats(CacheLoaderInterceptor.java:200)
> at org.infinispan.interceptors.CacheLoaderInterceptor.visitGetKeyValueCommand(CacheLoaderInterceptor.java:87)
> at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:58)
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
> at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
> at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:87)
> at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:58)
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
> at org.infinispan.interceptors.TxInterceptor.enlistReadAndInvokeNext(TxInterceptor.java:171)
> at org.infinispan.interceptors.TxInterceptor.visitGetKeyValueCommand(TxInterceptor.java:162)
> at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:58)
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
> at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:58)
> at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:39)
> at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:87)
> at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:58)
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
> at org.infinispan.interceptors.BatchingInterceptor.handleDefault(BatchingInterceptor.java:76)
> at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:87)
> at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:58)
> at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:271)
> at org.infinispan.CacheDelegate.get(CacheDelegate.java:200)
> at org.infinispan.atomic.AtomicHashMapProxy.getDeltaMapForRead(AtomicHashMapProxy.java:73)
> at org.infinispan.atomic.AtomicHashMapProxy.getDeltaMapForWrite(AtomicHashMapProxy.java:95)
> at org.infinispan.atomic.AtomicHashMapProxy.put(AtomicHashMapProxy.java:154)
> at org.infinispan.tree.TreeCacheImpl.put(TreeCacheImpl.java:336)
> at org.infinispan.loaders.TreeCacheWithLoaderTest.testDuplicatePersistence(TreeCacheWithLoaderTest.java:81)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list