SDL Studio 2024 crashes when opening a second file in editor

When opening a second file in Editor, or reloading a file after a Review|Update, the system crashes with Error dialog box from Trados Studio with a red cross icon, titled 'Error'. Message reads 'Specified argument was out of the range of valid values.' with 'Knowledge Base' and 'Community' buttons below.]. I have to delete it twice in the Task Manager before I can restart it. This only happens in Studio 2024.

The entry in the event log is: The program SDLTradosStudio.exe version 18.0.0.1013 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel.



Generated Image Alt-Text
[edited by: RWS Community AI at 4:01 PM (GMT 1) on 13 Oct 2024]
emoji
Parents
  •  

    Does this happen only when you try to open a given document or regardless of the document?

    Please check if this KB article applies to your issue:
    Error message when translating word document in Trados Studio: Specified argument was out of the range of valid values. Parameter name: fromIndex. (sdl.com)

    If the workaround described there does not solve your problem, please post the stacktrace.
    You do this by clicking on the blue floppy icon at the bottom of the error message window. This will save a small file with the extension .sdlerror. Then add this file to your post.

    emoji
  • Workaround doesn't work. The error message is as follows:

    <SDLErrorDetails time="10/17/2024 5:44:18 PM">
      <ErrorMessage>Specified argument was out of the range of valid values.</ErrorMessage>
      <Exception>
        <Type>System.ArgumentOutOfRangeException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <ParamName />
        <HelpLink />
        <Source>Sdl.TranslationStudio.Editor</Source>
        <HResult>-2146233086</HResult>
        <StackTrace><![CDATA[   at Sdl.TranslationStudio.Editor.Subsegment.View.Winforms.SubsegmentMatchesViewPartControl.AddResults(IEditorTranslationResults translationResults)
       at Sdl.TranslationStudio.Editor.Subsegment.View.Wpf.SubsegmentMatchesViewPart.AddResults(IEditorTranslationResults results)
       at Sdl.TranslationStudio.Editor.Subsegment.View.Wpf.SubsegmentMatchesViewPart.OnActiveDocumentChanged()
       at Sdl.TranslationStudio.Editor.Subsegment.View.Wpf.SubsegmentMatchesViewPart.EditorService_ActiveDocumentChanged(IDocument document)
       at Sdl.TranslationStudio.Api.Editor.DocumentEventHandler.Invoke(IDocument document)
       at Sdl.TranslationStudio.Editor.EditorService.set_ActiveDocument(IDocument value)
       at Sdl.TranslationStudio.Editor.EditorService.OpenImpl(IDocumentDescriptor[] descriptors, IEditorConfiguration[] configurations)
       at Sdl.TranslationStudio.Editor.EditorService.OpenTranslatableFiles(ITranslatableFile[] translatableFiles, WorkflowStage[] stages)
       at Sdl.TranslationStudio.Common.Files.TranslatableFileOpener.OpenTranslatableFiles(IList`1 files, Nullable`1 workflowStage)
       at Sdl.TranslationStudio.Common.Files.FileListControl.OpenFilesInEditor(List`1 filesToOpenInEditor, Boolean controlKeyPressed, ITranslatableFileOpener translatableFileOpener)
       at Sdl.TranslationStudio.Common.Files.FileListControl.OpenFiles(IStudioWindow window, IProjectManagementService projectManagementService, Boolean controlKeyPressed, ITranslatableTasksHandler tasksHandler, IEventAggregator aggregator, IOpenFilesValidator openFileValidator, IManualTasksSelector manaualTasksSelector, ITranslatableFileOpener translatableFileOpener)
       at Sdl.TranslationStudio.Common.Files.FileListControl.HandleDefaultAction(Object sender, EventArgs e)
       at Sdl.TranslationStudio.Common.Files.FileListControl.ListDefaultAction(Object sender, EventArgs e)
       at Sdl.Platform.UI.DataListControl.DataList.OnDefaultAction(EventArgs e)
       at Sdl.Platform.UI.DataListControl.DataList.BodyControl.OnDoubleClick(EventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.UserControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio18</ProductVersion>
        <EntryAssemblyFileVersion>18.0.0.1013</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 11 Home</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>DESKTOP-B8KH1EU\tomas</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-B8KH1EU</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>16553356 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>
Reply
  • Workaround doesn't work. The error message is as follows:

    <SDLErrorDetails time="10/17/2024 5:44:18 PM">
      <ErrorMessage>Specified argument was out of the range of valid values.</ErrorMessage>
      <Exception>
        <Type>System.ArgumentOutOfRangeException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <ParamName />
        <HelpLink />
        <Source>Sdl.TranslationStudio.Editor</Source>
        <HResult>-2146233086</HResult>
        <StackTrace><![CDATA[   at Sdl.TranslationStudio.Editor.Subsegment.View.Winforms.SubsegmentMatchesViewPartControl.AddResults(IEditorTranslationResults translationResults)
       at Sdl.TranslationStudio.Editor.Subsegment.View.Wpf.SubsegmentMatchesViewPart.AddResults(IEditorTranslationResults results)
       at Sdl.TranslationStudio.Editor.Subsegment.View.Wpf.SubsegmentMatchesViewPart.OnActiveDocumentChanged()
       at Sdl.TranslationStudio.Editor.Subsegment.View.Wpf.SubsegmentMatchesViewPart.EditorService_ActiveDocumentChanged(IDocument document)
       at Sdl.TranslationStudio.Api.Editor.DocumentEventHandler.Invoke(IDocument document)
       at Sdl.TranslationStudio.Editor.EditorService.set_ActiveDocument(IDocument value)
       at Sdl.TranslationStudio.Editor.EditorService.OpenImpl(IDocumentDescriptor[] descriptors, IEditorConfiguration[] configurations)
       at Sdl.TranslationStudio.Editor.EditorService.OpenTranslatableFiles(ITranslatableFile[] translatableFiles, WorkflowStage[] stages)
       at Sdl.TranslationStudio.Common.Files.TranslatableFileOpener.OpenTranslatableFiles(IList`1 files, Nullable`1 workflowStage)
       at Sdl.TranslationStudio.Common.Files.FileListControl.OpenFilesInEditor(List`1 filesToOpenInEditor, Boolean controlKeyPressed, ITranslatableFileOpener translatableFileOpener)
       at Sdl.TranslationStudio.Common.Files.FileListControl.OpenFiles(IStudioWindow window, IProjectManagementService projectManagementService, Boolean controlKeyPressed, ITranslatableTasksHandler tasksHandler, IEventAggregator aggregator, IOpenFilesValidator openFileValidator, IManualTasksSelector manaualTasksSelector, ITranslatableFileOpener translatableFileOpener)
       at Sdl.TranslationStudio.Common.Files.FileListControl.HandleDefaultAction(Object sender, EventArgs e)
       at Sdl.TranslationStudio.Common.Files.FileListControl.ListDefaultAction(Object sender, EventArgs e)
       at Sdl.Platform.UI.DataListControl.DataList.OnDefaultAction(EventArgs e)
       at Sdl.Platform.UI.DataListControl.DataList.BodyControl.OnDoubleClick(EventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.UserControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio18</ProductVersion>
        <EntryAssemblyFileVersion>18.0.0.1013</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 11 Home</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>DESKTOP-B8KH1EU\tomas</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-B8KH1EU</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>16553356 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>
Children
No Data