search cancel

Time slicing Job not completing successfully, Java Out of bounds error found in bg logs


Article ID: 53464


Updated On:


Clarity PPM SaaS Clarity PPM On Premise


When Time Slice Definitions have zero (0) periods defined, blobcrack IndexOutOfBoundsException is generated and it affects update status of other slice definitions

The application allows the Clarity Administrator to configure a Time Slice definition with a zero (0) value for number of periods. This causes the application to generate a blobcrack IndexOutOfBoundsException error in the background log file, the specific time slice is not updated and it may cause other time slice definitions not to update as well.

ERROR 2013-03-21 18:28:11,960 [Dispatch pool-4-thread-9 : [email protected] (tenant=clarity)] niku.blobcrack (clarity:none:none:none)
Exception during blobcrack process
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(
at java.util.ArrayList.get(
at com.niku.blobcrack.SliceRequest.getRolloverBoundaries(
at com.niku.blobcrack.BlobCrackDB.resetRequest(
at com.niku.blobcrack.BlobCrackDB.resetRequests(
at com.niku.blobcrack.BlobCrackDB.prepareSliceStatus(
at com.niku.blobcrack.BlobCrackDB.sliceCurves(
at com.niku.blobcrack.BlobCrackDB.createSlices(
at com.niku.blobcrack.xql2.handlers.BlobCracker.processExpiredRequests(
at com.niku.blobcrack.xql2.handlers.BlobCracker.postProcess(
at com.niku.xql2.XQLVisitor.postProcess(
at com.niku.union.xml.dom.DOMWalker.postProcess(
at com.niku.union.xml.dom.DOMWalker.traverseIntern(
at com.niku.union.xml.dom.DOMWalker.traverseIntern(
at com.niku.union.xml.dom.DOMWalker.traverseIntern(
at com.niku.union.xml.dom.DOMWalker.traverse(
at com.niku.xql2.XQLProcessor.process(
at com.niku.njs.xbl.XBLService.process(
at com.niku.njs.xbl.XBLService.process(
at com.niku.njs.listeners.XBLJob.scheduledEventFired(
at com.niku.njs.Dispatcher$
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
at java.util.concurrent.ThreadPoolExecutor$

Steps to Reproduce:

  1. Login as a Clarity Administrator
  2. Administration > Time Slices
  3. Open an existing Time Slice Definition, change the Number of Periods to zero (0), save and confirm changes
  4. Execute 'Time Slicing' job
  5. Check Administration > Time Slices page and check Background Log file

Expected Result: All Time Slice Definitions should be updated
Actual Result: This Time Slice Definition is not updated and some other Time Slice Definitions are not updated. Also the Background Log (bg-ca.log) file has a java exception error


Update the Time Slice Definition to have a value of 1 or greater.

  1. Login as a Clarity Administrator
  2. Administration > Time Slices
  3. Open the Time Slice Definition that has zero (0) defined for number of periods
  4. Change the value to 1 or greater value
  5. Click 'Save and Return' button
  6. Execute 'Time Slicing' job
  7. Check all Slice definitions for Last Run date

Verify data throughout application and in reports