This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error in SDL Trados Studio 2021 SR1 - 16.1.3.4096

When I use SDL Trados Studio 2021 to create a Cloud project, it always shows "Object reference not set to an instance of an object", and then the software crashes. How to deal with it?




[locked by: Steven Whale at 10:36 AM (GMT 0) on 4 Mar 2021]
  • Hello ,

    Unfortunately 'Object reference not set....' is very generic and does not tell us anything at all.

    Please post the full error stack, so we can see what might be causing the issue-

    Error message dialog box in Trados Studio with instructions: 1) Click on the icon, 2) Save the XML file to your desktop, 3) Add file to the thread.

    Also, relevant screenshots are helpful, as well as information as to when exactly the problem arises- at what stage in the process?

    Oana Nagy | 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:15 PM (GMT 0) on 4 Mar 2024]
  • Error dialog box in Trados Studio with a red cross symbol and a message in Chinese indicating an object reference not set to an instance of an object.

    Detailed error report in Trados Studio showing a System.NullReferenceException and a stack trace with various method calls related to Sdl.TranslationStudio.LanguageCloud.

    <SDLErrorDetails time="2021/3/4 18:19:19">
      <ErrorMessage>未将对象引用设置到对象的实例。</ErrorMessage>
      <Exception>
        <Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>Sdl.TranslationStudio.LanguageCloud</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   在 Sdl.TranslationStudio.LanguageCloud.Subscription.SubscriptionLicense.GetTargetLanguagesQuota()
       在 Sdl.TranslationStudio.LanguageCloud.Subscription.SubscriptionLicense.get_MaxTargetLanguages()
       在 Sdl.TranslationStudio.Common.ProjectLanguagesControl.CustomControl.ViewModel.LanguageCloudCustomLanguagesViewModel.CheckLanguageRestrictions()
       在 Sdl.TranslationStudio.Common.ProjectLanguagesControl.CustomControl.ViewModel.CustomLanguagesViewModel.OnSelectedItemsChanged()
       在 Sdl.Desktop.Platform.WPF.Command.RelayCommand.Execute(Object parameter)
       在 Sdl.MultiSelectComboBox.Behaviours.EventBehaviourFactory.ExecuteCommandBehaviour.HandleEvent(Object sender, EventArgs e)
       在 Sdl.MultiSelectComboBox.Behaviours.EventBehaviourFactory.ExecuteCommandOnRoutedEventBehaviour.EventHandler(Object sender, RoutedEventArgs e)
       在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
       在 Sdl.MultiSelectComboBox.Themes.Generic.MultiSelectComboBox.<>c__DisplayClass187_0.<RaiseSelectedItemsChangedEvent>b__0()
       在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       在 System.Windows.Threading.DispatcherOperation.InvokeImpl()
       在 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       在 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
       在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       在 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
       在 System.Windows.Threading.DispatcherOperation.Invoke()
       在 System.Windows.Threading.Dispatcher.ProcessQueue()
       在 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       在 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       在 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       在 Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>Studio16</ProductVersion>
        <EntryAssemblyFileVersion>16.1.3.4096</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 家庭版</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>2052</OperatingSystemLanguage>
        <CodePage>936</CodePage>
        <LoggedOnUser>DESKTOP-ACGJD60\qqqaas</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-ACGJD60</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>33475520 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 12:16 PM (GMT 0) on 4 Mar 2024]
  • Hello ,

    I have logged a support ticket for you on the duplicate thread-

    https://community.sdl.com/product-groups/translationproductivity/f/studio/34431/error-in-sdl-trados-studio-2021-sr1---16-1-3-4096/112913#112913

    Oana Nagy | 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