Hi community,
I'm facing few problems when trying to align IDML files in order to create a TM.
With small files, I managed to create the alignment, but they are tiny, so I don't think this is a good indication.
However, when I try to create alignment with bigger files, I keep getting the following "famous and unclear" error:
Object reference not set to an instance of an object (attaching the error details XML file).
<SDLErrorDetails time="08-Mar-17 11:05:28">
<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.Framework.Implementation</Source>
<HResult>-2147467261</HResult>
<StackTrace><![CDATA[ at Sdl.FileTypeSupport.Framework.Native.AbstractMetaDataContainer.GetHashCode()
at Sdl.FileTypeSupport.Framework.Native.AbstractBasicTagProperties.GetHashCode()
at Sdl.FileTypeSupport.Framework.Native.AbstractTagProperties.GetHashCode()
at Sdl.FileTypeSupport.Framework.Native.PlaceholderTagProperties.GetHashCode()
at Sdl.FileTypeSupport.Framework.Bilingual.AbstractTag.GetHashCode()
at Sdl.FileTypeSupport.Framework.Bilingual.MarkupDataContainer.GetHashCode()
at Sdl.FileTypeSupport.Framework.Bilingual.TagPair.GetHashCode()
at Sdl.FileTypeSupport.Framework.Bilingual.MarkupDataContainer.GetHashCode()
at Sdl.FileTypeSupport.Framework.Bilingual.TagPair.GetHashCode()
at Sdl.FileTypeSupport.Framework.Bilingual.MarkupDataContainer.GetHashCode()
at Sdl.FileTypeSupport.Framework.Bilingual.TagPair.GetHashCode()
at Sdl.FileTypeSupport.Framework.Bilingual.MarkupDataContainer.GetHashCode()
at Sdl.FileTypeSupport.Framework.Bilingual.TagPair.GetHashCode()
at Sdl.FileTypeSupport.Framework.Bilingual.MarkupDataContainer.GetHashCode()
at Sdl.FileTypeSupport.Framework.Bilingual.Segment.GetHashCode()
at System.Collections.Generic.ObjectEqualityComparer`1.GetHashCode(T obj)
at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
at Sdl.Core.Processing.Alignment.DocumentStructureBuilder.GetStructurePath(ISegment segment)
at Sdl.Core.Processing.Alignment.MergeParagraphParser.CopySegments(IParagraph inputParagraph, IParagraph outputParagraph, DocumentStructureBuilder structureBuilder)
at Sdl.Core.Processing.Alignment.MergeParagraphParser.MergeDocumentsForAlignment(IParagraphUnit outputParagraphUnit)
at Sdl.Core.Processing.Alignment.MergeParagraphParser.MergeDocuments()
at Sdl.Core.Processing.Alignment.MergeParagraphParser.ParseNext()
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.AlignmentService.Align(String leftNativeFilePath, String rightNativeFilePath, String outputFilePath, AlignmentFileFormat outputFileFormat, AlignmentSettings alignmentSettings, List`1 bilingualProcessors, EventHandler`1 progressHandler, EventHandler`1 messageReporter)
at Sdl.TranslationStudio.AlignmentEditor.Jobs.AlignDocumentsJobRequest.ExecuteJob(IJobExecutionContext context)
at Sdl.TranslationStudio.AlignmentEditor.Jobs.AlignmentJobRequest.Execute(IJobExecutionContext context)]]></StackTrace>
</Exception>
<Environment>
<ProductName>SDL Trados Studio</ProductName>
<ProductVersion>12.0.0.0</ProductVersion>
<EntryAssemblyFileVersion>12.2.5195.7</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 7 Professional </OperatingSystem>
<ServicePack>Service Pack 1</ServicePack>
<OperatingSystemLanguage>1033</OperatingSystemLanguage>
<CodePage>1255</CodePage>
<LoggedOnUser>HEVER\fouadh</LoggedOnUser>
<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
<ComputerName>LOCALIZATION-3</ComputerName>
<ConnectedToNetwork>True</ConnectedToNetwork>
<PhysicalMemory>16671036 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>
I can see that the content of both source and target IDMLs are similar and the number of pages matches.
Can someone please help here ASAP?
BR
Fouad
Translate