I get the above error message when importing xml files created by the pub2xml application.
The error is caused by the embedded content processor, both with the file type provided as well as with a new file type created:
Here's the stacktrace:
<SDLErrorDetails time="22-Oct-19 09:31:35"> <ErrorMessage>Length cannot be less than zero. Parameter name: length</ErrorMessage> <Exception> <Type>System.ArgumentOutOfRangeException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type> <ParamName>length</ParamName> <HelpLink /> <Source>mscorlib</Source> <HResult>-2146233086</HResult> <StackTrace>< at Sdl.TranslationStudioAutomation.IntegrationApi.EditorController.OnActiveDocumentChanged(IDocument document) at Sdl.TranslationStudio.Api.Editor.DocumentEventHandler.Invoke(IDocument document) at Sdl.TranslationStudio.Editor.EditorService.set_ActiveDocument(IDocument value) at Sdl.TranslationStudio.Editor.EditorView.OnActiveViewPartChanged(IViewPartReference viewPartReference) at Sdl.Desktop.Platform.AbstractViewWithParts.Control_ActiveViewPartChanged(IViewWithParts view, IViewPartReference viewPartReference) at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.OnActiveViewPartChanged(IViewPartReference viewPartReference) at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.InternalActivateViewPart(IViewPartReference viewPartToActivate) at Sdl.Desktop.Platform.WinForms.DockingViewContentControl._tabControl_SelectedTabChanged(Object sender, SelectedTabChangedEventArgs e) at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.OnSelectedTabChanged(SelectedTabChangedEventArgs e) at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.RaiseEvent(UltraTabControlEventId id, EventArgs e) at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.OnManagerSelectedTabItemChanged(Object sender, SelectedTabItemChangedEventArgs e) at Infragistics.Win.UltraWinTabs.TabManager.set_SelectedTabItem(ITabItem value) at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.SetSelectedTab(UltraTab tab) at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.set_SelectedTab(UltraTab value) at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.AddViewPartTab(IViewPartReference viewPartReference) at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.AddViewPart(IViewPartReference viewPartReference) at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.NotifyViewPartAdded(IViewPartReference viewPartReference) at Sdl.Desktop.Platform.AbstractViewWithParts.AddViewPart(IViewPartReference viewPartReference) at Sdl.Desktop.Platform.AbstractDockingView.AddViewPart(IViewPartReference viewPartReference) at Sdl.TranslationStudio.Editor.Shared.InternalEditorContext.AddDocumentViewPart(IDocumentViewPart documentViewPart) at Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.AfterLoad(IJob job)]]></StackTrace> </Exception> <Environment> <ProductName>SDL Trados Studio</ProductName> <ProductVersion>15.0.0.0</ProductVersion> <EntryAssemblyFileVersion>15.2.0.1041</EntryAssemblyFileVersion> <OperatingSystem>Microsoft Windows 10 Enterprise</OperatingSystem> <ServicePack>NULL</ServicePack> <OperatingSystemLanguage>1033</OperatingSystemLanguage> <CodePage>1252</CodePage> <LoggedOnUser>danielhug</LoggedOnUser> <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork> <ComputerName>ABCD</ComputerName> <ConnectedToNetwork>True</ConnectedToNetwork> <PhysicalMemory>12581868 MB</PhysicalMemory> </Environment> </SDLErrorDetails>
I"m quite surprised because it looks like such a simple XML. (And it's valid XML, too.)
Daniel
Generated Image Alt-Text
[edited by: Trados AI at 6:49 PM (GMT 0) on 28 Feb 2024]