An unexpected token keeps shuting down Trados Studio 2024

Hello,

just purchased Trados 2024 a couple of days ago, and at the moment working on a project. However the Studio crashes at random segments with an "unexpected token" error. I deactivated every translation memories, automatic translation etc, and it did not help at all. It's the same for Word & PDF documents. There are some specific segments where the studio crashes, and I can't go further, as it keeps crashing every time on this particular segment.

Tried the same documents in Trados 2021, and there's no such issue. It's irritating, seems like a bug of Trados 2024, as it does not occur in Studio 2021.

The only way is to skip the segment, but every automatic jump to this segment leads to a crash, so i have to leave the previous one untranslated and skip over this problematic one. Until it crashes again on a unexpected problematic segment again. Very frustrating though.

Error dialog in Trados Studio with a System.FormatException error message, mentioning 'unexpected token' and a stack trace with various method calls.

Did anyone experience such issues? I have searched in the forum, but did not find anything recent, only posts dated 2016 or 2021... my Studio 2021 did not crash at all.

Awaiting your feedback.

Thank you!

Regards

Rafal



Generated Image Alt-Text
[edited by: RWS Community AI at 4:16 PM (GMT 1) on 14 Sep 2024]
emoji
Parents
  • Well, it does not crash on this unexpected token any more, but now I got a random error when using the AI translation provider. The previous error occured on both .docx & .pdf files, now this was the case with .pdf files, but I don't think it does matter.

    <SDLErrorDetails time="18.09.2024 07:34:10">
      <ErrorMessage>Wartość nie może być zerowa.
    Nazwa parametru: searchResult</ErrorMessage>
      <Exception>
        <Type>System.ArgumentNullException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <ParamName>searchResult</ParamName>
        <HelpLink />
        <Source>Sdl.TranslationStudio.Editor</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   w Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.InsertTranslation(ISegmentContainerNode segmentNode, SearchResult searchResult, Boolean applyDeleteTrackChange)
       w Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.ApplySegmentTranslation(ISegmentContainerNode segment, SearchResult searchResult)
       w Sdl.TranslationStudio.Editor.TranslationMemory.TranslationMemoryViewPart.SelectSearchResultN(Int32 n, Boolean applyToActiveSegment)
       w Sdl.TranslationStudio.Editor.TranslationMemory.Actions.SelectMatchActions.AbstractSelectMatchNAction.Execute()
       w Sdl.Desktop.Platform.Implementation.CommandBars.SimpleActionExecuter.Execute(ActionData actionData)
       w Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter`1.ExecuteWithResourceLogging(TCommandData commandData, String message)
       w Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle)
       w Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteActionForShortcut(Keys shortcut)
       w Sdl.Platform.UI.StudioWindowForm.OnPreviewKeyDown(Keys keys)
       w Sdl.Platform.UI.GlobalKeysMessageFilter.PreFilterMessage(Message& m)
       w System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)
       w System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
       w System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
       w System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       w System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       w System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       w Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></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>1045</OperatingSystemLanguage>
        <CodePage>1250</CodePage>
        <LoggedOnUser>NITRO\rafal</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>NITRO</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>33462160 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    emoji
Reply
  • Well, it does not crash on this unexpected token any more, but now I got a random error when using the AI translation provider. The previous error occured on both .docx & .pdf files, now this was the case with .pdf files, but I don't think it does matter.

    <SDLErrorDetails time="18.09.2024 07:34:10">
      <ErrorMessage>Wartość nie może być zerowa.
    Nazwa parametru: searchResult</ErrorMessage>
      <Exception>
        <Type>System.ArgumentNullException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <ParamName>searchResult</ParamName>
        <HelpLink />
        <Source>Sdl.TranslationStudio.Editor</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   w Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.InsertTranslation(ISegmentContainerNode segmentNode, SearchResult searchResult, Boolean applyDeleteTrackChange)
       w Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.ApplySegmentTranslation(ISegmentContainerNode segment, SearchResult searchResult)
       w Sdl.TranslationStudio.Editor.TranslationMemory.TranslationMemoryViewPart.SelectSearchResultN(Int32 n, Boolean applyToActiveSegment)
       w Sdl.TranslationStudio.Editor.TranslationMemory.Actions.SelectMatchActions.AbstractSelectMatchNAction.Execute()
       w Sdl.Desktop.Platform.Implementation.CommandBars.SimpleActionExecuter.Execute(ActionData actionData)
       w Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter`1.ExecuteWithResourceLogging(TCommandData commandData, String message)
       w Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle)
       w Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteActionForShortcut(Keys shortcut)
       w Sdl.Platform.UI.StudioWindowForm.OnPreviewKeyDown(Keys keys)
       w Sdl.Platform.UI.GlobalKeysMessageFilter.PreFilterMessage(Message& m)
       w System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)
       w System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
       w System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
       w System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       w System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       w System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       w Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></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>1045</OperatingSystemLanguage>
        <CodePage>1250</CodePage>
        <LoggedOnUser>NITRO\rafal</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>NITRO</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>33462160 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    emoji
Children
No Data