Error after installing Studio 2017 CU5

Since I installed the Studio CU5 yesterday I keep getting the following error message when I try to create a new project: Object reference not set to an instance of an object. Below is the full error message I saved.

<?xml version="1.0"?>
-<SDLErrorDetails time="03/05/2017 11:03:12">
<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.ProjectManagement</Source>
<HResult>-2147467261</HResult>
-<StackTrace>
<![CDATA[ at Sdl.TranslationStudio.ProjectManagement.ProjectWizard.ProjectLanguagesWizardPage.CopyAllLanguageDirectionSettingsFromTemplate() at Sdl.TranslationStudio.ProjectManagement.ProjectWizard.ProjectLanguagesWizardPage.UpdateProjectLanguages(Boolean validate) at Sdl.TranslationStudio.ProjectManagement.ProjectWizard.ProjectLanguagesWizardPage.OnNext() at Sdl.Desktop.Platform.Wizard.AbstractWizard`1.Next() at Sdl.Desktop.Platform.Wizard.AbstractWizard`1._form_Next(Object sender, CancelEventArgs e) at Sdl.Desktop.Platform.WinForms.WizardForm._nextButton_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.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>
</Exception>
-<Environment>
<ProductName>SDL Trados Studio</ProductName>
<ProductVersion>14.0.0.0</ProductVersion>
<EntryAssemblyFileVersion>14.0.5889.5</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 7 Professional </OperatingSystem>
<ServicePack>Service Pack 1</ServicePack>
<OperatingSystemLanguage>1040</OperatingSystemLanguage>
<CodePage>1252</CodePage>
<LoggedOnUser>AEMP\Anne</LoggedOnUser>
<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
<ComputerName>AEMP</ComputerName>
<ConnectedToNetwork>True</ConnectedToNetwork>
<PhysicalMemory>8304296 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>

Parents Reply Children
  • Hi Anne,

    In this case I'm going to suggest you recreate them, at least the ones giving you problems. It's never a good idea to use project templates from previous versions anyway, although a CU should not normally be an issue. But there are some hefty enhancements in this CU that may well effect project templates.

    Regards

    Paul

    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

  • Now I have created a new project without using the old templates, and it all seems to be working fine until I try to save it, and this is the error message I get - what am I missing....

    <?xml version="1.0"?>
    -<SDLErrorDetails time="03/05/2017 14:33:57">
    <ErrorMessage>No reference to the project is known.</ErrorMessage>
    -<Exception>
    <Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink/>
    <Source>Sdl.TranslationStudio.ProjectManagement</Source>
    <HResult>-2146233079</HResult>
    -<StackTrace>
    <![CDATA[ at Sdl.TranslationStudio.ProjectManagement.ProjectsCache.DecreaseRefCount(IProject project) at Sdl.TranslationStudio.ProjectManagement.ProjectManagementService.set_CurrentProject(IProject value) at Sdl.TranslationStudio.ProjectManagement.ProjectManagementService.RefreshProjects(Boolean raiseEvent) at Sdl.TranslationStudio.ProjectManagement.ProjectManagementService.RefreshProjects() at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.OnClosed() at Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.CloseImpl() at Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.Close() at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.Close() at Sdl.TranslationStudio.Editor.EditorService.<CloseAllDocuments>b__4e(IDocument t) at System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate) at Sdl.TranslationStudio.Editor.EditorService.CloseAllDocuments() at Sdl.TranslationStudio.Editor.EditorService.Window_Closing(IStudioWindow window, CancelEventArgs e) at Sdl.Desktop.Platform.StudioWindowCancelEventHandler.Invoke(IStudioWindow window, CancelEventArgs cancel) at Sdl.Desktop.Platform.Implementation.StudioWindow.OnClosing() at Sdl.Desktop.Platform.Implementation.StudioWindow._form_Closing(Object sender, CancelEventArgs e) at System.Windows.Forms.Form.OnClosing(CancelEventArgs 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>14.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>14.0.5889.5</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 7 Professional </OperatingSystem>
    <ServicePack>Service Pack 1</ServicePack>
    <OperatingSystemLanguage>1040</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>AEMP\Anne</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>AEMP</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>8304296 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>

  • Hello Anne,

    I have had this myself a few times recently, normally when using the single file project approach. I resolve it by closing Studio and restarting, but I think it may have something to do with me removing the sdlproj files in windows explorer while Studio is still open. It may also be related to not saving a single file project before trying to save target. I haven't put my finger on it yet... but perhaps one of these things will help you?

    I'll also ask the support team in case they are aware of this and have a solution already.

    Regards

    Paul

    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

  • Ok thanks for all your help. I cleared all my completed projects from the list and if I don't use any custom templates then it all seems to work fine, so I'll just create new ones, but I really didn't expect to have to spend so much time trying to figure out why it wasn't working.
    Thanks again.
  • Matteo Rozzarin the CAT specialist at Omnia was also helpful in suggesting I clear my list of projects, so in future that would also be a suggestion for others who encounter similar difficulties!