[jira] Closed: (JCS-66) Block Disk Cache Exception
"Aaron Smuts (JIRA)" <[email protected]> Tue, 11 Aug 2009 10:20:15 -0700 (PDT)
| Newsgroups | gmane.comp.jakarta.turbine.jcs.devel |
|---|---|
| Message-ID | <931171159.1250011215633.JavaMail.jira@brutus> |
[ 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.