After Studio crash: Error while generating Report for Translation Quality Assessment: Value cannot be null. Parameter name: key.

Hi all,

Note: this happened after Studio crash:

I've been working on a file with "Assess Quality" activated.
It's a 10000 words file and it seemed that this was a lot for Studio because all Tasks (especially Confirm segment) took a long time (about 15-20 seconds).

Then Studio crashed (as Studio often does :-)
But I could finish the review.

When I wanted to generate the report for Translation Quality Assessment, I got this error:

Unexpected exception when completing task 'Translation Quality Assessment': Value cannot be null. Parameter name: key.

My client is now waiting for the return Package and the report.

<SDLErrorDetails time="12.09.2021 09:28:22">
  <ErrorMessage>Unexpected exception when completing task 'Translation Quality Assessment': Value cannot be null.
Parameter name: key.</ErrorMessage>
  <Exception>
    <Type>Sdl.ProjectApi.ProjectApiException, Sdl.ProjectApi, Version=16.0.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
    <HelpLink />
    <Source>Sdl.ProjectApi.Implementation</Source>
    <HResult>-2146233088</HResult>
    <StackTrace><![CDATA[   at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskComplete()
   at Sdl.ProjectApi.Implementation.AutomaticTaskExecuter.Execute()]]></StackTrace>
    <InnerException>
      <Type>System.ArgumentNullException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
      <ParamName>key</ParamName>
      <HelpLink />
      <Source>mscorlib</Source>
      <HResult>-2147467261</HResult>
      <StackTrace><![CDATA[   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
   at Sdl.ProjectApi.AutomaticTasks.Feedback.FeedbackTask.CreateSegmentFeedbackGroupElementAttributes(SegmentFeedbackGroupSection segmentFeedbackGroupSection)
   at Sdl.ProjectApi.AutomaticTasks.Feedback.FeedbackTask.CreateSegmentFeedbackGroupElement(SegmentFeedbackGroup segmentFeedbackGroup)
   at Sdl.ProjectApi.AutomaticTasks.Feedback.FeedbackTask.<CreateSegmentFeedbackGroupsElement>b__38_0(SegmentFeedbackGroup a)
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content)
   at Sdl.ProjectApi.AutomaticTasks.Feedback.FeedbackTask.CreateSegmentFeedbackGroupsElement(String elementName, IEnumerable`1 segmentFeedbackGroups)
   at Sdl.ProjectApi.AutomaticTasks.Feedback.FeedbackTask.<CreateTQAElements>b__37_0(SegmentFeedbacks feedbacks)
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content)
   at Sdl.ProjectApi.AutomaticTasks.Feedback.FeedbackTask.CreateTQAElements(IEnumerable`1 segmentFeedbacks)
   at Sdl.ProjectApi.AutomaticTasks.Feedback.FeedbackTask.<CreateFileElement>b__29_0(FeedbackProcessor countProcessor)
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content)
   at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content)
   at Sdl.ProjectApi.AutomaticTasks.Feedback.FeedbackTask.<CreateLanguageElement>b__20_0(KeyValuePair`2 kvp)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content)
   at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content)
   at Sdl.ProjectApi.AutomaticTasks.Feedback.FeedbackTask.CreateTaskElement()
   at Sdl.ProjectApi.AutomaticTasks.Feedback.FeedbackTask.GenerateFeedbackReport()
   at Sdl.ProjectApi.AutomaticTasks.Feedback.FeedbackTask.TaskComplete()
   at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskComplete()]]></StackTrace>
    </InnerException>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>Studio16</ProductVersion>
    <EntryAssemblyFileVersion>16.1.8.4404</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1031</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>ARCHEON4\Jérôme Roy</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>ARCHEON4</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>16435092 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

Any idea what it could be?
Thanks in advance

J.R 

Parents
  • Might be worth noting this in the release notes for Trados Studio 2021:

    "To work around this issue, manually assign all your CategoryNotSet/Not Categorized TQA items one of the other TQA categories in your configuration. To do this, open your project files in the Editor view and check your 2021 TQA items in the TQAs window. To avoid compatibility issues, we recommend using TQA configurations created in Trados Studio 2021 only with the current and future Trados Studio releases."

    The error message this relates to is not exactly the same as the one you have received but I wouldn't discount these being related, especially since you have a package that could have been created in an earlier version of Trados Studio to the one you are using.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Hi Paul,

    Thanks as usual for your feedback :-)

    I've check and all items were assigned a category.
    Regarding the Studio Version: It's the 3rd package I'm working on, and I could generate the Report in the other 2 without problem, so I don't thing it's this.

    As I said, it happened after Studio crashed, so I'm afraid some file went corrupt after the crash.

    my thought:
    I guess what I see in the TGAs window is actually a file, and everything entry inside the window is fine.
    But perhaps this file got corrupted through the crash and one of the entry is now "wrong".
    Would it possible to check this file in Studio's repertory and edit it to see if everything is right?

Reply
  • Hi Paul,

    Thanks as usual for your feedback :-)

    I've check and all items were assigned a category.
    Regarding the Studio Version: It's the 3rd package I'm working on, and I could generate the Report in the other 2 without problem, so I don't thing it's this.

    As I said, it happened after Studio crashed, so I'm afraid some file went corrupt after the crash.

    my thought:
    I guess what I see in the TGAs window is actually a file, and everything entry inside the window is fine.
    But perhaps this file got corrupted through the crash and one of the entry is now "wrong".
    Would it possible to check this file in Studio's repertory and edit it to see if everything is right?

Children
No Data