Studio 2022; error message 'Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index' when trying to confirm a segment in editor.

This error message turns up when I try to confirm any segment in Studio 2022 SR1 in a certain project. Studio usually crashes then.

Deactivating the TMs didn't help.

Deleting and re-installing the project didn't help.

Can I fix this? If yes, how?

Error file: sdlerror-2023712-7h11m44s.sdlerror.xml

<?xml version="1.0"?>

-<SDLErrorDetails time="12.07.2023 07:12:08">

<ErrorMessage>Der Index lag außerhalb des Bereichs. Er darf nicht negativ und kleiner als die Sammlung sein. Parametername: index</ErrorMessage>


-<Exception>

<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[   bei System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   bei Sdl.Verification.TermVerifier.TermVerifierProcessing.HasAnyForbiddenFields(ISegment target, Boolean found, ITermRecognitionHit hit, IEntryTerm term)
   bei Sdl.Verification.TermVerifier.TermVerifierProcessing.CheckForbiddenTerms(ISegment target)
   bei Sdl.Verification.TermVerifier.TermVerifierProcessing.Verify(ISegment source, ISegment target, Boolean sourceHasRevisions, Boolean targetHasRevisions)
   bei Sdl.Verification.TermVerifier.TermVerifierMain.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   bei Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.BilingualContentHandlerAdapter.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   bei Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.BilingualContentHandlerAdapter.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   bei Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.BilingualContentHandlerAdapter.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   bei Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   bei Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   bei Sdl.FileTypeSupport.Framework.Integration.LocationMarkerLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   bei Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   bei Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
   bei Sdl.TranslationStudio.Editor.TranslationEditor.SingleParagraphUnitBilingualParser.ParseNext()
   bei Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
   bei Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
   bei Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
   bei Sdl.TranslationStudio.Editor.TranslationEditor.SegmentVerifier.Verify(ISegmentContainerNode segmentContainerNode, IParagraphUnitContainerNode paragraphContainerNode, IFileContainerNode fileContainerNode)
   bei Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.VerifySegment(ISegmentContainerNode segmentContainerNode, IParagraphUnitContainerNode paragraphContainerNode, IFileContainerNode fileContainerNode)
   bei Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.VerifySegment()
   bei Sdl.TranslationStudio.Editor.TranslationEditor.Actions.AbstractConfirmSegmentAction.ExecuteActiveSegment()
   bei Sdl.TranslationStudio.Editor.TranslationEditor.Actions.AbstractConfirmSegmentAction.Execute()
   bei Sdl.Desktop.Platform.Implementation.CommandBars.SimpleActionExecuter.Execute(ActionData actionData)
   bei Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter`1.ExecuteWithResourceLogging(TCommandData commandData, String message)
   bei Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle)
   bei Sdl.Platform.UI.IgCommandBarDynamicActionMenu.Execute()
   bei Sdl.Platform.UI.IgAbstractCommandBarActionMenu._menu_ToolClick(Object sender, ToolClickEventArgs e)
   bei Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick(ToolClickEventArgs e)
   bei Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick(ToolClickEventArgs e)
   bei Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e)
   bei Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick()
   bei Infragistics.Win.UltraWinToolbars.PopupToolBase.OnToolClick()
   bei Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.DoClickProcessing(MouseEventArgs e)
   bei Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.OnMouseUp(MouseEventArgs e)
   bei Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
   bei Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
   bei Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
   bei Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea.OnMouseUp(MouseEventArgs e)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]>
</StackTrace>

</Exception>


-<Environment>

<ProductName>Trados Studio</ProductName>

<ProductVersion>Studio17</ProductVersion>

<EntryAssemblyFileVersion>17.1.6.16252</EntryAssemblyFileVersion>

<OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>

<ServicePack>NULL</ServicePack>

<OperatingSystemLanguage>1031</OperatingSystemLanguage>

<CodePage>1252</CodePage>

<LoggedOnUser>RECHNER\Jöns</LoggedOnUser>

<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>

<ComputerName>RECHNER</ComputerName>

<ConnectedToNetwork>True</ConnectedToNetwork>

<PhysicalMemory>25115868 MB</PhysicalMemory>

</Environment>

</SDLErrorDetails>

emoji
  •  

    I assume from the error stack that you have a termbase enabled?
    Try disable it?

    If it improves your user experience, then I recommend you ensure MultiTerm is also updated to SR1

    Please do update this post so we know if you still require assistance

    Lyds

    Lydia Simplicio | 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
  • It would be great if RWS could remind us to do this when it informs us that an update is available for Trados Studio, i.e. a message stating an update is available for boht Trados Studio and Multiterm. As a user, I do not open Multiterm very often, so am unlikely to see any notifications there.

    emoji
  • Unfortunately, it is still crashing after updating everything and rebooting the computer:

    <SDLErrorDetails time="12/07/2023 13:23:19">
      <ErrorMessage>Der Index lag außerhalb des Bereichs. Er darf nicht negativ und kleiner als die Sammlung sein.
    Parametername: index</ErrorMessage>
      <Exception>
        <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[   bei System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
       bei Sdl.Verification.TermVerifier.TermVerifierProcessing.HasAnyForbiddenFields(ISegment target, Boolean found, ITermRecognitionHit hit, IEntryTerm term)
       bei Sdl.Verification.TermVerifier.TermVerifierProcessing.CheckForbiddenTerms(ISegment target)
       bei Sdl.Verification.TermVerifier.TermVerifierProcessing.Verify(ISegment source, ISegment target, Boolean sourceHasRevisions, Boolean targetHasRevisions)
       bei Sdl.Verification.TermVerifier.TermVerifierMain.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       bei Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.BilingualContentHandlerAdapter.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       bei Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.BilingualContentHandlerAdapter.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       bei Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.BilingualContentHandlerAdapter.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       bei Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       bei Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       bei Sdl.FileTypeSupport.Framework.Integration.LocationMarkerLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       bei Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       bei Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       bei Sdl.TranslationStudio.Editor.TranslationEditor.SingleParagraphUnitBilingualParser.ParseNext()
       bei Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
       bei Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
       bei Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
       bei Sdl.TranslationStudio.Editor.TranslationEditor.SegmentVerifier.Verify(ISegmentContainerNode segmentContainerNode, IParagraphUnitContainerNode paragraphContainerNode, IFileContainerNode fileContainerNode)
       bei Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.VerifySegment(ISegmentContainerNode segmentContainerNode, IParagraphUnitContainerNode paragraphContainerNode, IFileContainerNode fileContainerNode)
       bei Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.VerifySegment()
       bei Sdl.TranslationStudio.Editor.TranslationEditor.Actions.AbstractConfirmSegmentAction.ExecuteActiveSegment()
       bei Sdl.TranslationStudio.Editor.TranslationEditor.Actions.AbstractConfirmSegmentAction.Execute()
       bei Sdl.Desktop.Platform.Implementation.CommandBars.SimpleActionExecuter.Execute(ActionData actionData)
       bei Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter`1.ExecuteWithResourceLogging(TCommandData commandData, String message)
       bei Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle)
       bei Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteActionForShortcut(Keys shortcut)
       bei Sdl.Platform.UI.StudioWindowForm.OnPreviewKeyDown(Keys keys)
       bei Sdl.Platform.UI.GlobalKeysMessageFilter.PreFilterMessage(Message& m)
       bei System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)
       bei System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
       bei System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
       bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       bei Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio17</ProductVersion>
        <EntryAssemblyFileVersion>17.1.6.16252</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 11 Home</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>3082</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>IKJW\iankj</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>IKJW</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>16600420 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    emoji
  • I am still having problems with this after updating RWS applications and rebooting the computer.

    emoji
  • We will be pleased to help you with this problem so have logged a support case on your behalf. We do prioritise customers who have a support contract so please keep in mind it could take up to 48 hours, especially over a weekend, but rest assured we will contact you as soon as we can. You will be contacted at the email address used for this Community. Support Case Id : 00807062 .

    Lydia Simplicio | 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
  •  

    The MultiTerm SR1 update was stated in the Release Notes PDF:

    Table of contents from Trados Studio Release Notes PDF showing 'Compatibility' section with sub-sections on upgrading and compatibility with previous versions and other software.

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 11:41 AM (GMT 0) on 29 Feb 2024]
  • Yes, but, as I said, it would be much, much simpler if RWS reminded us in the email. I don't really have time to read over 40 pages of release notes as I am working. Trados should be a user-friendly tool. The fact that I have now also updated Multiterm has not solved my problem.

    emoji
  •   

    Hi Ian,

    To have a support case logged on your behalf, do the following:

    Click the +New button top right of your screen to create a new thread, ask your question again and someone will contact you from RWS Support.

    The staff at RWS can only generate one Support Case per thread so this is why you need to start a new thread.

    Here's how it will look, with my further instructions filled in below:

    Trados Studio forum page with options to select 'Question' or 'Discussion' and fields for 'Subject' and 'Description'. A tip suggests a well-formulated question triggers better responses.

    All the best,

    Ali Slight smile

    emoji


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