"Object reference not set to an instance of an object" when saving a file with a segment with comment

Hello,

I need to add yet another item to the a quite long list of occurrences of "Object reference not set to an instance of an object" error message. In my case, it shows up every time I'm trying to save a project file with a segment commented (tested with different types of comment FYI, Warning, Error - all the same).

See the log file for more info.

Any ideas anybody?

Thank you for help in advance, it will be greatly appreciated.

Jonáš.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<SDLErrorDetails time="06.08.2020 9:04:06">
<ErrorMessage>Odkaz na objekt není nastaven na instanci objektu.</ErrorMessage>
<Exception>
<Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<HelpLink />
<Source>Sdl.TranslationStudio.Api</Source>
<HResult>-2147467261</HResult>
<StackTrace><![CDATA[ v Sdl.TranslationStudio.Api.Common.SdlxliffXmlDocumentHelper.RemoveUnwantedCommentDefinitions(XDocument childDocument, XmlNamespaceManager nsManager)
v Sdl.TranslationStudio.Api.Common.SdlxliffXmlDocumentHelper.TransferDocumentInfo(XDocument mergedDocument, XDocument childDocument, XmlNamespaceManager nsManager)
v Sdl.TranslationStudio.Api.Common.MergedFileChildrenPersister.CreateChildFilesDocuments(XmlNamespaceManager nsManager)
v Sdl.TranslationStudio.Api.Common.MergedFileChildrenPersister.SaveChildFiles(String outputFile, String[] bilingualFilePaths)
v Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.SaveBilingualImpl(String[] bilingualFilePaths, Boolean copy, IJobExecutionContext context, Boolean isAutoSaved)
v Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.Save(IJobExecutionContext context)
v Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.SaveJobRequest.Execute(IJobExecutionContext context)
v Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__46_0()
v Sdl.Desktop.Platform.Implementation.Services.Log.Resources(Object message, Action action)
v Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
v System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
v System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX