[infinispan-issues] [JBoss JIRA] Resolved: (ISPN-695) It is not possible to switch between local and remote cache mode
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Fri Oct 22 03:48:54 EDT 2010
[ https://jira.jboss.org/browse/ISPN-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreño resolved ISPN-695.
-----------------------------------
Fix Version/s: (was: 4.2.0.BETA1)
(was: 4.2.0.Final)
Resolution: Cannot Reproduce Bug
John, I'm closing this issue since we haven't been able to replicate the issue so far. As said on the forum, I don't think the NPE shown on the description is not really linked to ISPN-706. It'd be helpful to find out more about the circumstances and maybe some randomly failing test that we can use to replicate the issue here. In any case, I've sorted out a similar NPE as part of ISPN-699 and I have made the COT code more resilient and more informative in terms of what goes wrong when the reader externalizer returns null. This fix will be in next 4.2.x release to be out in the next few days.
> It is not possible to switch between local and remote cache mode
> ----------------------------------------------------------------
>
> Key: ISPN-695
> URL: https://jira.jboss.org/browse/ISPN-695
> Project: Infinispan
> Issue Type: Bug
> Components: Cache Server
> Affects Versions: 4.1.0.Final
> Reporter: John Ament
> Assignee: Galder Zamarreño
> Attachments: mavenproject3.zip
>
>
> I have an application that wrote a bunch of cache data in remote server mode. I then wanted to, starting with the same cache, compare the speed of the application in the embedded mode. However, the data cannot be read from the cache due to a NPE:
> Caused by: org.infinispan.loaders.CacheLoaderException: Error while reading from file: /src/dump/jcr/staging/-1458095452
> at org.infinispan.loaders.file.FileCacheStore.loadBucket(FileCacheStore.java:185)
> at org.infinispan.loaders.file.FileCacheStore.loopOverBuckets(FileCacheStore.java:51)
> at org.infinispan.loaders.bucket.BucketBasedCacheStore.loadAllLockSafe(BucketBasedCacheStore.java:141)
> at org.infinispan.loaders.LockSupportCacheStore.loadAll(LockSupportCacheStore.java:109)
> at org.infinispan.loaders.CacheLoaderManagerImpl.loadState(CacheLoaderManagerImpl.java:149)
> at org.infinispan.loaders.CacheLoaderManagerImpl.preload(CacheLoaderManagerImpl.java:127)
> ... 30 more
> Caused by: java.lang.NullPointerException
> at org.infinispan.marshall.jboss.ConstantObjectTable.readObject(ConstantObjectTable.java:253)
> at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:357)
> at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:207)
> at org.jboss.marshalling.AbstractUnmarshaller.readObject(AbstractUnmarshaller.java:85)
> at org.infinispan.container.entries.ImmortalCacheEntry$Externalizer.readObject(ImmortalCacheEntry.java:109)
> at org.infinispan.marshall.jboss.ConstantObjectTable$ExternalizerAdapter.readObject(ConstantObjectTable.java:266)
> at org.infinispan.marshall.jboss.ConstantObjectTable.readObject(ConstantObjectTable.java:253)
> at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:357)
> at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:207)
> at org.jboss.marshalling.AbstractUnmarshaller.readObject(AbstractUnmarshaller.java:85)
> at org.infinispan.loaders.bucket.Bucket$Externalizer.readObject(Bucket.java:115)
> at org.infinispan.marshall.jboss.ConstantObjectTable$ExternalizerAdapter.readObject(ConstantObjectTable.java:266)
> at org.infinispan.marshall.jboss.ConstantObjectTable.readObject(ConstantObjectTable.java:253)
> at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:357)
> at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:207)
> at org.jboss.marshalling.AbstractUnmarshaller.readObject(AbstractUnmarshaller.java:85)
> at org.infinispan.marshall.jboss.GenericJBossMarshaller.objectFromObjectStream(GenericJBossMarshaller.java:162)
> at org.infinispan.marshall.VersionAwareMarshaller.objectFromObjectStream(VersionAwareMarshaller.java:179)
> at org.infinispan.loaders.file.FileCacheStore.objectFromInputStreamInReentrantMode(FileCacheStore.java:262)
> at org.infinispan.loaders.file.FileCacheStore.loadBucket(FileCacheStore.java:181)
> ... 35 more
--
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