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
  • Hi ,

    The error seems to be pointing towards your project template so first of all can you confirm whether you are using custom project templates or the default?

    If the default please try deleting this one:

    c:\Users\[USERNAME]\Documents\Studio 2017\Project Templates\Default.sdltpl

    Then restart Studio and try again?

    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

  • 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>

Reply
  • 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>

Children