ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Clarity: Investment Allocation Job Failure Message 'Exception processing InvestmentAllocationJob java.lang.ClassCastException'


Article ID: 49529


Updated On:


CA Identity Manager CA Identity Governance CA Identity Portal Clarity PPM SaaS Clarity PPM On Premise



Executing the 'Investment Allocation' job generates an error in the log file and the job fails. What does this message indicate and how can we resolve the issue?

ERROR 2012-06-19 10:40:28,486 [Dispatch Thread-14 : [email protected]] staffing.job (none:none:none)
Exception processing InvestmentAllocationJob java.lang.ClassCastException: [B
ERROR 2012-06-19 10:40:28,491 [Dispatch Thread-14 : [email protected]] niku.njs (none:none:none)
Error executing job: 5041859
java.lang.RuntimeException: java.lang.ClassCastException: [B
at com.niku.projmgr.service.staffing.job.InvestmentAllocationJob.scheduledEvent Fired(
at com.niku.njs.Dispatcher$
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$
Caused by: java.lang.ClassCastException: [B
at com.niku.xql2.pmd.rules.InvestmentTSVController.generate(
at com.niku.xql2.pmd.rules.InvestmentTSVController.processRequest(
at com.niku.projmgr.service.staffing.job.InvestmentAllocationJob.scheduledEventFired(
... 3 more

Steps to Reproduce:

  1. Login to Clarity
  2. Home > Reports and Jobs > Jobs : Available
  3. Execute the 'Investment Allocation' job
  4. See job failure > Analyze Background Log file

Expected Result: Error message should indicate the reason for the failure.
Actual Result: Error message is not descriptive enough for taking actions.


To see more information in the BG log file, turn on debugging in CSA

  1. Login to Clarity System Administration (CSA) application
  2. For the Server, navigate to Logs > Edit Configuration
  3. Set 'DEBUG' level for the component 'com.niku.projmgr' component
  4. Login to Clarity, execute the report again and analyze the BG log for more details

    The log file may or may not show the indication for this message
    [B indicates a bad assignment for investment ID specified
    Check all assignments on the specified investment

DEBUG 2012-06-19 15:32:42,413 [Dispatch Thread-14 : [email protected]] staffing.job (none:none:none)
Committing results for investment 5073830.
ERROR 2012-06-19 15:32:42,582 [Dispatch Thread-14 :[email protected]] staffing.job (none:none:none)
Exception processing InvestmentAllocationJob java.lang.ClassCastException: [B
DEBUG 2012-06-19 15:32:42,582 [Dispatch Thread-14 : [email protected]] staffing.job (none:none:none)
Closing job session.


This issue is documented as CLRT-68719 so that the error message can be corrected to show relevant information for resolving the issue.

Keyword: CLARITYKB, CLRT-68719, clarity12open, clarity13open


Release: ESPCLA99000-12.1-Clarity-Extended Support Plus