Trados Studio 2022 Freelance after update to 17.1.8.17828 Language Weaver error message "Object reference not set to an instance of an object"

Hi team,

I just installed the update in Studio 2022 to version 17.1.8.17828 and have trouble using Language Weaver - what does this error message mean?

Error dialog box in Trados Studio 2022 showing 'Object reference not set to an instance of an object.' with details of the error source from Language Weaver and a stack trace of system functions.



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

    It's more helpful to share the stacktrace itself as text and not a screenshot.  You can save the error stack from the message by clicking on the little disk symbol, saving to your desktop and then attach the file to your post.

    However, did you update the plugin or did you try to use the old one in the updated Trados Studio?

    Paul Filkin | 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 Paul,

    Thank you for your reply. Not sure what just happened. I typed a lengthy reply and copied the error stack as text in to the reply as well and when I hit "Reply" I got a message that my message was flagged as scam...?

    So here it goes again. I downloaded Language Weaver again after updating Trados Studio because it wasn't shown as an option to add in the Translation Memory and Automated Translation menu. I then followed the joyous instructions of renaming all of the folders that might possibly cause the issue etc.

    I will copy the error stack in a seperate reply, just in case it gets flagged as spam again...

    emoji
  • Hi Paul,

    Thanks for that. It didn't let me attach anything to the reply message, that's why I copied it in

    emoji
  •  

    It didn't let me attach anything to the reply message, that's why I copied it in

    Just for next time...

    Screenshot of a message composition interface with a dropdown formatting menu open. The highlighted option is 'Image/video/file' for attaching media to the message. There is a partially visible conversation between users named Paul and Daniel Wittemberg, with a red curved line drawn pointing to the formatting menu.

    You can absolutely attach the XML file you save.

    Paul Filkin | 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
  •  

    Thanks for the error stack.  It definitely looks as though you have not got the correct version of the plugin installed.

    I then followed the joyous instructions of renaming all of the folders

    If I read this literally you seem to have renamed all the folders AFTER installing the plugin.  Please close Studio and delete these folders:

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

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

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

    Once done restart Studio and only reinstall the apps you need via the integrated appstore in Studio.  You can do them all in one go just by selecting and installing, then restart Studio.  So it won't take long.

    Paul Filkin | 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 Paul,
    I'm not sure what I'm doing wrong. I followed your instructions to a T, and yet I get another error message. I can't attach it the way you showed because it doesn't open a browse optiona and when I copy the file path in the file/URL field, it says this
    Error message in Trados Studio dialog box stating 'URL protocol is not allowed: C:UsersdedouDownloadssdlerror-20231' with an 'Ok' and 'Cancel' button below.

    emoji


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

    Click on this to load the file... don't copy the path in:

    Trados Studio screenshot showing a FileURL input field with a file path 'C:UsersdedouDownloadsdlerror-2023' and an 'Upload' button with a red arrow pointing towards it.

    Paul Filkin | 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:48 PM (GMT 0) on 29 Feb 2024]
  • <SDLErrorDetails time="07/11/2023 18:39:38">
      <ErrorMessage>Object reference not set to an instance of an object.</ErrorMessage>
      <Exception>
        <Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>LanguageWeaver</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   at Sdl.Community.MTCloud.Provider.Studio.TranslationProvider.SdlMTCloudTranslationProvider.get_Name()
       at Sdl.TranslationStudio.Common.TranslationMemory.TranslationMemoriesControl.VerifyLanguages(ProjectCascadeEntryItem entry)
       at Sdl.TranslationStudio.Common.TranslationMemory.TranslationMemoriesControl.pluginContextMenuStripItem_Click(Object sender, EventArgs e)
       at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
       at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
       at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
       at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
       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.ToolStrip.WndProc(Message& m)
       at System.Windows.Forms.ToolStripDropDown.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>Studio17</ProductVersion>
        <EntryAssemblyFileVersion>17.1.8.17828</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 11 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1031</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>THINKYPINKY\dedou</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>THINKYPINKY</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>16511244 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    emoji
  • That must be the most stealth upload button I've ever seen Laughing Thanks Paul - the upload of the error stack was successful at least

    emoji
  • Hi Paul,

    I still have the problem wiht the Object reference error message in relation to Language Weaver. This time, new single file, it worked when I started the translation the other day, now that I re-opened the file I get the message that Language Weaver cannot be opened. What else can I do beyond what we have tried already?
    Thank you, Dani

    <SDLErrorDetails time="18/11/2023 17:19:46">
      <ErrorMessage>Object reference not set to an instance of an object.</ErrorMessage>
      <Exception>
        <Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>LanguageWeaver</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   at Sdl.Community.MTCloud.Provider.Studio.TranslationProvider.SdlMTCloudTranslationProvider.get_Name()
       at Sdl.TranslationStudio.Common.TranslationMemory.TranslationMemoriesControl.VerifyLanguages(ProjectCascadeEntryItem entry)
       at Sdl.TranslationStudio.Common.TranslationMemory.TranslationMemoriesControl.pluginContextMenuStripItem_Click(Object sender, EventArgs e)
       at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
       at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
       at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
       at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
       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.ToolStrip.WndProc(Message& m)
       at System.Windows.Forms.ToolStripDropDown.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>Studio17</ProductVersion>
        <EntryAssemblyFileVersion>17.1.8.17828</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 11 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1031</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>THINKYPINKY\dedou</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>THINKYPINKY</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>16511244 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    emoji
  •   

    The developer has a suspicion from the error stack that it could be related to the name of the model you are using?  So if you changed the model today, compared to when it worked without a problem, then this may be the reason. Can you tell me what the name is of the model you're using?

    The image shows the Translation Memory Results Window of the Trados Studio editing UI. The English source segment is "The Voice of Reason '1'", and an arrow points downwards to a highlighted section indicating the use of the "Language Weaver - GenericQE" machine translation engine and model. On the right side, the German translation provided by this engine is displayed as "Die Stimme der Vernunft '1'", with the abbreviation "NMT" (Neural Machine Translation) placed above it. This layout is characteristic of Trados Studio, where translation suggestions from various sources, including machine translation engines like Language Weaver, are displayed for the translator's reference and use.

    Paul Filkin | 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
Reply Children