When i print preview the report, the system monitor shows an error like below. I know there is a problem of a date (2021/4/1). However, i have no idea how to fix it.
Program Ice.Services.Lib.RunTask raised an unexpected exception with the following message: RunTask: An item with the same key has already been added.
Stack Trace:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) at Erp.Internal.GL.LegalNumHistoryReport.getDocumentRefDic(String[] RelatedToFileList, Dictionary2& docRefDic, List`1 LNIDList) in c:_Releases\ERP\RL10.2.200.0\Source\Server\Internal\GL\LegalNumHistory\LegalNumHistoryReport.cs:line 200
at Erp.Internal.GL.LegalNumHistoryReport.dumpLegalNumberHistory() in c:_Releases\ERP\RL10.2.200.0\Source\Server\Internal\GL\LegalNumHistory\LegalNumHistoryReport.cs:line 124
at Erp.Internal.GL.LegalNumHistoryReport.RunProcess(Int64 instanceTaskNum, String outputFileName) in c:_Releases\ERP\RL10.2.200.0\Source\Server\Internal\GL\LegalNumHistory\LegalNumHistoryReport.cs:line 81
at Ice.Hosting.TaskCaller.InnerExecuteTask(IceDataContext newContext) in C:_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 98
at Ice.Hosting.TaskCaller.ExecuteTask() in C:_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 57
at Ice.Lib.RunTask.BpmFriendlyTaskLauncher.Run(String sessionIdPrefix, IceContext db, Action taskRunner) in C:_Releases\ICE\RL3.2.200.0\Source\Server\Services\Lib\RunTask\BpmFriendlyTaskLauncher.cs:line 63
at Ice.Services.Lib.RunTaskSvc.InnerRunTask(Int64 ipTaskNum, Boolean suppressTransaction) in C:_Releases\ICE\RL3.2.200.0\Source\Server\Services\Lib\RunTask\RunTask.cs:line 547