Trados Studio 2022 17.2.9.18688 refuses to start with error "Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

I have not updated anything on the computer that I'm aware of and have not updated or done anything with Trados. I closed it on Friday evening and tried to open it this morning but now it just gives me this error message and refuses to start.

I've tried the options to reset user settings that are mentioned elsewhere by renaming the relevant folders in appdata roaming and local. I've tried repairing the installation. I've even uninstalled Trados completely, restarting the computer and then reinstalling it. I still get the same message. I've attached the error details for reference. When I start the startup screen says "Executing start up extensions..." right before the error pops up.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<SDLErrorDetails time="2024-01-29 12:31:25">
<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, ILicensingService licensingService)
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.2.9.18688</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 11 Home</OperatingSystem>
<ServicePack>NULL</ServicePack>
<OperatingSystemLanguage>1033</OperatingSystemLanguage>
<CodePage>1252</CodePage>
<LoggedOnUser>KRAKEN\nikla</LoggedOnUser>
<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

emoji
Parents
  • Hi  ,

    It seems the issue is caused by a plugin called "Simple Injector" which may not be compatible with the Studio version you're using.

    Please remove it from these locations:

    %APPDATA%\Trados\Trados Studio\17\Plugins

    %LOCALAPPDATA%\Trados\Trados Studio\17\Plugins

    c:\ProgramData\Trados\Trados Studio\17\Plugins

    After it's removed, you can start Studio again. 

    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
  • Hi Oana, Thank you for your reply. Unfortunately I don't think this is the answer. I've uninstalled Trados and Multiterm and removed all traces of them and then reinstalled. I can't find any plugins left in the folders you mentioned. It gives me the same error after restart as before. Extremely frustrating...

    emoji
Reply Children
  • Hallo everybody,

    I'm having a similar issue with Trados Studio 2024, it stop when the screen shows "executing start up extensions"... and I can no longer open the SW. I've tried repairing it, but it did solve the problem and then I tried uninstalling and reinstalling it... and it did not solve the problem. Is there anybody out there who can help me? Many thanks in advance

    Best,

    Antonella

    emoji