// Job ID: #688be2b8c5757cc430b74197
using OI.Service.HangfireTask.CreatePackJob;
var printPackJobTask = Activate<PrintPackJobTask>();
await printPackJobTask.RobotPack_Jobs(
"67be4bb8a7ab950c04ba51df",
"67d0de4e08efed0fa83e685e",
"JLeven",
"Joanne Leven",
new { "688be2ac9f65aa98155c3118", "688be2ae9f65aa98155c319d" });
"en-US""en-US"An exception occurred during performance of the job.
Index was outside the bounds of the array.
System.IndexOutOfRangeException: Index was outside the bounds of the array. at OI.Service.HangfireTask.CreatePackJob.PrintPackJobTask.RecordVPB(List`1& updVPBalances, List`1& newVPBalances, List`1& newVPHistories, Patient patient, String jobId, List`1 prescriptionIds, PackingFoil packingFoil, Int32 numWeek, DateTime packStartDate, Dictionary`2 doseAllocated, List`1 headings) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\CreatePackJob\PrintPackJobTask.cs:line 897 at OI.Service.HangfireTask.CreatePackJob.PrintPackJobTask.<UpdateVPBalance>d__57.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\CreatePackJob\PrintPackJobTask.cs:line 724 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at OI.Service.HangfireTask.CreatePackJob.PrintPackJobTask.<RobotPack_Jobs>d__52.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\CreatePackJob\PrintPackJobTask.cs:line 325