Retrofit does not do the job on large files + Object reference not set to an instance of an object.

Hello,

I am a big fan of the retrofit function. It works like a charm on small files e.g. < 1500 words.

But with bigger files (I am currently working on files > 5.000 words) it does not work :

I either get the message "Object reference not set to an instance of an object" and then can not move forward with the job

or if I manage to get the process of retrofit running by changing the tolerance i get the target text modified by the source text ( in the target there is a mix of the source and of the target but not my modifications).

 

Any ideas of what could be the problem(s) ?

I work with Studio 2017, SR 1. Thanks

  • Hi  

    The object reference error title is very generic so we can't tell much from that, but if you save the error stack to your desktop and then add it to your post then we will have a bit more to go on. It would also be helpful to have your project if possible so we can reproduce the issue? So we'd need the Project and the file you edited for bringing back in. To post the error stack do this:

    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

  • Thanks Paul for your quick reply. Herewith the files.

    <SDLErrorDetails time="25/09/2017 11:38:18">
      <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.Filters.MicrosoftOffice.Word_2</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Parser.DocxParser.SetFileProperties(IFileProperties properties)
       at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.CallSetNativeFileProperties(INativeContentCycleAware aware)
       at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.CallSetNativeFileProperties()
       at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
       at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
       at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
       at Sdl.Core.Processing.Alignment.Api.AlignmentApiHelper.ReadRightDocument(IFileTypeManager fileTypeManager, String filename, CultureInfo culture, IResourceDataAccessor resourceDataAccessor, AlignmentFilePosition filePosition, ProgressReporter`2 progressReporter, EventHandler`1 messageReporter, String& outputFile)
       at Sdl.Core.Processing.Alignment.Api.AlignmentService.ReverseAlign(String leftxliffFilePath, String rightNativeFilePath, String outputFilePath, AlignmentFileFormat outputFileFormat, ReverseAlignmentSettings alignmentSettings, List`1 bilingualProcessors, EventHandler`1 progressHandler, EventHandler`1 messageReporter)
       at Sdl.ProjectApi.AutomaticTasks.Retrofit.RetrofitTask.RetrofitFile(IExecutingTaskFile taskFile, String reviewTargetFile, RetrofitSettings settings)
       at Sdl.ProjectApi.AutomaticTasks.Retrofit.RetrofitTask.ProcessFile(IExecutingTaskFile taskFile)
       at Sdl.ProjectApi.AutomaticTasks.AbstractFileLevelAutomaticTaskImplementation.Execute()]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>14.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>14.1.6329.7</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 7 Home Premium </OperatingSystem>
        <ServicePack>Service Pack 1</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>Manuella-PC\Manuella</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>MANUELLA-PC</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>3541012 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

  • I can not post the folder of the project. This is not accepted for being sent.

  • Hi ,

    Can you make them available to me via email? pfilkin@sdl.com

    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 ,

    This is just the sdlproj file which is a file containing metadata for the project. I'd need to whole project. So go up a level and zip the contents of the folder. That should contain the source file, the sdlxliff files etc.

    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