Object reference not set to an instance of an object

Hi,

I've Studio15, and I get this Error most of the time when I try to open a document to translate it.

Object reference not set to an instance of an object

I can't work like this ;)

How can I fix it ?

 

THANKS

Parents
  • Hi ,

    It sounds as though the problem is this one:

    gateway.sdl.com/.../communityknowledge

    Have you ever been able to open this file? Have you added comments into the file while translating? Is it one file or are you opening several at the same time as one?

    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,
    Thanks for answering.

    Actually, the problem happens with almost every files, not SDLXLIFF files. I try to "translate a single document" and to open a PDF, Word or Power Point document, and then I get the error message.
    If I create a project of the file it seems to work even though for PDF files I don't get PDF in the formats of the Save Target as, but only word.

    I'm not sure how the article you sent me can help on this one.

    Best regards,

    Yael
  • Hi  

    Unknown said:
    If I create a project of the file it seems to work even though for PDF files I don't get PDF in the formats of the Save Target as, but only word.

    There is no save as PDF.  This is because the PDF filetype actually converts the PDF to Word and then you are really working on a Word file.  If you want to be able to save as a PDF then you either save the Word file as a PDF or use a different workflow... for example:

    https://multifarious.filkin.com/2016/07/28/handling-pdfs-is-there-a-best-way/

    Unknown said:
    Actually, the problem happens with almost every files, not SDLXLIFF files. I try to "translate a single document" and to open a PDF, Word or Power Point document, and then I get the error message.

    Please can you share the full error stack?

    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

  • 1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    <SDLErrorDetails time="6/29/2017 3:09:10 PM">
    <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.Helpers</Source>
    <HResult>-2147467261</HResult>
    <StackTrace><![CDATA[ at Sdl.ProjectApi.Helpers.LanguageDirectionHelper.GetCascadeSettings(ILanguageDirection languageDirection)
    at Sdl.ProjectApi.Helpers.LanguageDirectionHelper.CreateCascade(ILanguageDirection languageDirection, ProjectCascadeEntryDataFilterFunction filter, IComparer`1 sort, Boolean readOnly, Boolean refreshCache)
    at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocumentConfirmationStatistics..ctor(TranslatableDocument document, IMultiFileConverter converter)
    at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.Load(IJobExecutionContext context)
    at Sdl.Desktop.Platform.Services.JobRequest.Execute(IJobExecutionContext context)
    at Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__3()
    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>
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Hi ,

    Can you try removing your TMs from your File -> Options so that when you use the single document workflow there are no TMs added or attempted.

    Thank you

    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