object reference not set to an instance of an object

Hi all,

I hope you can help me. I keep getting this error message every time I scroll up to the first segment of a file.

Also, I get it when I try to open certain files for editing. The message appears and the file closes again, so I can't work on it.

I tried all the solutions mentioned in http://producthelp.sdl.com/kb/Articles/4984.html

I've read all or nearly all the message in this forum but they either do not apply to my situation or don't work. I'm at my wits end, I'm usually quite computer savvy, but this one breaks my back.

Parents Reply Children
  • Well, with WSXZ there is often this kind of error when Check spelling as you type is activated. If this is your case, try to disable this feature.

    But still, if you can provide the stack trace we can see what is causing the issue - for now it is just guessing based on own experiences...

    Ladislav
  • I don't see where I have/can activate Check spelling as you type, and spelling actually isn't checked while I type.
    Not sure what a stack trace is, but this is the info I get when I save the error message:
    <SDLErrorDetails time="14-4-2015 12:01:57">
    <ErrorMessage>De objectverwijzing is niet op een exemplaar van een object ingesteld.</ErrorMessage>
    <Exception>
    <Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>Sdl.TranslationStudio.Editor</Source>
    <HResult>-2147467261</HResult>
    <StackTrace><![CDATA[ bij Sdl.TranslationStudio.Editor.Terminology.TermbaseProvider.UpdateTermbasesContextFilters()
    bij Sdl.TranslationStudio.Editor.Terminology.TermbaseProvider.SetTermbases(IList`1 termbases)
    bij Sdl.TranslationStudio.Editor.Terminology.TermAccessProvider.RegisterDocument(ITranslatableDocument document)
    bij Sdl.TranslationStudio.Editor.Terminology.TermAccessProvider.editorService_DocumentOpened(IDocument document)
    bij Sdl.TranslationStudio.Api.Editor.DocumentEventHandler.Invoke(IDocument document)
    bij Sdl.TranslationStudio.Editor.EditorService.OnDocumentOpened(IDocument document)
    bij Sdl.TranslationStudio.Editor.EditorService.document_Loaded(IDocument document)
    bij Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.OnLoaded()
    bij Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.OnLoaded()
    bij Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.AfterLoad(IJob job)]]></StackTrace>
    </Exception>
    <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>11.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>11.2.4378.9</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 7 Home Premium </OperatingSystem>
    <ServicePack>Service Pack 1</ServicePack>
    <OperatingSystemLanguage>1043</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>PC-JanWillem\Jan Willem</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.34209</DotNetFrameWork>
    <ComputerName>PC-JANWILLEM</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>4175072 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>
  • OK, based on this I believe that termbase is the cause in your case. Try removing it. But I am not sure how to keep it and make Studio work without this message. Maybe someone else will know.
  • Thank you. Removing the termbase did indeed solve the issue. However, unfortunately, working without TB is not an acceptable option for this particular client...