Good morning,
I am working on a project with about 30 similar small files, and naturally I want to be working on them all at the same time, so I open them all together (select all > open for translation). However, when I added a comment to my translation I got the error message below and now any combination of merged file won't save. I can open and work on each individual file with no problems, but whenever I try a merge it doesn't work.
I noticed 'RemoveUnwantedCommentDefinitions' in the error message, but I don't know what that means and I would prefer not to have to delete all my comments if it's not guaranteed to fix the problem.
Any suggestions would be most welcome.
Edit: I gave up and deleted the comments, which did fix the issue, but as soon as I add a new comment the problem returns.
<SDLErrorDetails time="09/07/2020 09:41:30">
<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.Api</Source>
<HResult>-2147467261</HResult>
<StackTrace><![CDATA[ at Sdl.TranslationStudio.Api.Common.SdlxliffXmlDocumentHelper.RemoveUnwantedCommentDefinitions(XDocument childDocument, XmlNamespaceManager nsManager)
at Sdl.TranslationStudio.Api.Common.SdlxliffXmlDocumentHelper.TransferDocumentInfo(XDocument mergedDocument, XDocument childDocument, XmlNamespaceManager nsManager)
at Sdl.TranslationStudio.Api.Common.MergedFileChildrenPersister.CreateChildFilesDocuments(XmlNamespaceManager nsManager)
at Sdl.TranslationStudio.Api.Common.MergedFileChildrenPersister.SaveChildFiles(String outputFile, String[] bilingualFilePaths)
at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.SaveBilingualImpl(String[] bilingualFilePaths, Boolean copy, IJobExecutionContext context, Boolean isAutoSaved)
at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.Save(IJobExecutionContext context)
at Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.SaveJobRequest.Execute(IJobExecutionContext context)
at Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__46_0()
at Sdl.Desktop.Platform.Implementation.Services.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>14.0.0.0</ProductVersion>
<EntryAssemblyFileVersion>14.1.10018.54792</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
<ServicePack>NULL</ServicePack>
<OperatingSystemLanguage>1033</OperatingSystemLanguage>
<CodePage>1252</CodePage>
<LoggedOnUser>**********</LoggedOnUser>
<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
<ComputerName>**********</ComputerName>
<ConnectedToNetwork>True</ConnectedToNetwork>
<PhysicalMemory>8149212 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>
Translate