Studio 2021 won't start. UNEXPECTED EXCEPTION WHEN GETTING VIEW PART INSTANCE OF VIEW PART SUBTITLING PREVIEW.

Studio 2021 now won't open at all after installing the subtitling plug in. I'm in the middle of an urgent project. Please can you assist?

emoji
Parents
  • Hi Alison, today I faced the same thing, but Studio opens, but the subitle plugin does not work at all, and I can not access its settings for add a video path. I even installed the latest SR2, thinking that this might fix the problem, but I got another issue and SDL Studio MTCould files caused a problem that crashed Studio, so I had to remove them manually, and only then Studio opened, but the Subtitling plugin does not work still! Very frustrating experiences to say the least, and happening in the Middle of ongoing projects. 

    <SDLErrorDetails time="4/8/2022 12:41:11 AM">
      <ErrorMessage>Unexpected exception when getting view part instance of view part Subtitling Preview</ErrorMessage>
      <Exception>
        <Type>Sdl.Desktop.Platform.StudioException, Sdl.Desktop.Platform, Version=16.0.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
        <HelpLink />
        <Source>Sdl.Desktop.Platform</Source>
        <HResult>-2146233088</HResult>
        <StackTrace><![CDATA[   at Sdl.Desktop.Platform.AbstractViewWithParts.EnsureViewPartSite(IViewPartReference viewPartReference)
       at Sdl.Desktop.Platform.AbstractViewWithParts.Control_ShowingViewPart(IViewWithParts view, IViewPartReference viewPartReference)
       at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.OnShowingViewPart(IViewPartReference viewPartReference)
       at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.EnsureDockedViewPartControl(DockableControlPane pane)
       at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.InitializeDockedViewPart(IViewPartReference viewPartReference)
       at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.ShowViewPart(IViewPartReference viewPartReference, Boolean selectTab)
       at Sdl.Desktop.Platform.AbstractViewWithParts.ShowViewPart(IViewPartReference viewPartReference, Boolean selectTab)
       at Sdl.Desktop.Platform.AbstractDockingView.ShowViewPartAction.Execute()
       at Sdl.Desktop.Platform.Implementation.CommandBars.SimpleActionExecuter.Execute(ActionData actionData)
       at Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter`1.ExecuteWithResourceLogging(TCommandData commandData, String message)
       at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle)
       at Sdl.Desktop.Platform.WinForms.IgCommandBarAction.Execute()
       at Sdl.Desktop.Platform.WinForms.IgCommandBarAction._lazyButtonTool_ToolClick(Object sender, ToolClickEventArgs e)
       at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick(ToolClickEventArgs e)
       at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick(ToolClickEventArgs e)
       at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e)
       at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick()
       at Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.DoClickProcessing(MouseEventArgs e)
       at Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.OnMouseUp(MouseEventArgs e)
       at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
       at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
       at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
       at Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.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>
        <InnerException>
          <Type>System.Reflection.TargetInvocationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
          <HelpLink />
          <Source>mscorlib</Source>
          <HResult>-2146232828</HResult>
          <StackTrace><![CDATA[   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.Activator.CreateInstance(Type type)
       at Sdl.Core.PluginFramework.DefaultObjectResolver.CreateObject(Type objectType, XElement attributeElement)
       at Sdl.Desktop.Platform.Implementation.ObjectResolverComposer.CreateObject(Type objectType, XElement attributeElement)
       at Sdl.Core.PluginFramework.Implementation.Extension.CreateInstance()
       at Sdl.Core.PluginFramework.Integration.ExtensionStoreItem..ctor(IExtension extension)
       at Sdl.Core.PluginFramework.Integration.ExtensionsRepository.AddExtension[TResult](IExtension extension, ExtensionArguments arguments, Func`4 instanceCreator)
       at Sdl.Core.PluginFramework.Integration.ExtensionBuilderFactory.Build[TResult](IExtension extension, ExtensionArguments arguments, Boolean useCache)
       at Sdl.Core.PluginFramework.Integration.ExtensionsFactory.Create[TResult](IExtension extension, ExtensionArguments arguments, Boolean useCache)
       at Sdl.Desktop.Platform.Implementation.ViewPartDescriptor.CreateInstance()
       at Sdl.Desktop.Platform.Implementation.PluginViewPartReference.get_ViewPart()
       at Sdl.Desktop.Platform.AbstractViewWithParts.EnsureViewPartSite(IViewPartReference viewPartReference)]]></StackTrace>
          <InnerException>
            <Type>System.TypeInitializationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
            <TypeName>StudioSubtitling.SubtitlingPreviewController</TypeName>
            <HelpLink />
            <Source>StudioSubtitling</Source>
            <HResult>-2146233036</HResult>
            <StackTrace><![CDATA[   at StudioSubtitling.SubtitlingPreviewController..ctor()]]></StackTrace>
            <InnerException>
              <Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
              <HelpLink />
              <Source>StudioSubtitling</Source>
              <HResult>-2147467261</HResult>
              <StackTrace><![CDATA[   at StudioSubtitling.View.PreviewView..ctor(SubtitlingViewModel model)
       at StudioSubtitling.SubtitlingPreviewControl.LoadView()
       at StudioSubtitling.SubtitlingPreviewControl..ctor()
       at StudioSubtitling.SubtitlingPreviewController..cctor()]]></StackTrace>
            </InnerException>
          </InnerException>
        </InnerException>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio16</ProductVersion>
        <EntryAssemblyFileVersion>16.2.9.9198</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1256</CodePage>
        <LoggedOnUser>ADMINSAM\Ahmed</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>ADMINSAM</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>50276084 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>
    <SDLErrorDetails time="4/8/2022 12:35:05 AM">
      <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.Community.MTCloud.Provider</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   at Sdl.Community.MTCloud.Provider.Studio.ContextMenuAction.AddDictionaryTermAction.<.ctor>b__0_0(StudioWindowCreatedNotificationEvent _)
       at System.Reactive.AnonymousSafeObserver`1.OnNext(T value) in /_/Rx.NET/Source/src/System.Reactive/AnonymousSafeObserver.cs:line 43
       at System.Reactive.Sink`1.ForwardOnNext(TTarget value) in /_/Rx.NET/Source/src/System.Reactive/Internal/Sink.cs:line 49
       at System.Reactive.IdentitySink`1.OnNext(T value) in /_/Rx.NET/Source/src/System.Reactive/Internal/IdentitySink.cs:line 15
       at System.Reactive.Sink`1.ForwardOnNext(TTarget value) in /_/Rx.NET/Source/src/System.Reactive/Internal/Sink.cs:line 49
       at System.Reactive.Linq.ObservableImpl.OfType`2._.OnNext(TSource value) in /_/Rx.NET/Source/src/System.Reactive/Linq/Observable/OfType.cs:line 31
       at System.Reactive.Subjects.Subject`1.OnNext(T value) in /_/Rx.NET/Source/src/System.Reactive/Subjects/Subject.cs:line 145
       at Sdl.Desktop.Platform.Implementation.Services.EventAggregator.Publish[TEvent](TEvent sampleEvent)
       at Sdl.Desktop.IntegrationApi.AbstractApplication.OnStudioLicenseActivated(IStudioWindow window)
       at Sdl.Desktop.Platform.StudioWindowEventHandler.Invoke(IStudioWindow window)
       at Sdl.Desktop.Platform.Implementation.StudioWindow.OnLicenseActivated()
       at Sdl.Desktop.Platform.Implementation.StudioWindow.RaiseLicenseActivated()
       at Sdl.Desktop.Platform.Implementation.Studio.Run(ISplashScreen splashScreen, IEventAggregator eventAggregator, IPluginLoaderService pluginLoaderService, ICommandLineParsingService commandLineParsingService)
       at Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio16</ProductVersion>
        <EntryAssemblyFileVersion>16.2.9.9198</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1256</CodePage>
        <LoggedOnUser>ADMINSAM\Ahmed</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>ADMINSAM</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>50276084 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    emoji
  • the subitle plugin does not work at all, and I can not access its settings for add a video path. I even installed the latest SR2

    Please can you do what we already suggested and remove the plugin completely then reinstall via the appstore.  The subtitling plugin has had several releases in recent months as a result of changes due to various Studio releases that forced us to maintain multiple versions.  The changelog is here and is always worth checking:

    https://community.rws.com/product-groups/trados-portfolio/trados-studio/w/customer-experience/5420/changelog---sdl-mt-cloud-provider

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

    I deleted the plug-ins, and re-downloaded the Subtitling one. I did this about a month ago and to be honest I've been living in fear of closing Trados ever since because it was also working fine until I restarted (the first time round).

    So, Sameh, since you asked - I closed down and reopened Trados - aaaand, I don't want to jinx it, but it is still working at the moment. I have not however restarted my laptop, so that may well set the whole thing off again!

    Let's see. I have to say I don't have much trust in it just 'working', hence my not restarting my laptop/Trados in basically a month!

    Good luck.

    Alison

    emoji
Reply
  • Hi  and Paul,

    I deleted the plug-ins, and re-downloaded the Subtitling one. I did this about a month ago and to be honest I've been living in fear of closing Trados ever since because it was also working fine until I restarted (the first time round).

    So, Sameh, since you asked - I closed down and reopened Trados - aaaand, I don't want to jinx it, but it is still working at the moment. I have not however restarted my laptop, so that may well set the whole thing off again!

    Let's see. I have to say I don't have much trust in it just 'working', hence my not restarting my laptop/Trados in basically a month!

    Good luck.

    Alison

    emoji
Children