After editing an existing comment this error comes up after clicking [OK] in the Edit Comment dialog. The changes to the comment aren't saved. They are still there though while the "Edit Target Comments" dialog is open (i.e. I can click on [Edit] and see my changes in the Edit Comment dialog).
<SDLErrorDetails time="19.01.2022 20:10:16">
<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.TranslationStudio.Editor</Source>
<HResult>-2147467261</HResult>
<StackTrace><![CDATA[ at Sdl.TranslationStudio.Editor.Comments.EditCommentsDlg.buttonUpdate_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]></StackTrace>
</Exception>
<Environment>
<ProductName>Trados Studio</ProductName>
<ProductVersion>Studio16</ProductVersion>
<EntryAssemblyFileVersion>16.2.9.9198</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>
<ServicePack>NULL</ServicePack>
<OperatingSystemLanguage>1033</OperatingSystemLanguage>
<CodePage>1252</CodePage>
<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
<ConnectedToNetwork>True</ConnectedToNetwork>
<PhysicalMemory>16670208 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>
This happens since the upgrade to Studio 2021 and it concerns target comments added by myself. I haven't tried this with other comments.
My current workaround is
- copy the comment's text to the clipboard
- delete the comment
- create a new comment, paste in the text, edit it and save ([OK])
Of course, it is cumbersome and I would appreciate if this would work again as it should.

Translate