Failed to verify document: value cannot be null, parameter name: fileName

When I try to verify a big bunch of files (77,000 words together) I get this error. It is very annoying, as Studio needs nearly half an hour of verifying to then show this error.

The error message is attached.

<SDLErrorDetails time="11.03.2021 09:30:05">
  <ErrorMessage>Failed to verify document: Value cannot be null.
Parameter name: fileName</ErrorMessage>
  <Exception>
    <Type>System.ArgumentNullException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <ParamName>fileName</ParamName>
    <HelpLink />
    <Source>mscorlib</Source>
    <HResult>-2147467261</HResult>
    <StackTrace><![CDATA[   at System.IO.FileInfo..ctor(String fileName)
   at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Services.FileService.GetFileInfo(String path)
   at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Excel.XlsxWriter.GetSourceFilePath(IPersistentFileConversionProperties fileProperties)
   at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Excel.XlsxWriter.GetProposedOutputFileInfo(IPersistentFileConversionProperties fileProperties, IOutputFileInfo proposedFileInfo)
   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.GetProposedFileInfoFromComponents(IFileProperties fileInfo, ContentRestriction contentRestriction)
   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.SetNativeOutputProperties(IFileProperties fileInfo)
   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.NextGenerator(IFileProperties fileInfo)
   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.SetFileProperties(IFileProperties fileInfo)
   at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.SetFileProperties(IFileProperties fileInfo)
   at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.SetFileProperties(IFileProperties fileInfo)
   at Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.vv_Visit(TmfcReaderImpl* , FrameworkFileContainerField* field)
   at FrameworkFileContainerField.vv_AcceptFrameworkVisitor(FrameworkFileContainerField* , FrameworkFieldVisitor* visitor)
   at Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.vv_VisitStartEndField(TmfcReaderImpl* , StartEndField* startEnd)
   at Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.b_VisitNext(TmfcReaderImpl* )
   at Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReader.ParseNext()
   at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
   at Sdl.TranslationStudio.Editor.Verification.VerifyDocumentJobRequest.PerformNativeVerification()
   at Sdl.TranslationStudio.Editor.Verification.VerifyDocumentJobRequest.Execute(IJobExecutionContext context)
   at Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__47_0()
   at Sdl.Desktop.Logger.Log.Resources(Object message, Action action)
   at Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>Studio16</ProductVersion>
    <EntryAssemblyFileVersion>16.1.4.4184</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1031</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>AzureAD\JerzyCzopik</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>SPITFIRE</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>50158348 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

It's quite urgent, I was supposed to deliver the translation today...

_________________________________________________________

When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

Parents Reply Children
  • I was able to check all the files in bunches. The biggest one alone, two other big files (+20,000 words together) and then the rest together in virtual merge,. Then I closed all files and run the batch verify for the inconsistences. All this worked. But when I open the files all together in virtual merge I cannot verify. Checked that twice and in both cases the error was the same.

    The job is delivered, but still I am curious what caused that error.

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.