Error Running WIP Report

When trying to run the Work In Process report in Kinetic 2024.1, I receive this error:

Program Ice.Services.Lib.RunTask when executing task 164802 raised an unexpected exception with the following message: RunTask: System.ArgumentNullException: Value cannot be null. (Parameter ‘key’) at System.Collections.Generic.Dictionary2.FindValue(TKey key) at System.Collections.Generic.Dictionary2.TryGetValue(TKey key, TValue& value) at Ice.Core.RptTaskBase1.XMLDumpTable(IRow row, String rptTableId) in C:\_releases\ICE\ICE4.3.100.10\Source\Server\Internal\Lib\TaskLib\RptBase\RptTaskBase.cs:line 270 at Erp.Internal.JC.WIPReport.XMLDumpTable(IRow row, String rptTableId) in C:\_releases\ERP\ERP11.3.100.0\Source\Server\Internal\JC\WIPReport\WIPReport.cs:line 444 at Erp.Internal.JC.WIPReport.ProcessTJobPart(JobPart jobPart) in C:\_releases\ERP\ERP11.3.100.0\Source\Server\Internal\JC\WIPReport\WIPReport.cs:line 1112 at Erp.Internal.JC.WIPReport.InternalRunProcess() in C:\_releases\ERP\ERP11.3.100.0\Source\Server\Internal\JC\WIPReport\WIPReport.cs:line 697 at Erp.Internal.JC.WIPReport.RunProcess(Int64 instanceTaskNum, String outputFileName) in C:\_releases\ERP\ERP11.3.100.0\Source\Server\Internal\JC\WIPReport\WIPReport.cs:line 506 at Ice.Core.TaskBase1.StartProcess(Int64 instanceTaskNum, String outputFileName) in C:_releases\ICE\ICE4.3.100.10\Source\Server\Internal\Lib\TaskLib\TaskBase\TaskBase.cs:line 83 at Ice.Hosting.TaskCaller.InnerExecuteTask(IceDataContext newContext) in C:_releases\ICE\ICE4.3.100.10\Source\Server\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 113 at Ice.Hosting.TaskCaller.ExecuteTask() in C:_releases\ICE\ICE4.3.100.10\Source\Server\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 61 at Ice.Hosting.TaskCaller.ExecuteTask(IceDataContext dataContext, Boolean suppressTransaction) in C:_releases\ICE\ICE4.3.100.10\Source\Server\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 41 at Ice.Services.Lib.RunTaskSvc.<>c__DisplayClass30_2.b__1() in C:_releases\ICE\ICE4.3.100.0\Source\Server\Services\Lib\RunTask\RunTask.cs:line 460 at Ice.Lib.RunTask.BpmFriendlyTaskLauncher.Run(String sessionIdPrefix, IceContext db, Action taskRunner) in C:_releases\ICE\ICE4.3.100.0\Source\Server\Services\Lib\RunTask\BpmFriendlyTaskLauncher.cs:line 57 at Ice.Services.Lib.RunTaskSvc.InnerRunTask(Int64 ipTaskNum, Boolean suppressTransaction) in C:_releases\ICE\ICE4.3.100.0\Source\Server\Services\Lib\RunTask\RunTask.cs:line 457

Anyone have an idea as to what would cause this?

I had something similar to this a while back. I remember we narrowed it down by running individual product groups, had some corrupt records due to child jobs being firmed before parents. We also had someone run it for WIP Cleared Status = Both, which were too many records in our case.

I couldn’t tell what parameters you were using to run it, see if you can run it for WIP Cleared Status = No and only include jobs not closed. If that doesn’t work, run the same parameters but filter by product group to see if it’s only 1 product group with an issue. You could then narrow it down by jobs in that product group.

Sorry, I don’t have an easy button for you. You could also open a call with support on it.

Good luck!
Jenn

JennL, thank you for the detailed response. I will be giving this a look and will report back.
In my world, there is never an EASY BUTTON! :rofl:

1 Like