Object reference not set to an instance of an object

Hello everyone,

 

I am using SDL Trados 2014. I have to translate a project with two files. These files are memoq bilinguals, prepared by our client. When I tried to generate one of the translated documents, I received the following error: Object reference not set to an instance of an object. I can export correctly only one of the documents. I read in the community about this error, and none of the solutions worked.

 

Does anyone know how to solve this error?

I can open the document, work with it, update the TM but not export the clean final document. I also asked the client to prepare again the files in case there was an error there.

 

Thanks

Parents
  • Hi Mikael,

    I guess you are using the plugin from the AppStore for this as you have Studio 2014? Studio 2015 and later have this built in.

    Maybe try this:

    1. Open the mqxlf file as a single file project
    2. Translate from your TM
    3. Immediately save the target

    The error you mention is very generic and doesn't really give any information to help troubleshoot the error. Sometimes the underlying stack trace can be helpful but always. But I would guess the problem has something to do with temporary files in your project. So taking the approach above might help you recover the translated files.

    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

  • Hi Paul and many thanks for your quick response,

    Yes, I am working in 2014 with the plugin from the AppStore. I asked a colleague with 2015 to process the file, and he got the error too.

    Unfortunately, your solution didn't work. I followed your steps and I got the same message. 

    My guess is that something inside the file is unexpected. Can it be caused by a mismatched pair of tags?

    Here I copy the stack trace, in case you can identify the possible error:

    <StackTrace><![CDATA[ en Sdl.FileTypeSupport.Filters.Xliff.MemoQ.Consumers.Writer.PercentAttributeSpecializedConsumer.GetMatchPercent()
    en Sdl.FileTypeSupport.Filters.Xliff.MemoQ.Consumers.Writer.PercentAttributeSpecializedConsumer.WriteIfNotConsumed()
    en Sdl.FileTypeSupport.Filters.Xliff.Infrastructure.MessageWithRoutedAttributesWriter.<Write>b__1(ISpecializedAttributeConsumer consumer)
    en System.Collections.Generic.List`1.ForEach(Action`1 action)
    en Sdl.FileTypeSupport.Filters.Xliff.Infrastructure.MessageWithRoutedAttributesWriter.Write(XmlNodeParsed message)
    en Sdl.FileTypeSupport.Filters.Xliff.MemoQ.Consumers.Writer.TranslationUnitConsumer.AfterProcessParagraphUnit()
    en Sdl.FileTypeSupport.Filters.Xliff.Infrastructure.WriterProcessingContext.NotifyProcessParagraphUnitEnd()
    en Sdl.FileTypeSupport.Filters.Xliff.Infrastructure.WriterProcessingContext.ProcessParagraphUnits()
    en Sdl.FileTypeSupport.Filters.Xliff.Writer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
    en Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
    en Sdl.FileTypeSupport.Framework.Integration.GenerationBilingualContentLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
    en Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
    en Sdl.FileTypeSupport.Framework.Integration.FileGenerator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
    en Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
    en Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
    en Sdl.FileTypeSupport.Framework.Integration.LocationMarkerLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
    en Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
    en Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.vv_Visit(TmfcReaderImpl* , FrameworkParagraphContainerField* field)
    en FrameworkParagraphContainerField.vv_AcceptFrameworkVisitor(FrameworkParagraphContainerField* , FrameworkFieldVisitor* visitor)
    en Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.vv_VisitStartEndField(TmfcReaderImpl* , StartEndField* startEnd)
    en Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.b_VisitNext(TmfcReaderImpl* )
    en Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReader.ParseNext()
    en Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
    en Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
    en Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
    en Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.SaveMonolingualAsJobRequest.Execute(IJobExecutionContext context)
    en Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__3()
    en Sdl.Desktop.Platform.Implementation.Services.Log.Resources(Object message, Action action)
    en Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
    en System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
    en System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>

  • Hi Mikael,

    Can I see the file? That might help us to identify the cause of the problem and reach a solution.

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