Analyze batch task not working after merging segments

Hi,

I'm using Trados 2021 and have the same problem as described in this blog: Analyze batch task not working after merging segments - Trados Studio - Translation Productivity - RWS Community (sdl.com). It seems to be a bug that has already been fixed five years ago. How can I deal with the problem now? Should I report a bug? Thanks in advance for your help!

Best regards,

Chengle

 Trados Studio Project Settings window showing an error message 'Failed to prepare projects since segments.'

Trados Studio Task Results window with an error 'Object reference not set to an instance of an object.'



Generated Image Alt-Text
[edited by: Trados AI at 4:09 AM (GMT 0) on 29 Feb 2024]
emoji
Parents Reply Children
  • Hello Mr. Whale,

    Thank you for your reply and the detailed explanation!

    My installed Trados Studio 2021 version is: Trados Studio 2021 SR1 - 16.1.8.4404. And attached you will find the error details.

    Unfortunately, I didn't find Trados Analyse as a separate program on my PC. Also, the folder C:\ProgramData\RWS AppStore cannot be found. I only have an SDL folder under C:\Program Files (x86). It is maybe due to the installed Studio version, that I don't have a RWS folder?

    I hope it is still a bit informative with the attached file and am looking forward to your reply!

    Best regards,

    <SDLErrorDetails time="21.09.2021 10:24:35">
      <ErrorMessage>Object reference not set to an instance of an object.</ErrorMessage>
      <Exception>
        <Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>Sdl.ProjectApi.AutomaticTasks</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   at Sdl.ProjectApi.AutomaticTasks.Analysis.AnalysisContentProcessorX.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.BilingualContentHandlerAdapter.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.ProjectApi.AutomaticTasks.TranslationMemoryLookupContentProcessor.OutputParagraphs()
       at Sdl.ProjectApi.AutomaticTasks.TranslationMemoryLookupContentProcessor.ProcessWaitingParagraphs()
       at Sdl.ProjectApi.AutomaticTasks.TranslationMemoryLookupContentProcessor.FileComplete()
       at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.FileComplete()
       at Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.BilingualContentHandlerAdapter.FileComplete()
       at Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.BilingualContentHandlerAdapter.FileComplete()
       at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.FileComplete()
       at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.FileComplete()
       at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.FileComplete()
       at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.FileComplete()
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.OnEndFile()
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.<>c.<HandleFile>b__15_1(ISdlXliffStreamContentHandler handler)
       at System.Collections.Generic.List`1.ForEach(Action`1 action)
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.HandleFile()
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.ContinueScanning()
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ContinueParsing()
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseNext()
       at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
       at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
       at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
       at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskFileExecuter.Parse(String targetFilePath)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>Studio16</ProductVersion>
        <EntryAssemblyFileVersion>16.1.8.4404</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Enterprise</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1031</OperatingSystemLanguage>
        <CodePage>936</CodePage>
        <LoggedOnUser>LNAG\ChengleWA</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>NOTEBOOK707</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>16636028 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>