Forum: SDL Trados support
Topic: Error: Failed to initialize editor view
Poster: HarryHedgehog
Post title: Studio 2011: Failed to initialize view "projectsView"
Hi there,
Resurrecting an old thread with a similar problem.
After much recalcitrance (my last attempt to update Studio failed miserably), I finally updated to Studio 2011 SP2R - 10.4.3079.1, in the hope of eliminating some annoying random bug messages.
The update seemed to work fine, although two separate updates were needed (to install CU 9 as well). I then rebooted Windows.
Now, when I try to start Studio, it automatically opens the Files view of the last project I edited. But when I try to switch to the Projects view, I get an error message "Failed to initialize view 'ProjectsView'". Each subsequent attempt to open the Projects view generates the error message "Object reference not set to an instance of an object".
Error details:
[SDLErrorDetails time="11.08.2013 19:19:19"]
[ErrorMessage]Failed to initialize view 'ProjectsView'.[/ErrorMessage]
[Exception]
[Type]Sdl.Desktop.Platform.StudioException, Sdl.Desktop.Platform, Version= [IP removed] , Culture=neutral, PublicKeyToken=c28cdb26c445c888[/Type]
[HelpLink /]
[Source]Sdl.Desktop.Platform[/Source]
[StackTrace][![CDATA[ at Sdl.Desktop.Platform.Implementation.StudioWindow.EnsureViewSite(IViewReference viewReference)
at Sdl.Desktop.Platform.Implementation.StudioWindow.set_ActiveView(IViewReference value)
at Sdl.Desktop.Platform.WinForms.StudioWindowForm._explorerBar_ActiveGroupChanged(Object sender, GroupEventArgs e)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.OnActiveGroupChanged(GroupEventArgs e)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.FireEvent(UltraExplorerBarEventIds id, EventArgs e)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.set_ActiveGroup(UltraExplorerBarGroup value)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroupHeaderUIElement.OnMouseDown(MouseEventArgs e, Boolean adjustableArea, UIElement& captureMouseForElement)
at Infragistics.Win.UIElement.OnMouseDown(MouseEventArgs e, Boolean adjustableArea, UIElement& captureMouseForElement)
at Infragistics.Win.TextUIElementBase.OnMouseDown(MouseEventArgs e, Boolean adjustableArea, UIElement& captureMouseForElement)
at Infragistics.Win.ControlUIElementBase.ProcessMouseDownHelper(Object sender, MouseEventArgs e)
at Infragistics.Win.ControlUIElementBase.ProcessMouseDown(Object sender, MouseEventArgs e)
at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
at Infragistics.Win.UltraControlBase.OnMouseDown(MouseEventArgs e)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(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]Sdl.Desktop.Platform.StudioException, Sdl.Desktop.Platform, Version= [IP removed] , Culture=neutral, PublicKeyToken=c28cdb26c445c888[/Type]
[HelpLink /]
[Source]Sdl.Desktop.Platform[/Source]
[StackTrace][![CDATA[ at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.GetAction(String id)
at Sdl.Desktop.Platform.WinForms.IgMenu.CreateCommandBarAction(String actionId)
at Sdl.Desktop.Platform.Implementation.CommandBars.SubCommandBar.Insert(Int32 index, String actionId)
at Sdl.TranslationStudio.ProjectManagement.ProjectsView.ProjectsView.FillCommandBars()
at Sdl.TranslationStudio.ProjectManagement.ProjectsView.ProjectsView.OnInit(IViewSite site, ISettingsGroup settings)
at Sdl.Desktop.Platform.AbstractView.Init(IViewSite site, ISettingsGroup settings)
at Sdl.Desktop.Platform.Implementation.StudioWindow.EnsureViewSite(IViewReference viewReference)]]][/StackTrace]
[/InnerException]
[/Exception]
[Environment]
[ProductName]SDL Trados Studio[/ProductName]
[ProductVersion] [IP removed] [/ProductVersion]
[EntryAssemblyFileVersion]10.4.3079.1[/EntryAssemblyFileVersion]
[OperatingSystem]Microsoft Windows 7 Home Premium [/OperatingSystem]
[ServicePack]Service Pack 1[/ServicePack]
[OperatingSystemLanguage]1031[/OperatingSystemLanguage]
[CodePage]1252[/CodePage]
[LoggedOnUser][redacted for privacy][/LoggedOnUser]
[DotNetFrameWork]2.0.50727.5472[/DotNetFrameWork]
[ComputerName][redacted for privacy][/ComputerName]
[ConnectedToNetwork]True[/ConnectedToNetwork]
[PhysicalMemory]16743568 MB[/PhysicalMemory]
[/Environment]
[/SDLErrorDetails]
And just to be really, really annoying, the program gives me the same "Object reference not set to an instance of an object" error message when I try to quit - so I have to kill the process manually with the Windows Task Manager.
Error details:
[SDLErrorDetails time="11.08.2013 19:00:26"]
[ErrorMessage]Object reference not set to an instance of an object.[/ErrorMessage]
[Exception]
[Type]System.NullReferenceException, mscorlib, Version= [IP removed] , Culture=neutral, PublicKeyToken=b77a5c561934e089[/Type]
[HelpLink /]
[Source]Sdl.Desktop.Platform[/Source]
[StackTrace][![CDATA[ at Sdl.Desktop.Platform.AbstractDockingView.SaveState(ISettingsGroup settings)
at Sdl.TranslationStudio.ProjectManagement.ProjectsView.ProjectsView.SaveState(ISettingsGroup settings)
at Sdl.Desktop.Platform.Implementation.StudioWindow.SaveState()
at Sdl.Desktop.Platform.Implementation.StudioWindow.OnClosed()
at Sdl.Desktop.Platform.Implementation.StudioWindow._form_Closed(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnClosed(EventArgs e)
at Sdl.Desktop.Platform.WinForms.StudioWindowForm.OnClosed(EventArgs e)
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at Sdl.Desktop.Platform.WinForms.StudioWindowForm.WndProc(Message& message)
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]SDL Trados Studio[/ProductName]
[ProductVersion] [IP removed] [/ProductVersion]
[EntryAssemblyFileVersion]10.4.3079.1[/EntryAssemblyFileVersion]
[OperatingSystem]Microsoft Windows 7 Home Premium [/OperatingSystem]
[ServicePack]Service Pack 1[/ServicePack]
[OperatingSystemLanguage]1031[/OperatingSystemLanguage]
[CodePage]1252[/CodePage]
[LoggedOnUser][redacted for privacy][/LoggedOnUser]
[DotNetFrameWork]2.0.50727.5472[/DotNetFrameWork]
[ComputerName][redacted for privacy][/ComputerName]
[ConnectedToNetwork]True[/ConnectedToNetwork]
[PhysicalMemory]16743568 MB[/PhysicalMemory]
[/Environment]
[/SDLErrorDetails]
Now, to edit an active project, I have to open the sdlxliff file manually from within the project directory in the Studio folder - and add the project memories again - each time I launch the program, which is a clear drop in usability. If I try to open the project package with File -> Open Package or File -> Open Project, Studio says "This project has already been opened in Trados Studio 2011 and added to the project list" (which I of course can't display).
Furthermore, since I can't open the package from the Projects view, I can't create a return package, either, which my client is expecting of me - making this matter rather urgent.
I would greatly appreciate it if someone from SDL Trados could let me know if there's a simple solution to this problem. I searched the SDL KB and Google, but could not find a single hit involving the Projects view, only the Editor view (the same applies to this thread).
Alternatively, if anyone else has encountered this error and found a workaround, please share.
Thanks in advance,
Harry.
[Edited at 2013-08-11 17:26 GMT]
Topic: Error: Failed to initialize editor view
Poster: HarryHedgehog
Post title: Studio 2011: Failed to initialize view "projectsView"
Hi there,
Resurrecting an old thread with a similar problem.
After much recalcitrance (my last attempt to update Studio failed miserably), I finally updated to Studio 2011 SP2R - 10.4.3079.1, in the hope of eliminating some annoying random bug messages.
The update seemed to work fine, although two separate updates were needed (to install CU 9 as well). I then rebooted Windows.
Now, when I try to start Studio, it automatically opens the Files view of the last project I edited. But when I try to switch to the Projects view, I get an error message "Failed to initialize view 'ProjectsView'". Each subsequent attempt to open the Projects view generates the error message "Object reference not set to an instance of an object".
Error details:
[SDLErrorDetails time="11.08.2013 19:19:19"]
[ErrorMessage]Failed to initialize view 'ProjectsView'.[/ErrorMessage]
[Exception]
[Type]Sdl.Desktop.Platform.StudioException, Sdl.Desktop.Platform, Version= [IP removed] , Culture=neutral, PublicKeyToken=c28cdb26c445c888[/Type]
[HelpLink /]
[Source]Sdl.Desktop.Platform[/Source]
[StackTrace][![CDATA[ at Sdl.Desktop.Platform.Implementation.StudioWindow.EnsureViewSite(IViewReference viewReference)
at Sdl.Desktop.Platform.Implementation.StudioWindow.set_ActiveView(IViewReference value)
at Sdl.Desktop.Platform.WinForms.StudioWindowForm._explorerBar_ActiveGroupChanged(Object sender, GroupEventArgs e)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.OnActiveGroupChanged(GroupEventArgs e)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.FireEvent(UltraExplorerBarEventIds id, EventArgs e)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.set_ActiveGroup(UltraExplorerBarGroup value)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroupHeaderUIElement.OnMouseDown(MouseEventArgs e, Boolean adjustableArea, UIElement& captureMouseForElement)
at Infragistics.Win.UIElement.OnMouseDown(MouseEventArgs e, Boolean adjustableArea, UIElement& captureMouseForElement)
at Infragistics.Win.TextUIElementBase.OnMouseDown(MouseEventArgs e, Boolean adjustableArea, UIElement& captureMouseForElement)
at Infragistics.Win.ControlUIElementBase.ProcessMouseDownHelper(Object sender, MouseEventArgs e)
at Infragistics.Win.ControlUIElementBase.ProcessMouseDown(Object sender, MouseEventArgs e)
at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
at Infragistics.Win.UltraControlBase.OnMouseDown(MouseEventArgs e)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(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]Sdl.Desktop.Platform.StudioException, Sdl.Desktop.Platform, Version= [IP removed] , Culture=neutral, PublicKeyToken=c28cdb26c445c888[/Type]
[HelpLink /]
[Source]Sdl.Desktop.Platform[/Source]
[StackTrace][![CDATA[ at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.GetAction(String id)
at Sdl.Desktop.Platform.WinForms.IgMenu.CreateCommandBarAction(String actionId)
at Sdl.Desktop.Platform.Implementation.CommandBars.SubCommandBar.Insert(Int32 index, String actionId)
at Sdl.TranslationStudio.ProjectManagement.ProjectsView.ProjectsView.FillCommandBars()
at Sdl.TranslationStudio.ProjectManagement.ProjectsView.ProjectsView.OnInit(IViewSite site, ISettingsGroup settings)
at Sdl.Desktop.Platform.AbstractView.Init(IViewSite site, ISettingsGroup settings)
at Sdl.Desktop.Platform.Implementation.StudioWindow.EnsureViewSite(IViewReference viewReference)]]][/StackTrace]
[/InnerException]
[/Exception]
[Environment]
[ProductName]SDL Trados Studio[/ProductName]
[ProductVersion] [IP removed] [/ProductVersion]
[EntryAssemblyFileVersion]10.4.3079.1[/EntryAssemblyFileVersion]
[OperatingSystem]Microsoft Windows 7 Home Premium [/OperatingSystem]
[ServicePack]Service Pack 1[/ServicePack]
[OperatingSystemLanguage]1031[/OperatingSystemLanguage]
[CodePage]1252[/CodePage]
[LoggedOnUser][redacted for privacy][/LoggedOnUser]
[DotNetFrameWork]2.0.50727.5472[/DotNetFrameWork]
[ComputerName][redacted for privacy][/ComputerName]
[ConnectedToNetwork]True[/ConnectedToNetwork]
[PhysicalMemory]16743568 MB[/PhysicalMemory]
[/Environment]
[/SDLErrorDetails]
And just to be really, really annoying, the program gives me the same "Object reference not set to an instance of an object" error message when I try to quit - so I have to kill the process manually with the Windows Task Manager.
Error details:
[SDLErrorDetails time="11.08.2013 19:00:26"]
[ErrorMessage]Object reference not set to an instance of an object.[/ErrorMessage]
[Exception]
[Type]System.NullReferenceException, mscorlib, Version= [IP removed] , Culture=neutral, PublicKeyToken=b77a5c561934e089[/Type]
[HelpLink /]
[Source]Sdl.Desktop.Platform[/Source]
[StackTrace][![CDATA[ at Sdl.Desktop.Platform.AbstractDockingView.SaveState(ISettingsGroup settings)
at Sdl.TranslationStudio.ProjectManagement.ProjectsView.ProjectsView.SaveState(ISettingsGroup settings)
at Sdl.Desktop.Platform.Implementation.StudioWindow.SaveState()
at Sdl.Desktop.Platform.Implementation.StudioWindow.OnClosed()
at Sdl.Desktop.Platform.Implementation.StudioWindow._form_Closed(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnClosed(EventArgs e)
at Sdl.Desktop.Platform.WinForms.StudioWindowForm.OnClosed(EventArgs e)
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at Sdl.Desktop.Platform.WinForms.StudioWindowForm.WndProc(Message& message)
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]SDL Trados Studio[/ProductName]
[ProductVersion] [IP removed] [/ProductVersion]
[EntryAssemblyFileVersion]10.4.3079.1[/EntryAssemblyFileVersion]
[OperatingSystem]Microsoft Windows 7 Home Premium [/OperatingSystem]
[ServicePack]Service Pack 1[/ServicePack]
[OperatingSystemLanguage]1031[/OperatingSystemLanguage]
[CodePage]1252[/CodePage]
[LoggedOnUser][redacted for privacy][/LoggedOnUser]
[DotNetFrameWork]2.0.50727.5472[/DotNetFrameWork]
[ComputerName][redacted for privacy][/ComputerName]
[ConnectedToNetwork]True[/ConnectedToNetwork]
[PhysicalMemory]16743568 MB[/PhysicalMemory]
[/Environment]
[/SDLErrorDetails]
Now, to edit an active project, I have to open the sdlxliff file manually from within the project directory in the Studio folder - and add the project memories again - each time I launch the program, which is a clear drop in usability. If I try to open the project package with File -> Open Package or File -> Open Project, Studio says "This project has already been opened in Trados Studio 2011 and added to the project list" (which I of course can't display).
Furthermore, since I can't open the package from the Projects view, I can't create a return package, either, which my client is expecting of me - making this matter rather urgent.
I would greatly appreciate it if someone from SDL Trados could let me know if there's a simple solution to this problem. I searched the SDL KB and Google, but could not find a single hit involving the Projects view, only the Editor view (the same applies to this thread).
Alternatively, if anyone else has encountered this error and found a workaround, please share.
Thanks in advance,
Harry.
[Edited at 2013-08-11 17:26 GMT]