Studio crashes every time opened - msg "Exception has been thrown by the target of an invocation"

Hi, Everyone, all of a sudden, while working on a project in Studio 2015, that had been fine for hours, I received this message: Exception has been thrown by the target of an invocation. I had been "reviewing" (editing) a file in a package from an agency client that used track changes. I have found some explanations of problems that can arise on older versions of Studio when using track changes, but I have the most updated version/updates of Studio 2015. 

The worst part is, I have rebooted twice, but now, Studio won't even OPEN (not just the file, the entire program)! It starts to open and then when I can see the interface for a second, and then it quits and throws this error. 

HELP!

Thanks! Eve 

Parents
  • Hi Eve,

    If you click on the floppy disk in the bottom-left corner, it allows you to save a stack trace.
    That has detailed information on what is happening, so if you could post that someone might be able to give advice.
  • Thanks for that idea. I have just done that and it is in XML format. I am pasting the actual XML below. I could also post the actual XML file, but am not sure how to do that in this forum. 

    Here are the contents of the XML file pasted below: 

    <SDLErrorDetails time="11/15/2016 5:49:39 AM">
    <ErrorMessage>Exception has been thrown by the target of an invocation.</ErrorMessage>
    <Exception>
    <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.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
    at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
    at Sdl.Desktop.Common.DataListRow.Data.get_Item(String dataMember)
    at Sdl.Desktop.Common.DataList.<>c__DisplayClassc.<QuickSortUsingLinq>b__4(DataListRow x)
    at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
    at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
    at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__0.MoveNext()
    at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
    at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
    at Sdl.Desktop.Common.DataList.QuickSort(DataListRowCollection rows, DataListColumn groupColumn, DataListColumn sortColumn, SortOrder sortOrder)
    at Sdl.Desktop.Common.DataList.SortHierarchical()
    at Sdl.Desktop.Common.DataList.Sort()
    at Sdl.Desktop.Common.DataList.DataBind()
    at Sdl.Desktop.Common.DataList.DataBindBindingList()
    at Sdl.Desktop.Common.DataList.set_DataSource(Object value)
    at Sdl.TranslationStudio.Common.Files.FileListControl.SetProjectFiles(IProjectFile[] projectFiles)
    at Sdl.TranslationStudio.Common.Files.FileListControl.set_ProjectFiles(IProjectFile[] value)
    at Sdl.TranslationStudio.Common.Files.FileDataController.SetFileListContents(Folder selectedFolder)
    at Sdl.TranslationStudio.ProjectManagement.FilesView.FilesViewService.MyFileDataController.SetFileListContents(Folder selectedFolder)
    at Sdl.TranslationStudio.Common.Files.FileDataController.RefreshFileList()
    at Sdl.TranslationStudio.Common.Files.FileDataController.TryLoadData()
    at Sdl.TranslationStudio.Common.Files.FileDataController.set_FileData(IFileData value)
    at Sdl.TranslationStudio.Common.Files.ProjectFileDataController.set_FileData(ProjectFileData value)
    at Sdl.TranslationStudio.ProjectManagement.FilesView.FilesViewService.UpdateDetails()
    at Sdl.TranslationStudio.ProjectManagement.FilesView.FilesViewService.Refresh()
    at Sdl.TranslationStudio.ProjectManagement.FilesView.FilesView.Refresh()
    at Sdl.Desktop.Platform.AbstractView.Application_Idle(Object sender, EventArgs e)
    at System.EventHandler.Invoke(Object sender, EventArgs e)
    at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at Sdl.Desktop.Platform.Implementation.Studio.Run()
    at Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
    <InnerException>
    <Type>System.FormatException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>mscorlib</Source>
    <HResult>-2146233033</HResult>
    <StackTrace><![CDATA[ at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
    at System.String.Format(IFormatProvider provider, String format, Object[] args)
    at System.String.Format(String format, Object[] args)
    at Sdl.ProjectApi.Helpers.AbstractConfirmationStatistics.ComputeCombinedConfirmationLevel()
    at Sdl.ProjectApi.Helpers.AbstractConfirmationStatistics.get_PercentComplete()
    at Sdl.TranslationStudio.Common.Files.FileListItem.get_PercentComplete()]]></StackTrace>
    </InnerException>
    </Exception>
    <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>12.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>12.2.5195.7</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 8.1 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>EVE-SURFACE-WK\Eve</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.34209</DotNetFrameWork>
    <ComputerName>EVE-SURFACE-WK</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>8291400 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>

