Bug when opening files for translation

I am translating ICMLs from en-GB to de-DE. In the Studio project, the files are in folder and subfolders (2 levels).

I can select a file while the filter is set to the source language, and then I get an error:

Trados Studio screenshot showing an error message 'Object reference not set to an instance of an object' while selecting a file for translation from English (UK) to German (DE).

<SDLErrorDetails time="27/09/2021 09:21:32">
  <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>Sdl.TranslationStudio.Editor</Source>
    <HResult>-2147467261</HResult>
    <StackTrace><![CDATA[   at Sdl.TranslationStudio.Editor.TranslationMemory.TranslationMemoryViewPart.UpdateIcon()
   at Sdl.TranslationStudio.Editor.TranslationMemory.TranslationMemoryViewPart.UpdateTranslationProvider()
   at Sdl.TranslationStudio.Editor.TranslationMemory.TranslationMemoryViewPart.OnActiveDocumentChanged()
   at Sdl.TranslationStudio.Editor.TranslationMemory.TranslationMemoryViewPart.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.EditorView.OnActiveViewPartChanged(IViewPartReference viewPartReference)
   at Sdl.Desktop.Platform.AbstractViewWithParts.Control_ActiveViewPartChanged(IViewWithParts view, IViewPartReference viewPartReference)
   at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.OnActiveViewPartChanged(IViewPartReference viewPartReference)
   at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.InternalActivateViewPart(IViewPartReference viewPartToActivate)
   at Sdl.Desktop.Platform.WinForms.DockingViewContentControl._tabControl_SelectedTabChanged(Object sender, SelectedTabChangedEventArgs e)
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.OnSelectedTabChanged(SelectedTabChangedEventArgs e)
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.RaiseEvent(UltraTabControlEventId id, EventArgs e)
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.OnManagerSelectedTabItemChanged(Object sender, SelectedTabItemChangedEventArgs e)
   at Infragistics.Win.UltraWinTabs.TabManager.set_SelectedTabItem(ITabItem value)
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.SetSelectedTab(UltraTab tab)
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.set_SelectedTab(UltraTab value)
   at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.AddViewPartTab(IViewPartReference viewPartReference)
   at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.AddViewPart(IViewPartReference viewPartReference)
   at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.NotifyViewPartAdded(IViewPartReference viewPartReference)
   at Sdl.Desktop.Platform.AbstractViewWithParts.AddViewPart(IViewPartReference viewPartReference)
   at Sdl.Desktop.Platform.AbstractDockingView.AddViewPart(IViewPartReference viewPartReference)
   at Sdl.TranslationStudio.Editor.EditorView.AddDocumentViewPart(IViewPartReference documentViewPartReference)
   at Sdl.TranslationStudio.Editor.Shared.InternalEditorContext.AddDocumentViewPart(IDocumentViewPart documentViewPart)
   at Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.AfterLoad(IJob job)]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>Studio16</ProductVersion>
    <EntryAssemblyFileVersion>16.1.8.4404</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Enterprise</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>danielhug</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>ABCD</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>16568624 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

Is this a known bug? I thought the "Open for translation" etc. buttons were once greyed out when the user has the source language selected?

Daniel



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


  • Hello, sorry for this sort response but I wanted to be the first to reply. 
    I can reproduce your error, but its not file type related. More folder structure related.

    If not already logged, I will log it to development and confirm the bug number to this thread once done.

    For the sake of anyone who gets the same "Object reference not set to an instance of an object" error when working with sub folders, the correction required is to ensure you have the target language filtered before opening in the editor view, and not the source. 

    Thank you for bringing this to our attention

    Lyds

     

    Oana Nagy | Developer Experience | QA Engineer | RWS Group

Reply


  • Hello, sorry for this sort response but I wanted to be the first to reply. 
    I can reproduce your error, but its not file type related. More folder structure related.

    If not already logged, I will log it to development and confirm the bug number to this thread once done.

    For the sake of anyone who gets the same "Object reference not set to an instance of an object" error when working with sub folders, the correction required is to ensure you have the target language filtered before opening in the editor view, and not the source. 

    Thank you for bringing this to our attention

    Lyds

     

    Oana Nagy | Developer Experience | QA Engineer | RWS Group

Children