Description:
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(InvestmentAllocationJob.java:101)
at com.niku.njs.Dispatcher$BGTask.run(Dispatcher.java:277)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: [B
at com.niku.xql2.pmd.rules.InvestmentTSVController.generate(InvestmentTSVController.java:253)
at com.niku.xql2.pmd.rules.InvestmentTSVController.processRequest(InvestmentTSVController.java:94)
at com.niku.projmgr.service.staffing.job.InvestmentAllocationJob.scheduledEventFired(InvestmentAllocationJob.java:77)
... 3 more
Steps to Reproduce:
Expected Result: Error message should indicate the reason for the failure.
Actual Result: Error message is not descriptive enough for taking actions.
Solution:
To see more information in the BG log file, turn on debugging in CSA
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.
STATUS/RESOLUTION:
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