Reply
  • Thanks for that idea. I have just done that and it is in XML format. I am pasting the actual XML below. I could also post the actual XML file, but am not sure how to do that in this forum. 

    Here are the contents of the XML file pasted below: 

    <SDLErrorDetails time="11/15/2016 5:49:39 AM">
    <ErrorMessage>Exception has been thrown by the target of an invocation.</ErrorMessage>
    <Exception>
    <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.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
    at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
    at Sdl.Desktop.Common.DataListRow.Data.get_Item(String dataMember)
    at Sdl.Desktop.Common.DataList.<>c__DisplayClassc.<QuickSortUsingLinq>b__4(DataListRow x)
    at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
    at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
    at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__0.MoveNext()
    at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
    at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
    at Sdl.Desktop.Common.DataList.QuickSort(DataListRowCollection rows, DataListColumn groupColumn, DataListColumn sortColumn, SortOrder sortOrder)
    at Sdl.Desktop.Common.DataList.SortHierarchical()
    at Sdl.Desktop.Common.DataList.Sort()
    at Sdl.Desktop.Common.DataList.DataBind()
    at Sdl.Desktop.Common.DataList.DataBindBindingList()
    at Sdl.Desktop.Common.DataList.set_DataSource(Object value)
    at Sdl.TranslationStudio.Common.Files.FileListControl.SetProjectFiles(IProjectFile[] projectFiles)
    at Sdl.TranslationStudio.Common.Files.FileListControl.set_ProjectFiles(IProjectFile[] value)
    at Sdl.TranslationStudio.Common.Files.FileDataController.SetFileListContents(Folder selectedFolder)
    at Sdl.TranslationStudio.ProjectManagement.FilesView.FilesViewService.MyFileDataController.SetFileListContents(Folder selectedFolder)
    at Sdl.TranslationStudio.Common.Files.FileDataController.RefreshFileList()
    at Sdl.TranslationStudio.Common.Files.FileDataController.TryLoadData()
    at Sdl.TranslationStudio.Common.Files.FileDataController.set_FileData(IFileData value)
    at Sdl.TranslationStudio.Common.Files.ProjectFileDataController.set_FileData(ProjectFileData value)
    at Sdl.TranslationStudio.ProjectManagement.FilesView.FilesViewService.UpdateDetails()
    at Sdl.TranslationStudio.ProjectManagement.FilesView.FilesViewService.Refresh()
    at Sdl.TranslationStudio.ProjectManagement.FilesView.FilesView.Refresh()
    at Sdl.Desktop.Platform.AbstractView.Application_Idle(Object sender, EventArgs e)
    at System.EventHandler.Invoke(Object sender, EventArgs e)
    at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at Sdl.Desktop.Platform.Implementation.Studio.Run()
    at Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
    <InnerException>
    <Type>System.FormatException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>mscorlib</Source>
    <HResult>-2146233033</HResult>
    <StackTrace><![CDATA[ at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
    at System.String.Format(IFormatProvider provider, String format, Object[] args)
    at System.String.Format(String format, Object[] args)
    at Sdl.ProjectApi.Helpers.AbstractConfirmationStatistics.ComputeCombinedConfirmationLevel()
    at Sdl.ProjectApi.Helpers.AbstractConfirmationStatistics.get_PercentComplete()
    at Sdl.TranslationStudio.Common.Files.FileListItem.get_PercentComplete()]]></StackTrace>
    </InnerException>
    </Exception>
    <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>12.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>12.2.5195.7</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 8.1 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>EVE-SURFACE-WK\Eve</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.34209</DotNetFrameWork>
    <ComputerName>EVE-SURFACE-WK</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>8291400 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>

Children