Object reference not set to an in stance of an object

Hello!

I am getting this message when reopening some files. I am able to translate them at first with no problem but if I closed them, I am not able to reopen.

Could you please give me an ideia of what I should do?

Thank you!

Parents Reply Children
  • Hi Jesse,

    Thank you for your reply and for your help.

    Here it is the report.

    <SDLErrorDetails time="21-04-2016 10:39:31">
    <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.FileTypeSupport.Bilingual.SdlXliff</Source>
    <HResult>-2147467261</HResult>
    <StackTrace><![CDATA[ at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseCommentMetadataElement(XmlElement cmtMetadataElement)
    at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseDocInfoElement(XmlElement docInfoElement)
    at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.OnDocInfo(XmlElement docInfo)
    at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.<ContinueScanning>b__0(ISdlXliffStreamContentHandler handler)
    at System.Collections.Generic.List`1.ForEach(Action`1 action)
    at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.ContinueScanning()
    at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ContinueParsing()
    at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseNext()
    at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
    at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
    at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
    at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.Load(IJobExecutionContext context)
    at Sdl.Desktop.Platform.Services.JobRequest.Execute(IJobExecutionContext context)
    at Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__3()
    at Sdl.Desktop.Platform.Implementation.Services.Log.Resources(Object message, Action action)
    at Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
    at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
    </Exception>
    <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>11.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>11.2.4435.12</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 7 Professional </OperatingSystem>
    <ServicePack>Service Pack 1</ServicePack>
    <OperatingSystemLanguage>2070</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>jofrazao-TOSH\jofrazao</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>JOFRAZAO-TOSH</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>4104244 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>
  • Hi Joana,

    The error message gives the clue "ParseCommentMetadataElement".
    There is probably a corrupt comment in your file. Is it okay to delete all the comments?
    If not, save the comments somewhere as a backup (or just backup the file) and then delete all the comments.
    Let me know if that solves the problem.