Failed jobs do not become expired to allow you to re-queue them without any
time pressure. You should re-queue or delete them manually, or apply AutomaticRetry(OnAttemptsExceeded = AttemptsExceededAction.Delete)
attribute to delete them automatically.
An exception occurred during performance of the job. Fewer details...
System.Net.Http.HttpRequestException
An error occurred while sending the request.
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResultasyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResultar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetFacilityIdAsync>d__8.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 149
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetAllPatientsBynhCodeAsync>d__4.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 61
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSync.<ImportPatientsScripts>d__16.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSync.cs:line 71
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSyncTask.<RunDispenseSyncForPharmacy>d__7.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSyncTask.cs:line 67
An exception occurred during performance of the job. More details...
System.Net.Http.HttpRequestException
An error occurred while sending the request.
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResultasyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResultar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetFacilityIdAsync>d__8.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 149
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetAllPatientsBynhCodeAsync>d__4.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 61
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSync.<ImportPatientsScripts>d__16.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSync.cs:line 71
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSyncTask.<RunDispenseSyncForPharmacy>d__7.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSyncTask.cs:line 67
An exception occurred during performance of the job. More details...
System.Net.Http.HttpRequestException
An error occurred while sending the request.
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResultasyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResultar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetFacilityIdAsync>d__8.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 149
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetAllPatientsBynhCodeAsync>d__4.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 61
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSync.<ImportPatientsScripts>d__16.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSync.cs:line 71
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSyncTask.<RunDispenseSyncForPharmacy>d__7.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSyncTask.cs:line 67
An exception occurred during performance of the job. More details...
System.Net.Http.HttpRequestException
An error occurred while sending the request.
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResultasyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResultar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetFacilityIdAsync>d__8.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 149
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetAllPatientsBynhCodeAsync>d__4.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 61
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSync.<ImportPatientsScripts>d__16.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSync.cs:line 71
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSyncTask.<RunDispenseSyncForPharmacy>d__7.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSyncTask.cs:line 67
An exception occurred during performance of the job. More details...
System.Net.Http.HttpRequestException
An error occurred while sending the request.
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResultasyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResultar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetFacilityIdAsync>d__8.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 149
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetAllPatientsBynhCodeAsync>d__4.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 61
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSync.<ImportPatientsScripts>d__16.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSync.cs:line 71
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSyncTask.<RunDispenseSyncForPharmacy>d__7.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSyncTask.cs:line 67
An exception occurred during performance of the job. More details...
System.Net.Http.HttpRequestException
An error occurred while sending the request.
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResultasyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResultar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetFacilityIdAsync>d__8.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 149
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetAllPatientsBynhCodeAsync>d__4.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 61
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSync.<ImportPatientsScripts>d__16.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSync.cs:line 71
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSyncTask.<RunDispenseSyncForPharmacy>d__7.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSyncTask.cs:line 67
An exception occurred during performance of the job. More details...
System.Net.Http.HttpRequestException
An error occurred while sending the request.
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResultasyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResultar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetFacilityIdAsync>d__8.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 149
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetAllPatientsBynhCodeAsync>d__4.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 61
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSync.<ImportPatientsScripts>d__16.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSync.cs:line 71
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSyncTask.<RunDispenseSyncForPharmacy>d__7.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSyncTask.cs:line 67
An exception occurred during performance of the job. More details...
System.Net.Http.HttpRequestException
An error occurred while sending the request.
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResultasyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResultar)
--- End of inner exception stack trace ---
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetScriptsByFacilityCode>d__6.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 124
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSync.<ImportPatientsScripts>d__16.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSync.cs:line 74
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSyncTask.<RunDispenseSyncForPharmacy>d__7.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSyncTask.cs:line 67
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.Exception
Value for parameter QueueName is invalid. Reason: Must specify a queue name.
System.Exception: Value for parameter QueueName is invalid. Reason: Must specify a queue name.
at OI.Service.AWS.SQS.SQSService.<SendMessage>d__6.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\AWS.SQS\SQSService.cs:line 116
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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 382
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.FormatException
An error occurred while deserializing the DistributionPrescriptions property of class OI.Domain.PackingFoil: An error occurred while deserializing the Drug property of class OI.Domain.Prescription: An error occurred while deserializing the Authorized property of class OI.Domain.Drug: Exception of type 'System.OutOfMemoryException' was thrown.
System.FormatException: An error occurred while deserializing the DistributionPrescriptions property of class OI.Domain.PackingFoil: An error occurred while deserializing the Drug property of class OI.Domain.Prescription: An error occurred while deserializing the Authorized property of class OI.Domain.Drug: Exception of type 'System.OutOfMemoryException' was thrown. ---> System.FormatException: An error occurred while deserializing the Drug property of class OI.Domain.Prescription: An error occurred while deserializing the Authorized property of class OI.Domain.Drug: Exception of type 'System.OutOfMemoryException' was thrown. ---> System.FormatException: An error occurred while deserializing the Authorized property of class OI.Domain.Drug: Exception of type 'System.OutOfMemoryException' was thrown. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at MongoDB.Bson.Serialization.Serializers.SerializerBase`1.MongoDB.Bson.Serialization.IBsonSerializer.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize(IBsonSerializerserializer, BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
--- End of inner exception stack trace ---
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeClass(BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.Serializers.SerializerBase`1.MongoDB.Bson.Serialization.IBsonSerializer.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize(IBsonSerializerserializer, BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
--- End of inner exception stack trace ---
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeClass(BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1serializer, BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.Serializers.EnumerableSerializerBase`2.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.Serializers.SerializerBase`1.MongoDB.Bson.Serialization.IBsonSerializer.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize(IBsonSerializerserializer, BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
--- End of inner exception stack trace ---
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeClass(BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1serializer, BsonDeserializationContextcontext)
at MongoDB.Driver.Core.Operations.CursorBatchDeserializationHelper.DeserializeBatch[TDocument](RawBsonArraybatch, IBsonSerializer`1documentSerializer, MessageEncoderSettingsmessageEncoderSettings)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.CreateCursorBatch(BsonDocumentresult)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.ExecuteGetMoreCommand(IChannelHandlechannel, CancellationTokencancellationToken)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.GetNextBatch(CancellationTokencancellationToken)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.MoveNext(CancellationTokencancellationToken)
at MongoDB.Driver.IAsyncCursorExtensions.ToList[TDocument](IAsyncCursor`1source, CancellationTokencancellationToken)
at OI.Data.MongoDBRepository`1.<>c__DisplayClass23_0.<<GetAsync>b__0>d.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Data\MongoDBRepository.cs:line 248
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Data.MongoDBRepository`1.<GetAsync>d__23.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Data\MongoDBRepository.cs:line 244
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.PackingFoilTask.<ExecuteUpdateDrug>d__6.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\PackingFoil\PackingFoilTask.cs:line 55
An exception occurred during performance of the job. More details...
System.FormatException
An error occurred while deserializing the Prescriptions property of class OI.Domain.PackingFoil: An error occurred while deserializing the BarCode property of class OI.Domain.PackingPrescription: Exception of type 'System.OutOfMemoryException' was thrown.
System.FormatException: An error occurred while deserializing the Prescriptions property of class OI.Domain.PackingFoil: An error occurred while deserializing the BarCode property of class OI.Domain.PackingPrescription: Exception of type 'System.OutOfMemoryException' was thrown. ---> System.FormatException: An error occurred while deserializing the BarCode property of class OI.Domain.PackingPrescription: Exception of type 'System.OutOfMemoryException' was thrown. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Reflection.RuntimeConstructorInfo.GetParameters()
at MongoDB.Bson.Serialization.Serializers.EnumerableInterfaceImplementerSerializer`2.FinalizeResult(Objectaccumulator)
at MongoDB.Bson.Serialization.Serializers.EnumerableSerializerBase`2.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.Serializers.SerializerBase`1.MongoDB.Bson.Serialization.IBsonSerializer.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize(IBsonSerializerserializer, BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
--- End of inner exception stack trace ---
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeClass(BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1serializer, BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.Serializers.EnumerableSerializerBase`2.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.Serializers.SerializerBase`1.MongoDB.Bson.Serialization.IBsonSerializer.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize(IBsonSerializerserializer, BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
--- End of inner exception stack trace ---
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeClass(BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1serializer, BsonDeserializationContextcontext)
at MongoDB.Driver.Core.Operations.CursorBatchDeserializationHelper.DeserializeBatch[TDocument](RawBsonArraybatch, IBsonSerializer`1documentSerializer, MessageEncoderSettingsmessageEncoderSettings)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.CreateCursorBatch(BsonDocumentresult)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.ExecuteGetMoreCommand(IChannelHandlechannel, CancellationTokencancellationToken)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.GetNextBatch(CancellationTokencancellationToken)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.MoveNext(CancellationTokencancellationToken)
at MongoDB.Driver.IAsyncCursorExtensions.ToList[TDocument](IAsyncCursor`1source, CancellationTokencancellationToken)
at OI.Data.MongoDBRepository`1.<>c__DisplayClass23_0.<<GetAsync>b__0>d.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Data\MongoDBRepository.cs:line 248
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Data.MongoDBRepository`1.<GetAsync>d__23.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Data\MongoDBRepository.cs:line 244
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.PackingFoilTask.<ExecuteUpdateDrug>d__6.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\PackingFoil\PackingFoilTask.cs:line 55
An exception occurred during performance of the job. More details...
System.FormatException
An error occurred while deserializing the Prescriptions property of class OI.Domain.PackingFoil: An error occurred while deserializing the OffDays property of class OI.Domain.Prescription: Exception of type 'System.OutOfMemoryException' was thrown.
System.FormatException: An error occurred while deserializing the Prescriptions property of class OI.Domain.PackingFoil: An error occurred while deserializing the OffDays property of class OI.Domain.Prescription: Exception of type 'System.OutOfMemoryException' was thrown. ---> System.FormatException: An error occurred while deserializing the OffDays property of class OI.Domain.Prescription: Exception of type 'System.OutOfMemoryException' was thrown. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at MongoDB.Bson.Serialization.Serializers.SerializerBase`1.MongoDB.Bson.Serialization.IBsonSerializer.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize(IBsonSerializerserializer, BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
--- End of inner exception stack trace ---
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeClass(BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1serializer, BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.Serializers.EnumerableSerializerBase`2.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.Serializers.SerializerBase`1.MongoDB.Bson.Serialization.IBsonSerializer.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize(IBsonSerializerserializer, BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
--- End of inner exception stack trace ---
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeClass(BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1serializer, BsonDeserializationContextcontext)
at MongoDB.Driver.Core.Operations.CursorBatchDeserializationHelper.DeserializeBatch[TDocument](RawBsonArraybatch, IBsonSerializer`1documentSerializer, MessageEncoderSettingsmessageEncoderSettings)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.CreateCursorBatch(BsonDocumentresult)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.ExecuteGetMoreCommand(IChannelHandlechannel, CancellationTokencancellationToken)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.GetNextBatch(CancellationTokencancellationToken)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.MoveNext(CancellationTokencancellationToken)
at MongoDB.Driver.IAsyncCursorExtensions.ToList[TDocument](IAsyncCursor`1source, CancellationTokencancellationToken)
at OI.Data.MongoDBRepository`1.<>c__DisplayClass23_0.<<GetAsync>b__0>d.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Data\MongoDBRepository.cs:line 248
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Data.MongoDBRepository`1.<GetAsync>d__23.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Data\MongoDBRepository.cs:line 244
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.PackingFoilTask.<ExecuteUpdateDrug>d__6.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\PackingFoil\PackingFoilTask.cs:line 55
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.FormatException
An error occurred while deserializing the DistributionPrescriptions property of class OI.Domain.PackingFoil: An error occurred while deserializing the PackedWeekDay property of class OI.Domain.Prescription: Exception of type 'System.OutOfMemoryException' was thrown.
System.FormatException: An error occurred while deserializing the DistributionPrescriptions property of class OI.Domain.PackingFoil: An error occurred while deserializing the PackedWeekDay property of class OI.Domain.Prescription: Exception of type 'System.OutOfMemoryException' was thrown. ---> System.FormatException: An error occurred while deserializing the PackedWeekDay property of class OI.Domain.Prescription: Exception of type 'System.OutOfMemoryException' was thrown. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at MongoDB.Bson.IO.BsonBinaryReader.ReadStartArray()
at MongoDB.Bson.Serialization.Serializers.IEnumerableDeserializingAsCollectionSerializer`3.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.Serializers.SerializerBase`1.MongoDB.Bson.Serialization.IBsonSerializer.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize(IBsonSerializerserializer, BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
--- End of inner exception stack trace ---
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeClass(BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.Serializers.SerializerBase`1.MongoDB.Bson.Serialization.IBsonSerializer.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize(IBsonSerializerserializer, BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1serializer, BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.Serializers.EnumerableSerializerBase`2.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.Serializers.SerializerBase`1.MongoDB.Bson.Serialization.IBsonSerializer.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize(IBsonSerializerserializer, BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
--- End of inner exception stack trace ---
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeClass(BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1serializer, BsonDeserializationContextcontext)
at MongoDB.Driver.Core.Operations.CursorBatchDeserializationHelper.DeserializeBatch[TDocument](RawBsonArraybatch, IBsonSerializer`1documentSerializer, MessageEncoderSettingsmessageEncoderSettings)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.CreateCursorBatch(BsonDocumentresult)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.ExecuteGetMoreCommand(IChannelHandlechannel, CancellationTokencancellationToken)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.GetNextBatch(CancellationTokencancellationToken)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.MoveNext(CancellationTokencancellationToken)
at MongoDB.Driver.IAsyncCursorExtensions.ToList[TDocument](IAsyncCursor`1source, CancellationTokencancellationToken)
at OI.Data.MongoDBRepository`1.<>c__DisplayClass23_0.<<GetAsync>b__0>d.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Data\MongoDBRepository.cs:line 248
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Data.MongoDBRepository`1.<GetAsync>d__23.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Data\MongoDBRepository.cs:line 244
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.PackingFoilTask.<ExecuteUpdateDrug>d__6.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\PackingFoil\PackingFoilTask.cs:line 55
An exception occurred during performance of the job. More details...
System.FormatException
An error occurred while deserializing the Patient property of class OI.Domain.PackingFoil: Exception of type 'System.OutOfMemoryException' was thrown.
System.FormatException: An error occurred while deserializing the Patient property of class OI.Domain.PackingFoil: Exception of type 'System.OutOfMemoryException' was thrown. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.String.CreateStringFromEncoding(Byte*bytes, Int32byteLength, Encodingencoding)
at System.Text.UTF8Encoding.GetString(Byte[]bytes, Int32index, Int32count)
at MongoDB.Bson.IO.Utf8Helper.DecodeUtf8String(Byte[]bytes, Int32index, Int32count, UTF8Encodingencoding)
at MongoDB.Bson.IO.Utf8NameDecoder.Decode(BsonStreamstream, UTF8Encodingencoding)
at MongoDB.Bson.IO.BsonBinaryReader.ReadName(INameDecodernameDecoder)
at MongoDB.Bson.IO.IBsonReaderExtensions.FindElement(IBsonReaderreader, Stringname)
at MongoDB.Bson.Serialization.Conventions.StandardDiscriminatorConvention.GetActualType(IBsonReaderbsonReader, TypenominalType)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.Serializers.SerializerBase`1.MongoDB.Bson.Serialization.IBsonSerializer.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize(IBsonSerializerserializer, BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
--- End of inner exception stack trace ---
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContextcontext, BsonMemberMapmemberMap)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeClass(BsonDeserializationContextcontext)
at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContextcontext, BsonDeserializationArgsargs)
at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1serializer, BsonDeserializationContextcontext)
at MongoDB.Driver.Core.Operations.CursorBatchDeserializationHelper.DeserializeBatch[TDocument](RawBsonArraybatch, IBsonSerializer`1documentSerializer, MessageEncoderSettingsmessageEncoderSettings)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.CreateCursorBatch(BsonDocumentresult)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.ExecuteGetMoreCommand(IChannelHandlechannel, CancellationTokencancellationToken)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.GetNextBatch(CancellationTokencancellationToken)
at MongoDB.Driver.Core.Operations.AsyncCursor`1.MoveNext(CancellationTokencancellationToken)
at MongoDB.Driver.IAsyncCursorExtensions.ToList[TDocument](IAsyncCursor`1source, CancellationTokencancellationToken)
at OI.Data.MongoDBRepository`1.<>c__DisplayClass23_0.<<GetAsync>b__0>d.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Data\MongoDBRepository.cs:line 248
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Data.MongoDBRepository`1.<GetAsync>d__23.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Data\MongoDBRepository.cs:line 244
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.PackingFoilTask.<ExecuteUpdateDrug>d__6.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\PackingFoil\PackingFoilTask.cs:line 55
An exception occurred during performance of the job. More details...
System.Exception
Value for parameter QueueName is invalid. Reason: Must specify a queue name.
System.Exception: Value for parameter QueueName is invalid. Reason: Must specify a queue name.
at OI.Service.AWS.SQS.SQSService.<SendMessage>d__6.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\AWS.SQS\SQSService.cs:line 116
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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 382
An exception occurred during performance of the job. More details...
System.Net.Http.HttpRequestException
Error while copying content to a stream.
System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResultasyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResultasyncResult)
--- End of inner exception stack trace ---
at System.Net.ConnectStream.EndRead(IAsyncResultasyncResult)
at System.Net.Http.HttpClientHandler.WebExceptionWrapperStream.EndRead(IAsyncResultasyncResult)
at System.Net.Http.StreamToStreamCopy.BufferReadCallback(IAsyncResultar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetAllPatientsBynhCodeAsync>d__4.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 61
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSync.<ImportPatientsScripts>d__16.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSync.cs:line 71
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSyncTask.<RunDispenseSyncForPharmacy>d__7.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSyncTask.cs:line 67
An exception occurred during performance of the job. More details...
System.Net.Http.HttpRequestException
Error while copying content to a stream.
System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResultasyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResultasyncResult)
--- End of inner exception stack trace ---
at System.Net.ConnectStream.EndRead(IAsyncResultasyncResult)
at System.Net.Http.HttpClientHandler.WebExceptionWrapperStream.EndRead(IAsyncResultasyncResult)
at System.Net.Http.StreamToStreamCopy.BufferReadCallback(IAsyncResultar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetAllPatientsBynhCodeAsync>d__4.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 61
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSync.<ImportPatientsScripts>d__16.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSync.cs:line 71
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSyncTask.<RunDispenseSyncForPharmacy>d__7.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSyncTask.cs:line 67
An exception occurred during performance of the job. More details...
System.Net.Http.HttpRequestException
Error while copying content to a stream.
System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResultasyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResultasyncResult)
--- End of inner exception stack trace ---
at System.Net.ConnectStream.EndRead(IAsyncResultasyncResult)
at System.Net.Http.HttpClientHandler.WebExceptionWrapperStream.EndRead(IAsyncResultasyncResult)
at System.Net.Http.StreamToStreamCopy.BufferReadCallback(IAsyncResultar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetAllPatientsBynhCodeAsync>d__4.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 61
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSync.<ImportPatientsScripts>d__16.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSync.cs:line 71
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSyncTask.<RunDispenseSyncForPharmacy>d__7.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSyncTask.cs:line 67
An exception occurred during performance of the job. More details...
System.Net.Http.HttpRequestException
Error while copying content to a stream.
System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResultasyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResultasyncResult)
--- End of inner exception stack trace ---
at System.Net.ConnectStream.EndRead(IAsyncResultasyncResult)
at System.Net.Http.HttpClientHandler.WebExceptionWrapperStream.EndRead(IAsyncResultasyncResult)
at System.Net.Http.StreamToStreamCopy.BufferReadCallback(IAsyncResultar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseIntegration.FredDPDispenseIntegration.<GetAllPatientsBynhCodeAsync>d__4.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseIntegration\FredDPDispenseIntegration.cs:line 61
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSync.<ImportPatientsScripts>d__16.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSync.cs:line 71
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DispenseSync.DispenseSyncTask.<RunDispenseSyncForPharmacy>d__7.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DispenseSync\DispenseSyncTask.cs:line 67
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.InvalidOperationException
Nullable object must have a value.
System.InvalidOperationException: Nullable object must have a value.
at OI.Service.HangfireTask.CreatePackJob.CreatePackJobTask.<GeneratePackJob>d__38.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\CreatePackJob\CreatePackJobTask.cs:line 328
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.CreatePackJob.CreatePackJobTask.<CreatePackJob>d__37.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\CreatePackJob\CreatePackJobTask.cs:line 141
An exception occurred during performance of the job. More details...
System.InvalidOperationException
Nullable object must have a value.
System.InvalidOperationException: Nullable object must have a value.
at OI.Service.HangfireTask.CreatePackJob.CreatePackJobTask.<GeneratePackJob>d__38.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\CreatePackJob\CreatePackJobTask.cs:line 328
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.CreatePackJob.CreatePackJobTask.<CreatePackJob>d__37.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\CreatePackJob\CreatePackJobTask.cs:line 141
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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
An exception occurred during performance of the job. More details...
System.IndexOutOfRangeException
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, Patientpatient, StringjobId, List`1prescriptionIds, PackingFoilpackingFoil, Int32numWeek, DateTimepackStartDate, Dictionary`2doseAllocated, List`1headings) 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(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
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