Problem analysing files, Studio 2017

SDL Studio 2017 Freelance, 14.0.5821.4, Windows 7.

When I create a project the files are analysed correctly. But when I re-analyse to check my progress the analysis fails (all values read 0). It's that 'object reference not set to an instance of an object' problem again. This seems to have been happening since the last update, which I think was last week. It also seems more likely to happen when I'm translating a PDF or a PDF converted by ABBY. Any suggestions will be greatly appreciated!
Steve

Parents Reply Children
  • Thanks Paul.

    To be honest, it had never occurred to me what WIP report stood for - stuck in old ways, I suppose. I tried it and it worked, but only once. After that it reported '0' for all match bands, including the total.

    Here's the error report, thanks for your help with this!
    Steve

    <SDLErrorDetails time="3/1/2017 10:09:01 AM">
      <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.ProjectApi.AutomaticTasks.Analysis</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   at Sdl.ProjectApi.AutomaticTasks.Analysis.SegmentCategoryCountData.CreateCountData(IParagraphUnit paragraphUnit, Boolean onlyOneSegment, SearchResults results)
       at Sdl.ProjectApi.AutomaticTasks.Analysis.AnalysisCountDataHelper.ProcessSegmentFromParagraph(IParagraphUnit paragraphUnit, ISegmentPair segment, SearchResults results, Boolean onlyOneSegment, Boolean reportLockedSegmentsSeparately)
       at Sdl.ProjectApi.AutomaticTasks.Analysis.AnalysisContentProcessorX.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.BilingualContentHandlerAdapter.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.ProjectApi.AutomaticTasks.TranslationMemoryLookupContentProcessor.OutputParagraphs()
       at Sdl.ProjectApi.AutomaticTasks.TranslationMemoryLookupContentProcessor.ProcessWaitingParagraphs()
       at Sdl.ProjectApi.AutomaticTasks.TranslationMemoryLookupContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Filters.Processors.SegmentRenumberingBilingualProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.BilingualContentHandlerAdapter.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.BilingualContentHandlerAdapter.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Integration.LocationMarkerLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.ParagraphUnitBuffer.Release()
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.OutputParagraphUnit(IParagraphUnit pu)
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseLocalizableParagraphUnit(transunit transunit, LockTypeFlags lockFlags)
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseTransUnit(transunit transunit)
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseGroup(group group)
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.OnGroup(XmlElement groupElement)
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.<ContinueScanning>b__f(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.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskFileExecuter.Parse(String targetFilePath)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>14.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>14.0.5821.4</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 7 Home Premium </OperatingSystem>
        <ServicePack>Service Pack 1</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>SJM-PC\Computer</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.34209</DotNetFrameWork>
        <ComputerName>SJM-PC</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8292740 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

  • (Just checking to see what I did wrong - tried to drag & drop, now I know for next time, thanks!)
  • Hi Paul,

    It's been a while and this issue hasn't been solved yet - are you still working on it? Or will I need to contact SDL directly?

    Thanks,
    Steve