la référence d'objet n'est pas définie à une instance d'un objet

Hello,

 

I have Studio 2017 and I am getting this error when I want to confirm a segment: 

(this pb occurs on 1 project only).

la référence d'objet n'est pas définie à une instance d'un objet" 

 

Thank you for your help.

 

Marie

Parents Reply Children
  • Dear Paul,

    I know you answered some months ago but I have a similar problem... I can't save one target document... For this project, I had to translate 2 .docx files and 1 .xlsx file.

    I succedeed to save both Word files but this message appears when I try to save the last one...

    Here's the error stack.

    Can you help me?

    Audrey

    <SDLErrorDetails time="27/10/2017 15:23:32">
      <ErrorMessage>Échec de l'enregistrement du contenu cible : La référence d'objet n'est pas définie à une instance d'un objet.</ErrorMessage>
      <Exception>
        <Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>Sdl.FileTypeSupport.Filters.Excel</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   à Sdl.FileTypeSupport.Filters.Excel.FilterControllerFramework.OfficeController.UpdateDocumentFile(XsltArgumentList argsList, XslCompiledTransform xslTransform, XPathNavigator child)
       à Sdl.FileTypeSupport.Filters.Excel.FilterControllerFramework.OfficeController.IterateXsltFiles(XsltArgumentList argsList, FileMap rule, XPathNodeIterator iter, Boolean isUpdate, String targetFilePath)
       à Sdl.FileTypeSupport.Filters.Excel.FilterControllerFramework.OfficeController.IterateContentType(String xslFileNamesPath, Boolean isUpdate, String filePath, String filterStr, String targetFilePath, Boolean isCalledByRelsTableIteration)
       à Sdl.FileTypeSupport.Filters.Excel.FilterControllerFramework.OfficeController.serviceBackward()
       à Sdl.FileTypeSupport.Filters.Excel.PlugInFilter.FileParser.DocumentParser.Update()
       à Sdl.FileTypeSupport.Filters.Excel.PlugInFilter.FileParser.DocumentExtractImpl.Update(DocumentCollection srcCollection, String filename, String tgtFilePath)
       à Sdl.FileTypeSupport.Filters.Excel.PlugInFilter.FileWriterAndPreviewFileWriter.WriterImpl.EndOfInput()
       à Sdl.FileTypeSupport.Filters.Excel.PlugInFilter.FileWriterAndPreviewFileWriter.ExcelWriter.EndOfInput()
       à Sdl.FileTypeSupport.Framework.Integration.NativeWriterMessagesProxy.EndOfInput()
       à Sdl.FileTypeSupport.Framework.Integration.FileGenerator.CallEndOfInput()
       à Sdl.FileTypeSupport.Framework.Integration.FileGenerator.FileComplete()
       à Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.FileComplete()
       à Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.FileComplete()
       à Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.FileComplete()
       à Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.FileComplete()
       à Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.vv_Visit(TmfcReaderImpl* , FrameworkFileContainerField* field)
       à FrameworkFileContainerField.vv_AcceptFrameworkVisitor(FrameworkFileContainerField* , FrameworkFieldVisitor* visitor)
       à Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.vv_VisitStartEndField(TmfcReaderImpl* , StartEndField* startEnd)
       à Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.b_VisitNext(TmfcReaderImpl* )
       à Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReader.ParseNext()
       à Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
       à Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
       à Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
       à Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.SaveMonolingualAsJobRequest.Execute(IJobExecutionContext context)
       à Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__3()
       à Sdl.Desktop.Platform.Implementation.Services.Log.Resources(Object message, Action action)
       à Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
       à System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       à System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>14.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>14.1.6329.7</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Famille</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1036</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>AUDREY\audre</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>AUDREY</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8315148 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

  • Hi ,

    Try opening the Excel file again as a single file project, pretranslate from your TM, and save the target. 9/10 times this will resolve the issue. Also make sure you are using the latest Excel filetype in your File -> Options -> Filetypes to process the file.

    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

  • Thank you very much Paul ! It worked when I opened it as a single file project !
    I already checked the filetypes and tried to change the order of the filters as specified by SDL KB but it didn't work...
  • I have the same problem as Marie. Could you help me please? Thank you

    <SDLErrorDetails time="09/11/2017 15:22:59">
      <ErrorMessage>La référence d'objet n'est pas définie à une instance d'un objet.</ErrorMessage>
      <Exception>
        <Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>Sdl.TranslationStudio.Editor</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   à Sdl.TranslationStudio.Editor.TranslationMemory.TranslationMemoryViewPartControl.UpdateContent()
       à Sdl.TranslationStudio.Editor.TranslationMemory.TranslationMemoryViewPartControl.set_EditorTranslationResults(IEditorTranslationResults value)
       à Sdl.TranslationStudio.Editor.TranslationMemory.TranslationMemoryViewPart.OnActiveSegmentChanged(Object sender, EventArgs e)
       à System.EventHandler.Invoke(Object sender, EventArgs e)
       à Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.OnActiveSegmentChanged()
       à Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.SideBySideEditor_ActiveRowChanged(Object sender, ActiveRowChangedEventArgs e)
       à System.EventHandler`1.Invoke(Object sender, TEventArgs e)
       à SideBySideEditor.raise_ActiveRowChanged(Object value0, ActiveRowChangedEventArgs value1)
       à SideBySideEditor.OnActiveRowChanged(Object sender, ActiveRowChangedEventArgs args)
       à SideBySideEditor.set_ActiveRowNumber(Int32 rowNumber)
       à SideBySideEditor.UpdateActiveRow(IEditControl editControl)
       à SideBySideEditor.OnSelectionChanged(Object sender, SelectionChangedEventArgs args)
       à SideBySideEditor.Target_SelectionChanged(Object sender, SelectionChangedEventArgs args)
       à System.EventHandler`1.Invoke(Object sender, TEventArgs e)
       à AbstractFrameworkEditControl.raise_SelectionChanged(Object value0, SelectionChangedEventArgs value1)
       à FrameworkEditControl.OnSelectionChanged(Object sender, SelectionChangedEventArgs args)
       à FrameworkEditControlEventSource.SelectionChanged(FrameworkEditControlEventSource* )
       à Tree.InputManager.v_MoveSelection(InputManager* , TextRange* )
       à FrameworkSelection.MoveTo(Position destination, Boolean extendSelection)
       à Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.MoveToStartOfTargetSegment(ISegmentContainerNode targetSegmentContainerNode, Boolean autoScroll)
       à Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.MoveToNextSegment(IsValidNextSegment segmentValidator)
       à Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.MoveToNextSegment(Nullable`1 segmentNavigationFilter)
       à Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.ConfirmSegment(Nullable`1 segmentNavigationFilter)
       à Sdl.TranslationStudio.Editor.TranslationEditor.Actions.AbstractConfirmSegmentAction.ExecuteActiveSegment()
       à Sdl.TranslationStudio.Editor.TranslationEditor.Actions.AbstractConfirmSegmentAction.Execute()
       à Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.<>c__DisplayClass3.<ExecuteAction>b__2()
       à Sdl.Desktop.Platform.Implementation.Services.Log.Resources(Object message, Action action)
       à Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle)
       à Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteActionForShortcut(Keys shortcut)
       à Sdl.Desktop.Platform.WinForms.StudioWindowForm.OnKeyDown(KeyEventArgs e)
       à System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
       à System.Windows.Forms.Form.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
       à System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
       à System.Windows.Forms.Control.WmKeyChar(Message& m)
       à System.Windows.Forms.Control.WndProc(Message& m)
       à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>14.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>14.1.6329.7</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Professionnel</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1036</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>COLOMBE-HP\Colombe</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>COLOMBE-HP</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>4127092 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

  • I wonder why not? Anyway, this is all I said:

    "Try opening the Excel file again as a single file project, pretranslate from your TM, and save the target. 9/10 times this will resolve the issue. Also make sure you are using the latest Excel filetype in your File -> Options -> Filetypes to process the file."

    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