"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 Reply Children
No Data