object reference not set to an instance of object

Hello, I am using studio 2017, until couple of days I was ale to save the document as word document but doday probably I did something wrong (maybe merged the paragraph with address line or something similar with the source) and I receive this error message:

object reference not set to an instance of object

If I did not, the only new thing I notice on trados is that there is an error message as following: "An error has occured while using translation provider SDL Language Machine Translation: Number of allowable characters exceeded. Check your subscriotion in File..."

 

Can you help me to fix this?

 

Thanks a lot.

 

Bülent Simsek

Parents Reply Children
  • Hi Steven,
    Thank you for your reply. By the way, I tried to create a new translation using the same TM, and I faced with the same error after, I do not know exactly but I guess %30, of translation. I sent the file to my other laptop, and the error persisted... I can send the project document and TM, if you think it helps.

    Here is the full description of the error, I hope you'll find the reason and suggest a soulution to fix it.:


    <?xml version="1.0"?>

    -<SDLErrorDetails time="31/12/2018 12:08:09">

    <ErrorMessage>Failed to save target content: 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.Routes.Writer.Illustrations.SwitchToIllustrationParagraphUnitRoute.WriteIllustrationEndTag() at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Routes.Writer.Illustrations.SwitchToIllustrationParagraphUnitRoute.PauseProcessingWhenIllustrationObjectWasParsed(IParagraphUnit processedParagraph) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Routes.Writer.Illustrations.SwitchToIllustrationParagraphUnitRoute.SwitchBackParagraphUnit() at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Routes.Writer.Illustrations.SwitchToIllustrationParagraphUnitRoute.Handle(Entity entity) at lambda_method(Closure , IMessage ) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Infrastructure.Dispatcher.Publish(IMessage message) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Services.ParserService.Publish(Entity parsedEntity) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Services.ParserService.Parse() at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Parser.DocumentParser.Parse() at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.Illustrations.IllustrationEntitiesPublishingService.PublishEntitiesFromSourceFile() at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.Illustrations.IllustrationEntitiesPublishingService.StartPublishingEntities() at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.Illustrations.IllustrationPlaceholderProcessor.ProcessPlaceholder(IPlaceholderTag placeholderTag) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Consumers.Writer.IllustrationPlaceholderConsumer.Consume(IPlaceholderTag placeholderTag) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Routes.Writer.PlaceholderFoundRoute.Handle(PlaceholderFound placeholderFound) at lambda_method(Closure , IMessage ) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Infrastructure.Dispatcher.Publish(IMessage message) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.MarkupDataEventsPublisherService.VisitPlaceholderTag(IPlaceholderTag tag) at Sdl.FileTypeSupport.Framework.Bilingual.PlaceholderTag.AcceptVisitor(IMarkupDataVisitor visitor) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.MarkupDataEventsPublisherService.PublishEventsFrom(IEnumerable`1 container) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Routes.Writer.SegmentFoundRoute.Handle(SegmentFound segmentFound) at lambda_method(Closure , IMessage ) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Infrastructure.Dispatcher.Publish(IMessage message) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.MarkupDataEventsPublisherService.VisitSegment(ISegment segment) at Sdl.FileTypeSupport.Framework.Bilingual.Segment.AcceptVisitor(IMarkupDataVisitor visitor) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.MarkupDataEventsPublisherService.PublishEventsFrom(IEnumerable`1 container) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Consumers.Writer.ContentFormattingTagPairConsumer.Consume(ITagPair tagPair) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Routes.Writer.TagPairFoundRoute.HandleContentFormattingTag(ITagPair tagPair) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Routes.Writer.TagPairFoundRoute.Handle(TagPairFound tagPairFound) at lambda_method(Closure , IMessage ) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Infrastructure.Dispatcher.Publish(IMessage message) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.MarkupDataEventsPublisherService.VisitTagPair(ITagPair tag) at Sdl.FileTypeSupport.Framework.Bilingual.TagPair.AcceptVisitor(IMarkupDataVisitor visitor) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.MarkupDataEventsPublisherService.PublishEventsFrom(IEnumerable`1 container) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.ParagraphUnitEventsPublisherService.PublishNonEmptyActiveParagraph(IParagraphUnit paragraphUnit) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.ParagraphUnitEventsPublisherService.PublishParagraphUnitAndNonEmptyActiveParagraph(IParagraphUnit paragraphUnit) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.ReplaceTargetContentService.PublishParagraphUnitAndUpdateReplacedContentPosition() at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Routes.Writer.ReplaceTargetContentRoute.Handle(Entity entity) at lambda_method(Closure , IMessage ) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Infrastructure.Dispatcher.Publish(IMessage message) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Services.ParserService.Publish(Entity parsedEntity) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Services.ParserService.Parse() at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Parser.DocumentParser.Parse() at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.Illustrations.IllustrationEntitiesPublishingService.PublishEntitiesFromSourceFile() at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.Illustrations.IllustrationEntitiesPublishingService.StartPublishingEntities() at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.Illustrations.IllustrationPlaceholderProcessor.ProcessPlaceholder(IPlaceholderTag placeholderTag) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Consumers.Writer.IllustrationPlaceholderConsumer.Consume(IPlaceholderTag placeholderTag) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Routes.Writer.PlaceholderFoundRoute.Handle(PlaceholderFound placeholderFound) at lambda_method(Closure , IMessage ) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Infrastructure.Dispatcher.Publish(IMessage message) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.MarkupDataEventsPublisherService.VisitPlaceholderTag(IPlaceholderTag tag) at Sdl.FileTypeSupport.Framework.Bilingual.PlaceholderTag.AcceptVisitor(IMarkupDataVisitor visitor) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.MarkupDataEventsPublisherService.PublishEventsFrom(IEnumerable`1 container) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.ParagraphUnitEventsPublisherService.PublishNonEmptyActiveParagraph(IParagraphUnit paragraphUnit) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.ParagraphUnitEventsPublisherService.PublishParagraphUnitAndNonEmptyActiveParagraph(IParagraphUnit paragraphUnit) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Services.ReplaceTargetContentService.PublishParagraphUnitAndUpdateReplacedContentPosition() at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Routes.Writer.ReplaceTargetContentRoute.Handle(Entity entity) at lambda_method(Closure , IMessage ) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Infrastructure.Dispatcher.Publish(IMessage message) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Services.ParserService.Publish(Entity parsedEntity) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Services.ParserService.Parse() at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Parser.DocumentParser.Parse() at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Writer.DocumentWriter.Process() at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Writer.DocxWriter.ProcessParagraphUnit(IParagraphUnit paragraphUnit) at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Processors.HandleActionByTagTypeProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) at Sdl.FileTypeSupport.Filters.Processors.CopySourceToEmptyTargetProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) at Sdl.FileTypeSupport.Framework.Bilingual.WhitespaceBetweenSegmentsBilingualProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) at Sdl.FileTypeSupport.Framework.Integration.GenerationBilingualContentLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit) at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit) at Sdl.FileTypeSupport.Framework.Integration.FileGenerator.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.Bilingual.Tmfc.TmfcReaderImpl.vv_Visit(TmfcReaderImpl* , FrameworkParagraphContainerField* field) at FrameworkParagraphContainerField.vv_AcceptFrameworkVisitor(FrameworkParagraphContainerField* , FrameworkFieldVisitor* visitor) at Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.vv_VisitStartEndField(TmfcReaderImpl* , StartEndField* startEnd) at Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.b_VisitNext(TmfcReaderImpl* ) at Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReader.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.SaveMonolingualAsJobRequest.Execute(IJobExecutionContext context) at Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__46_0() 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>14.0.0.0</ProductVersion>

    <EntryAssemblyFileVersion>14.1.10014.38031</EntryAssemblyFileVersion>

    <OperatingSystem>Microsoft Windows 7 Home Premium </OperatingSystem>

    <ServicePack>Service Pack 1</ServicePack>

    <OperatingSystemLanguage>1033</OperatingSystemLanguage>

    <CodePage>1252</CodePage>

    <LoggedOnUser>Bulent-PC\Bulent</LoggedOnUser>

    <DotNetFrameWork>4.0.30319.34209</DotNetFrameWork>

    <ComputerName>BULENT-PC</ComputerName>

    <ConnectedToNetwork>True</ConnectedToNetwork>

    <PhysicalMemory>4044900 MB</PhysicalMemory>

    </Environment>

    </SDLErrorDetails>
  • Hello ,

    Could it be that you are handling a (scanned) PDF? which I think could be the cause of this problem.
    If so you should try the following-

    Open the PDF as a 'single file translation' then once the file has opened- then close it again immediately- you will now have a word file in your folder- which you should clean up and then work with this instead.
    There are apps available that will help you clean up the file-
    appstore.sdl.com/.../

    Also the following might be useful when working with PDF's
    community.sdl.com/.../3182.how-to-work-with-a-pdf-file

    Lydia Simplicio | 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