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.AggregateException
One or more errors occurred.
System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: {document}.UpdateImageUserId is not supported.
at MongoDB.Driver.Linq.Translators.PredicateTranslator.GetFieldExpression(Expressionexpression)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.TranslateIsNullOrEmpty(MethodCallExpressionmethodCallExpression)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.TranslateMethodCall(MethodCallExpressionmethodCallExpression)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.Translate(Expressionnode)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.TranslateAndAlso(BinaryExpressionnode)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.Translate(Expressionnode)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.Translate(Expressionnode, IBsonSerializerRegistryserializerRegistry)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.Translate[TDocument](Expression`1predicate, IBsonSerializer`1parameterSerializer, IBsonSerializerRegistryserializerRegistry)
at MongoDB.Driver.ExpressionFilterDefinition`1.Render(IBsonSerializer`1documentSerializer, IBsonSerializerRegistryserializerRegistry)
at MongoDB.Driver.MongoCollectionImpl`1.CreateFindOperation[TProjection](FilterDefinition`1filter, FindOptions`2options)
at MongoDB.Driver.MongoCollectionImpl`1.FindAsync[TProjection](IClientSessionHandlesession, FilterDefinition`1filter, FindOptions`2options, CancellationTokencancellationToken)
at MongoDB.Driver.MongoCollectionImpl`1.<>c__DisplayClass43_0`1.<FindAsync>b__0(IClientSessionHandlesession)
at MongoDB.Driver.MongoCollectionImpl`1.<UsingImplicitSessionAsync>d__101`1.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(BooleanincludeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(BooleanwaitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at OI.Service.HangfireTask.DrugImport.DrugImageImportTask.<UpdateDrugImage>d__10.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImageImportTask.cs:line 122
--- 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.DrugImport.DrugImageImportTask.<ImportDrugImage>d__9.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImageImportTask.cs:line 110
---> (Inner Exception #0) System.InvalidOperationException: {document}.UpdateImageUserId is not supported.
at MongoDB.Driver.Linq.Translators.PredicateTranslator.GetFieldExpression(Expressionexpression)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.TranslateIsNullOrEmpty(MethodCallExpressionmethodCallExpression)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.TranslateMethodCall(MethodCallExpressionmethodCallExpression)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.Translate(Expressionnode)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.TranslateAndAlso(BinaryExpressionnode)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.Translate(Expressionnode)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.Translate(Expressionnode, IBsonSerializerRegistryserializerRegistry)
at MongoDB.Driver.Linq.Translators.PredicateTranslator.Translate[TDocument](Expression`1predicate, IBsonSerializer`1parameterSerializer, IBsonSerializerRegistryserializerRegistry)
at MongoDB.Driver.ExpressionFilterDefinition`1.Render(IBsonSerializer`1documentSerializer, IBsonSerializerRegistryserializerRegistry)
at MongoDB.Driver.MongoCollectionImpl`1.CreateFindOperation[TProjection](FilterDefinition`1filter, FindOptions`2options)
at MongoDB.Driver.MongoCollectionImpl`1.FindAsync[TProjection](IClientSessionHandlesession, FilterDefinition`1filter, FindOptions`2options, CancellationTokencancellationToken)
at MongoDB.Driver.MongoCollectionImpl`1.<>c__DisplayClass43_0`1.<FindAsync>b__0(IClientSessionHandlesession)
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97