Error for previously working request

Philipp
Philipp Contributor

Hi, I'm getting the following error for a request that was previously working fine, can you please advice?

DEBUG 2017-01-23 15:21:10,285 (69019) - Response Code : 500 / {"error":{"message":"ThomsonReuters.Dss.Core.Storage.StoreLocationNotFoundException: File could not be located.\r\nPath: \\\\NAS_Primary\\ExtractedFiles\\9010721\\9010721.0x0593fc69b32b2f86._OnD_0x0593fc5bddcb3016.csv.gz.notes.txt ---> System.IO.FileNotFoundException: Could not find file 'X:\\ExtractedFiles\\9010721\\9010721.0x0593fc69b32b2f86._OnD_0x0593fc5bddcb3016.csv.gz.notes.txt'.\r\n at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)\r\n at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)\r\n at ThomsonReuters.Dss.Core.Storage.FileSystem.FileSystemFacade.OpenRead(String path)\r\n at ThomsonReuters.Dss.Core.Storage.Blob.Providers.FileSystem.FileSystemBlobHelper.HandleExceptions[T](Func`1 method, String path)\r\n --- End of inner exception stack trace ---\r\n at ThomsonReuters.Dss.Core.Storage.Blob.Providers.FileSystem.FileSystemBlobHelper.HandleExceptions[T](Func`1 method, String path)\r\n at Reuters.DataScopeSelect.DataLayer.Entity.Extractions.ReportExtractions.ExtractedFileRepository.GetDefaultStream(String extractedFileId)\r\n at ThomsonReuters.Dss.Extractions.ReportExtractions.ExtractedFileBase.GetDefaultStreamImpl()\r\n at ThomsonReuters.Dss.Extractions.ReportExtractions.ExtractedFile.GetDefaultStreamImpl()\r\n at ThomsonReuters.Dss.Extractions.ReportExtractions.ExtractedFileBase.GetDefaultStream()\r\n at ThomsonReuters.Dss.Extractions.ExtractionsContext.<ExtractDatastormNotes>d__101.MoveNext()\r\n at System.Linq.Buffer`1..ctor(IEnumerable`1 source)\r\n at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)\r\n at ThomsonReuters.Dss.Extractions.ExtractionsContext.ExtractRawLegacyResultImpl(IJob job)\r\n at ThomsonReuters.Dss.Extractions.ExtractionsContext.<GetRawExtractionResult>d__5b.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at ThomsonReuters.Dss.Extractions.ExtractionsContext.<ExtractRawResultImpl>d__55.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at ThomsonReuters.Dss.Extractions.ExtractionsContextBase.<ExtractRawResult>d__25.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at ThomsonReuters.Dss.Api.Extractions.ExtractionsContextBaseController.<ExtractRawResult>d__23.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__3`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext() Error ID: [17387b35-a085-46fc-bdf4-758f0ddb5b9e]"}}

Best Answer

  • Brian
    Brian LSEG
    Answer ✓

    Hi Philipp,

    I think we have determined the problem. There was a race condition of writing the notes file and marking the extraction done. We have put a fix in place for the 11.0 version. You can disregard my previous question.

    Thanks,

    Brian

Answers