jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Smuts (JIRA)" <j...@apache.org>
Subject [jira] Closed: (JCS-66) Block Disk Cache Exception
Date Tue, 11 Aug 2009 17:20:15 GMT

     [ 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


Mime
View raw message