"Object reference not set to an instance of an object." error when opening a file

Former Member
Former Member

Hi!


Since I have yesterday cleaned a project, i.e. removed a second targetlanguage by editing the project-file I get this error-message when I open a file for translation and it closes automatically.

Here is the errormessage:


Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Sdl.ProjectAutomation.FileBased
-2147467261
b__35_0(ITranslatableFile tf)
bei System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
bei System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
bei System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
bei Sdl.TranslationStudioAutomation.IntegrationApi.Document.get_Files()
bei Sdl.TranslationStudio.Plugins.Bookmarks.BookmarksViewModel. c__DisplayClass50_0. b__0(Bookmark b)
bei System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
bei Sdl.TranslationStudio.Plugins.Bookmarks.BookmarksViewModel.GetLastSegmentInDocumentBookmark(IStudioDocument doc)
bei Sdl.TranslationStudio.Plugins.Bookmarks.BookmarksViewModel.InitializeLastSegmentInDocumentBookmark()
bei Sdl.TranslationStudio.Plugins.Bookmarks.BookmarksViewModel.OnActiveDocumentChanged()
bei Sdl.TranslationStudio.Plugins.Bookmarks.BookmarksViewModel.EditorController_Opened(Object sender, DocumentEventArgs e)
bei System.EventHandler`1.Invoke(Object sender, TEventArgs e)
bei Sdl.Desktop.Platform.Extensions.EventsExtensions.Raise[T](EventHandler`1 e, Object sender, T eventArgs)
bei Sdl.TranslationStudioAutomation.IntegrationApi.EditorController.OnDocumentOpened(IDocument document)
bei Sdl.TranslationStudio.Api.Editor.DocumentEventHandler.Invoke(IDocument document)
bei Sdl.TranslationStudio.Editor.EditorService.OnDocumentOpened(IDocument document)
bei Sdl.TranslationStudio.Editor.EditorService.document_Loaded(IDocument document)
bei Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.OnLoaded()
bei Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.OnLoaded()
bei Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.AfterLoad(IJob job)]]>


SDL Trados Studio
Studio16
16.0.2.3343
Microsoft Windows 10 Home
NULL
1031
1252
DESKTOP-VJG3QED\fholz
4.0.30319.42000
DESKTOP-VJG3QED
True
20798516 MB

I tried repair installation and deleted the profile-files. And it dont effects other projects.
Any suggestions?
TIA
Franz

emoji
Parents
  • Since I have yesterday cleaned a project, i.e. removed a second targetlanguage by editing the project-file

    It's never a good idea to do this as you probably don't know what Trados uses from the project files, or what other information it may have created to use a language it now can't find.  I suggest you reinstall Trados Studio, and in fact also upgrade as the version you are using is two service packs old.  The current versions are below and they are available to you in your account:

    Trados Studio 2021 - 16.2.9.9198
    MultiTerm 2021 - 16.2.1.1044

    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
Reply
  • Since I have yesterday cleaned a project, i.e. removed a second targetlanguage by editing the project-file

    It's never a good idea to do this as you probably don't know what Trados uses from the project files, or what other information it may have created to use a language it now can't find.  I suggest you reinstall Trados Studio, and in fact also upgrade as the version you are using is two service packs old.  The current versions are below and they are available to you in your account:

    Trados Studio 2021 - 16.2.9.9198
    MultiTerm 2021 - 16.2.1.1044

    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
Children