You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by "Aaron Smuts (JIRA)" <ji...@apache.org> on 2009/08/11 19:20:15 UTC
[jira] Closed: (JCS-66) Block Disk Cache Exception
[ https://issues.apache.org/jira/browse/JCS-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron Smuts closed JCS-66.
--------------------------
Resolution: Fixed
There was a for loop using a byte as a counter. This limited the number of blocks to 127. I changed it to an int. But, for performance reasons, you should try to keep your items in as few blocks as possible.
> Block Disk Cache Exception
> --------------------------
>
> Key: JCS-66
> URL: https://issues.apache.org/jira/browse/JCS-66
> Project: JCS
> Issue Type: Bug
> Reporter: Aaron Smuts
> Assignee: Aaron Smuts
>
> [8/11/09 8:49:49:969 BST] 00000042 SystemOut O 08:49:49,968 ERROR [BlockDiskCache] Region [component] Failure updating element, key: investor:research-funds/fund-supermarket/factsheet/newlocalfactsheet:Primary:en-GB:1239855333385:1:hNvdABDjSIp7U7czi+DCuA== old: null
> java.lang.ArrayIndexOutOfBoundsException: -128
> at org.apache.jcs.auxiliary.disk.block.BlockDisk.write(BlockDisk.java:199)
> at org.apache.jcs.auxiliary.disk.block.BlockDiskCache.processUpdate(BlockDiskCache.java:383)
> at org.apache.jcs.auxiliary.AbstractAuxiliaryCacheEventLogging.updateWithEventLogging(AbstractAuxiliaryCacheEventLogging.java:48)
> at org.apache.jcs.auxiliary.disk.AbstractDiskCache.doUpdate(AbstractDiskCache.java:828)
> at org.apache.jcs.auxiliary.disk.AbstractDiskCache$MyCacheListener.handlePut(AbstractDiskCache.java:685)
> at org.apache.jcs.engine.CacheEventQueue$PutEvent.doRun(CacheEventQueue.java:704)
> at org.apache.jcs.engine.CacheEventQueue$AbstractCacheEvent.run(CacheEventQueue.java:623)
> at org.apache.jcs.engine.CacheEventQueue$QProcessor.run(CacheEventQueue.java:591)
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org