I encounter the following error basically every time I generate a project with more than one file: Unexpected exception when configuring file multiFileConverter for task....
I copied all three stacktraces below. This is a very time-consuming affair, and I would wish for somebody from RWS to look into this. The project structure is flat - there are no subfolders.
Daniel
<SDLErrorDetails time="14/01/2022 10:40:10"> <ErrorMessage>Unexpected exception when configuring file multiFileConverter for task 'Apply PerfectMatch': Collection was modified; enumeration operation may not execute..</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.TaskFileExecuter.ConfigureConverter(IMultiFileConverter multiFileConverter, Language targetLanguage) at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskFileExecuter.CreateMultiFileConverter(IProjectFile tf, String filePath) at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskFileExecuter.Parse(String targetFilePath)]]></StackTrace> <InnerException> <Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type> <HelpLink /> <Source>mscorlib</Source> <HResult>-2146233079</HResult> <StackTrace><![CDATA[ at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) at System.Collections.Generic.List`1.Enumerator.MoveNextRare() at System.Collections.Generic.List`1.Enumerator.MoveNext() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at Sdl.LanguagePlatform.TranslationMemoryApi.LanguageResourceBundle.GetEntity(LanguageResourceType languageResourceType) at Sdl.LanguagePlatform.TranslationMemoryApi.LanguageResourceBundle.RemoveEntity(LanguageResourceType type) at Sdl.LanguagePlatform.TranslationMemoryApi.LanguageResourceBundle.RemoveEntities(LanguageResourceType[] types) at Sdl.LanguagePlatform.TranslationMemoryApi.LanguageResourceBundle.SaveDateTime() at Sdl.LanguagePlatform.TranslationMemoryApi.LanguageResourceBundle.SaveToEntities() at Sdl.LanguagePlatform.TranslationMemoryApi.LanguageResourceBundleCollection.SaveToEntities() at Sdl.LanguagePlatform.TranslationMemoryApi.LanguageResourceBundleCollection.get_ResourceDataAccessor() at Sdl.ProjectApi.AutomaticTasks.AbstractContentProcessorTaskImplementation.AddSegmentorToConverter(IExecutingTaskFile executingTaskFile, IBilingualProcessorContainer multiFileConverter) at Sdl.ProjectApi.AutomaticTasks.AbstractTmContentProcessorTaskImplementation.ConfigureConverter(IExecutingTaskFile executingTaskFile, IMultiFileConverter multiFileConverter) at Sdl.ProjectApi.AutomaticTasks.Translate.TranslateTask.ConfigureConverter(IExecutingTaskFile executingTaskFile, IMultiFileConverter multiFileConverter) at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskFileExecuter.ConfigureConverter(IMultiFileConverter multiFileConverter, Language targetLanguage)]]></StackTrace> </InnerException> </Exception> <Environment> <ProductName>Trados Studio</ProductName> <ProductVersion>Studio16</ProductVersion> <EntryAssemblyFileVersion>16.2.9.9198</EntryAssemblyFileVersion> <OperatingSystem>Microsoft Windows 10 Enterprise</OperatingSystem> <ServicePack>NULL</ServicePack> <OperatingSystemLanguage>1033</OperatingSystemLanguage> <CodePage>1252</CodePage> <LoggedOnUser>danielhug</LoggedOnUser> <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork> <ComputerName>ABCD</ComputerName> <ConnectedToNetwork>True</ConnectedToNetwork> <PhysicalMemory>16568624 MB</PhysicalMemory> </Environment> </SDLErrorDetails>
<SDLErrorDetails time="14/01/2022 10:39:52"> <ErrorMessage>Unexpected exception when completing task 'Analyze Files': Object reference not set to an instance of an object..</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.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.Tasks.Analysis.AnalysisTask.UpdateFileAnalysisStatistics(AnalysisContentProcessorX processor) at Sdl.ProjectApi.AutomaticTasks.Tasks.Analysis.AnalysisTask.TaskComplete() at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskComplete()]]></StackTrace> </InnerException> </Exception> <Environment> <ProductName>Trados Studio</ProductName> <ProductVersion>Studio16</ProductVersion> <EntryAssemblyFileVersion>16.2.9.9198</EntryAssemblyFileVersion> <OperatingSystem>Microsoft Windows 10 Enterprise</OperatingSystem> <ServicePack>NULL</ServicePack> <OperatingSystemLanguage>1033</OperatingSystemLanguage> <CodePage>1252</CodePage> <LoggedOnUser>danielhug</LoggedOnUser> <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork> <ComputerName>ABCD</ComputerName> <ConnectedToNetwork>True</ConnectedToNetwork> <PhysicalMemory>16568624 MB</PhysicalMemory> </Environment> </SDLErrorDetails>
<SDLErrorDetails time="14/01/2022 10:40:02"> <ErrorMessage>Unexpected exception when configuring file multiFileConverter for task 'Apply PerfectMatch': Collection was modified; enumeration operation may not execute..</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.TaskFileExecuter.ConfigureConverter(IMultiFileConverter multiFileConverter, Language targetLanguage) at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskFileExecuter.CreateMultiFileConverter(IProjectFile tf, String filePath) at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskFileExecuter.Parse(String targetFilePath)]]></StackTrace> <InnerException> <Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type> <HelpLink /> <Source>mscorlib</Source> <HResult>-2146233079</HResult> <StackTrace><![CDATA[ at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) at System.Collections.Generic.List`1.Enumerator.MoveNextRare() at System.Collections.Generic.List`1.Enumerator.MoveNext() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at Sdl.LanguagePlatform.TranslationMemoryApi.LanguageResourceBundle.GetEntity(LanguageResourceType languageResourceType) at Sdl.LanguagePlatform.TranslationMemoryApi.LanguageResourceBundle.SaveToEntity(Byte[] data, LanguageResourceType type) at Sdl.LanguagePlatform.TranslationMemoryApi.LanguageResourceBundle.SaveSegmentationRules() at Sdl.LanguagePlatform.TranslationMemoryApi.LanguageResourceBundle.SaveToEntities() at Sdl.LanguagePlatform.TranslationMemoryApi.LanguageResourceBundleCollection.SaveToEntities() at Sdl.LanguagePlatform.TranslationMemoryApi.LanguageResourceBundleCollection.get_ResourceDataAccessor() at Sdl.ProjectApi.Helpers.LanguageObjectsCache.<>c__DisplayClass7_0.<GetTokenizer>b__0(String _) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Sdl.ProjectApi.Helpers.LanguageObjectsCache.GetTokenizer(ITranslatableFile file) at Sdl.ProjectApi.AutomaticTasks.AbstractContentProcessorTaskImplementation.GetTokenizer(IExecutingTaskFile executingTaskFile) at Sdl.ProjectApi.AutomaticTasks.Translate.TranslateTask.ConfigureConverter(IExecutingTaskFile executingTaskFile, IMultiFileConverter multiFileConverter) at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskFileExecuter.ConfigureConverter(IMultiFileConverter multiFileConverter, Language targetLanguage)]]></StackTrace> </InnerException> </Exception> <Environment> <ProductName>Trados Studio</ProductName> <ProductVersion>Studio16</ProductVersion> <EntryAssemblyFileVersion>16.2.9.9198</EntryAssemblyFileVersion> <OperatingSystem>Microsoft Windows 10 Enterprise</OperatingSystem> <ServicePack>NULL</ServicePack> <OperatingSystemLanguage>1033</OperatingSystemLanguage> <CodePage>1252</CodePage> <LoggedOnUser>danielhug</LoggedOnUser> <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork> <ComputerName>ABCD</ComputerName> <ConnectedToNetwork>True</ConnectedToNetwork> <PhysicalMemory>16568624 MB</PhysicalMemory> </Environment> </SDLErrorDetails>
Generated Image Alt-Text
[edited by: Trados AI at 5:22 AM (GMT 0) on 29 Feb 2024]