"Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt" when opening a file

Former Member
Former Member

Hallo!

Since I have cleared a project, i.e removed an  additional language which I had installed by editing the project-file, I get the above message when I open a file of the some project for translation.

Here is the error: 

<SDLErrorDetails time="14.02.2022 08:26:56">
<ErrorMessage>Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.</ErrorMessage>
<Exception>
<Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<HelpLink />
<Source>Sdl.ProjectAutomation.FileBased</Source>
<HResult>-2147467261</HResult>
<StackTrace><![CDATA[ bei Sdl.ProjectAutomation.FileBased.FileBasedProject.GetFile(Guid fileId)
bei Sdl.TranslationStudioAutomation.IntegrationApi.Document.<get_Files>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.<GetLastSegmentInDocumentBookmark>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)]]></StackTrace>
</Exception>
<Environment>
<ProductName>SDL Trados Studio</ProductName>
<ProductVersion>Studio16</ProductVersion>
<EntryAssemblyFileVersion>16.0.2.3343</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>
<ServicePack>NULL</ServicePack>
<OperatingSystemLanguage>1031</OperatingSystemLanguage>
<CodePage>1252</CodePage>
<LoggedOnUser>DESKTOP-VJG3QED\fholz</LoggedOnUser>
<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
<ComputerName>DESKTOP-VJG3QED</ComputerName>
<ConnectedToNetwork>True</ConnectedToNetwork>
<PhysicalMemory>20798516 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>

Any suggestions?

TIA

Franz

emoji
  • Please try to use "Reset window layout" from the View menu.

    Other option: remove the project from project list. Restart Studio and add the project to the project list again.

    If even this does not help, recreate the project, using the SDLXLIFF files from the target language folder of the current project as source instead of the original source files.

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

    emoji