Trados Studio 2022 SR 1 Error "Index is out of range. Must be non-negative and less than the size of the collection."

Warning message in Trados Studio about an unsigned plug-in 'Sdl.Community.MTEdge.Provider.plugin.xml' with options to load or not load the plug-in.Error message in Trados Studio stating 'Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index' with an OK button.

Unable to open my professional license of Trados Studio 2022. I reset the license and still got the message: Error "Index is out of range. Must be non-negative and less than the size of the collection.".

I tried two repair options as suggested by my Trados business consultant:

1- Run a repair installation. 

2- Reset Trados Studio basic settings.

Neither workaround solved the problem. I got the same message again. 

One fact that might not be related but worth mentioning is that I was using my license in the US and now I moved to Canada and I haven't been able to open Trados since I moved to Canada.

Any help would be appreciated. This is the information for the error:

<SDLErrorDetails time="9/1/2023 10:00:59 AM">
<ErrorMessage>Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index</ErrorMessage>
<Exception>
<Type>SimpleInjector.ActivationException, SimpleInjector, Version=5.0.0.0, Culture=neutral, PublicKeyToken=984cb50dea722e99</Type>
<HelpLink />
<Source>SimpleInjector</Source>
<HResult>-2146233088</HResult>
<StackTrace><![CDATA[ at SimpleInjector.InstanceProducer.GetInstance()
at SimpleInjector.Internals.ContainerControlledCollection`1.GetInstance(InstanceProducer producer)
at SimpleInjector.Internals.ContainerControlledCollection`1.CopyTo(TService[] array, Int32 arrayIndex)
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Sdl.Platform.UI.Wizard.Framework.WizardBuilder.BuildWizardPages[TSharedData](TSharedData sharedData, IWizardWindowViewModel wizardWindowVm)
at Sdl.Platform.UI.Wizard.Framework.WizardBuilder.Build[TSharedData](TSharedData sharedData)
at Sdl.Platform.UI.Wizard.Framework.WizardBuilder.Build[TSharedData,TBackendService](TSharedData sharedData)
at Sdl.TranslationStudio.Common.SetupWizard.SetupWizardLauncher.Execute()
at Sdl.Desktop.Platform.Implementation.Studio.ExecuteStartupExtensions(ISplashScreen splashScreen, IEnumerable`1 startUpActions)
at Sdl.Desktop.Platform.Implementation.Studio.Run(ISplashScreen splashScreen, IPluginLoaderService pluginLoaderService, ICommandLineParsingService commandLineParsingService, IUserSettingsService userSettingsService, IEnumerable`1 startUpActions)
at Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
<InnerException>
<Type>System.ArgumentOutOfRangeException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<ParamName>index</ParamName>
<HelpLink />
<Source>mscorlib</Source>
<HResult>-2146233086</HResult>
<StackTrace><![CDATA[ at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.get_Item(Int32 index)
at Sdl.TranslationStudio.Common.SetupWizard.UserProfileWizardPageViewModel..ctor(IUserSettingsService userSettingsService, IMessageService messageService, IOpenFileDialog openFileDialog, IUserProfileFactory userProfileFactory)
at lambda_method(Closure )
at SimpleInjector.InstanceProducer.BuildAndReplaceInstanceCreatorAndCreateFirstInstance()
at SimpleInjector.InstanceProducer.GetInstance()]]></StackTrace>
</InnerException>
</Exception>
<Environment>
<ProductName>Trados Studio</ProductName>
<ProductVersion>Studio17</ProductVersion>
<EntryAssemblyFileVersion>17.1.6.16252</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 10 Enterprise</OperatingSystem>
<ServicePack>NULL</ServicePack>
<OperatingSystemLanguage>1033</OperatingSystemLanguage>
<CodePage>1252</CodePage>
<LoggedOnUser>FF\cm311486</LoggedOnUser>
<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
<ComputerName>W10-PRS107</ComputerName>
<ConnectedToNetwork>True</ConnectedToNetwork>
<PhysicalMemory>6290932 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>



Generated Image Alt-Text
[edited by: Trados AI at 12:11 PM (GMT 0) on 29 Feb 2024]
emoji
Parents
  • Hi  ,

    By the full stack trace it seems an app is causing the issue, SimpleInjector. This usually happens if the plugin is old and does not match the Studio version you're currently using.

    Please remove the plugin or make sure it is updated to support the breaking changes for Studio 2022 SR1.

    As for the unsigned plugin notification, again it seems you're using maybe an internal beta version of Language Weaver Edge, perhaps? I would recommend deleting it and install it again from the integrated appstore within Studio, to ensure you get the version matching your Studio version, which is also signed:

    Trados Studio AppStore interface showing a search for 'edge' with Language Weaver Edge plugin installed and Coreon Terminology Provider plugin available for download.

    Hope it helps!

    Regards,

    Oana

    Oana Nagy | 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

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 12:11 PM (GMT 0) on 29 Feb 2024]
Reply
  • Hi  ,

    By the full stack trace it seems an app is causing the issue, SimpleInjector. This usually happens if the plugin is old and does not match the Studio version you're currently using.

    Please remove the plugin or make sure it is updated to support the breaking changes for Studio 2022 SR1.

    As for the unsigned plugin notification, again it seems you're using maybe an internal beta version of Language Weaver Edge, perhaps? I would recommend deleting it and install it again from the integrated appstore within Studio, to ensure you get the version matching your Studio version, which is also signed:

    Trados Studio AppStore interface showing a search for 'edge' with Language Weaver Edge plugin installed and Coreon Terminology Provider plugin available for download.

    Hope it helps!

    Regards,

    Oana

    Oana Nagy | 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

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 12:11 PM (GMT 0) on 29 Feb 2024]
Children