[infinispan-issues] [JBoss JIRA] Updated: (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:50:54 EDT 2010
[ https://jira.jboss.org/browse/ISPN-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreño updated ISPN-695:
----------------------------------
Affects Version/s: 4.2.0.ALPHA3
4.0.0.Final
> 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.0.0.Final, 4.1.0.Final, 4.2.0.ALPHA3
> 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