Error message when opening a .xlf document

Hello,


I'm facing a problem with Studio 2014. I am trying to open a .xlf document, but when I try to do it, I receive the following error message: "Riferimento a un oggetto non impostato su un’istanza di oggetto". I have tried to open it checking source and target languages with my client several times, but I can't understand what the problem is.

I would greatly appreciate your help.

Thanks in advance

Angélica Velazco

Parents
  • Hi Angelica,

    Always a good idea to save the stacktrace and attach it to your post as the object reference error message is too generic on the basis of the title alone:

     

    Perhaps also try correcting the language codes in the xliff file so they are it-IT and es-ES perhaps.  Shouldn't make a difference but you are using quite an old version of the software now and this might be triggering this error.  Good to rule the language codes out anyway.

    Also, are you able to share the source file?  You can email it to pfilkin@sdl.com if this is acceptable?

    Regards

    Paul

    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

Reply
  • Hi Angelica,

    Always a good idea to save the stacktrace and attach it to your post as the object reference error message is too generic on the basis of the title alone:

     

    Perhaps also try correcting the language codes in the xliff file so they are it-IT and es-ES perhaps.  Shouldn't make a difference but you are using quite an old version of the software now and this might be triggering this error.  Good to rule the language codes out anyway.

    Also, are you able to share the source file?  You can email it to pfilkin@sdl.com if this is acceptable?

    Regards

    Paul

    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

Children
  • Hi Paul, many thanks for your answer!

    My client and I made different tests in order to realize what the problem was, but I received the same error message. I saved and attached the stacktrace for you this time, and I am sending you an email with the source file.

    I think it could be an incompatibilty problem between Frame Maker 2015 and Trados Studio 2014, what do you think?

    After all this info, what could you recommend as a solution?

    Thank you again

    Kind regards

    <SDLErrorDetails time="16-02-2017 12:54:56 p.m.">
      <ErrorMessage>Riferimento a un oggetto non impostato su un'istanza di oggetto.</ErrorMessage>
      <Exception>
        <Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>Sdl.FileTypeSupport.Filters.Xliff</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   in Sdl.FileTypeSupport.Filters.Xliff.Infrastructure.ParagraphUnitBuilder.EndTagPair(String endTagContent, Dictionary`2 metadata)
       in Sdl.FileTypeSupport.Filters.Xliff.Infrastructure.Consumers.Parser.CustomMarkerEndElementConsumer.Consume(XmlNodeParsed message)
       in lambda_method(Closure , IMessage )
       in Sdl.FileTypeSupport.Filters.Xliff.Infrastructure.InMemoryBus.Publish(IMessage message)
       in Sdl.FileTypeSupport.Filters.Xliff.ParserImpl.Publish(XmlNodeParsed message)
       in Sdl.FileTypeSupport.Filters.Xliff.Infrastructure.XmlParser.Parse(XmlTextReader reader)
       in Sdl.FileTypeSupport.Filters.Xliff.ParserImpl.Parse(String xliffPath)
       in Sdl.FileTypeSupport.Filters.Xliff.Parser.ParseNext()
       in Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
       in Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
       in Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
       in Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.Load(IJobExecutionContext context)
       in Sdl.Desktop.Platform.Services.JobRequest.Execute(IJobExecutionContext context)
       in Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__3()
       in Sdl.Desktop.Platform.Implementation.Services.Log.Resources(Object message, Action action)
       in Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
       in System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       in System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>11.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>11.0.3636.0</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1040</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>USER\Angelica</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>USER</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>6167832 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>
    <SDLErrorDetails time="16-02-2017 12:58:05 p.m.">
      <ErrorMessage>Riferimento a un oggetto non impostato su un'istanza di oggetto.</ErrorMessage>
      <Exception>
        <Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>Sdl.FileTypeSupport.Filters.Xliff</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   in Sdl.FileTypeSupport.Filters.Xliff.Infrastructure.ParagraphUnitBuilder.EndTagPair(String endTagContent, Dictionary`2 metadata)
       in Sdl.FileTypeSupport.Filters.Xliff.Infrastructure.Consumers.Parser.CustomMarkerEndElementConsumer.Consume(XmlNodeParsed message)
       in lambda_method(Closure , IMessage )
       in Sdl.FileTypeSupport.Filters.Xliff.Infrastructure.InMemoryBus.Publish(IMessage message)
       in Sdl.FileTypeSupport.Filters.Xliff.ParserImpl.Publish(XmlNodeParsed message)
       in Sdl.FileTypeSupport.Filters.Xliff.Infrastructure.XmlParser.Parse(XmlTextReader reader)
       in Sdl.FileTypeSupport.Filters.Xliff.ParserImpl.Parse(String xliffPath)
       in Sdl.FileTypeSupport.Filters.Xliff.Parser.ParseNext()
       in Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
       in Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
       in Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
       in Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.Load(IJobExecutionContext context)
       in Sdl.Desktop.Platform.Services.JobRequest.Execute(IJobExecutionContext context)
       in Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__3()
       in Sdl.Desktop.Platform.Implementation.Services.Log.Resources(Object message, Action action)
       in Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
       in System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       in System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>11.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>11.0.3636.0</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1040</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>USER\Angelica</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>USER</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>6167832 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>