Hi ,
I get this message all the time and cannot continue working on a project. Can someone tell me how to eliminate this error?
Thank you.
Hi ,
I get this message all the time and cannot continue working on a project. Can someone tell me how to eliminate this error?
Thank you.
The error message is far too generic for anyone to help you with this. You need to provide:
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
<SDLErrorDetails time="3/15/2021 12:03: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.Core.Globalization</Source> <HResult>-2147467261</HResult> <StackTrace>< at Sdl.Core.Globalization.UnitMetadata.UnitMetadataRegistry.GetPreferredLabelValueSet(String unitKey, String languageCode) at Sdl.LanguagePlatform.Core.Tokenization.MeasureToken.Localize(CultureInfo culture, AutoLocalizationSettings autoLocalizationSettings, ILocalizableToken originalMemoryToken, Boolean adjustCasing) at Sdl.LanguagePlatform.Core.Tokenization.MeasureToken.Localize(CultureInfo culture, AutoLocalizationSettings autoLocalizationSettings) at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.SuggestionData..ctor(DocumentToken documentToken, CultureInfo culture, AutoLocalizationSettings localizationSettings) at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.TagFormattingDataProvider.ProcessDocumentTokens(SideBySideEditor editor, IList`1 suggestionData) at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.TagFormattingDataProvider.GetSuggestionData(EditingContext context) at Sdl.TranslationStudio.Editor.TranslationEditor.Actions.LaunchTagFormattingWindowAction.GetSuggestionData(SideBySideEditor editor) at Sdl.TranslationStudio.Editor.TranslationEditor.Actions.LaunchTagFormattingWindowAction.IsActionEnabled() at Sdl.TranslationStudio.Api.Editor.AbstractActiveDocumentAction.UpdateAction() at Sdl.TranslationStudio.Api.Editor.AbstractSelectionDependentAction.OnSelectionChanged(IDocumentEditingView view) at Sdl.TranslationStudio.Api.Editor.DocumentEditingViewEventHandler.Invoke(IDocumentEditingView view) at Sdl.TranslationStudio.Editor.TranslationEditor.SelectionChangedDelayedEventHandler.<>c__DisplayClass27_0.<FireEvent>b__0() at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbacks()]]></StackTrace> </Exception> <Environment> <ProductName>SDL Trados Studio</ProductName> <ProductVersion>15.0.0.0</ProductVersion> <EntryAssemblyFileVersion>15.2.8.3007</EntryAssemblyFileVersion> <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem> <ServicePack>NULL</ServicePack> <OperatingSystemLanguage>1049</OperatingSystemLanguage> <CodePage>1252</CodePage> <LoggedOnUser>MAC2F8C\mac</LoggedOnUser> <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork> <ComputerName>MAC2F8C</ComputerName> <ConnectedToNetwork>True</ConnectedToNetwork> <PhysicalMemory>2073940 MB</PhysicalMemory> </Environment> </SDLErrorDetails>
I managed to continue working, but one particular segment in the document causes this error. When I try to edit or confirm it, the document freezes and the error appears. It could have something to do with the target language, the document was set to a variant of the target language which doesn't exist anymore (st-Latn-CS) - Serbian, Latin, Former Serbia and Montenegro. I don't have this as an option in my list of target languages, only SR-Latn-RS (Serbia). This also seems to affect the TM.
Thank you for your help.
Maja
Thank you.
one particular segment in the document causes this error.
Can you copy the document, then remove everything in the copy of the document apart from the single paragraph where this sentence is. Then test that file and if the problem still occurs can you share that file with the single paragraph in it?
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
No, I don't have the original document, just the sdlxliff. It just happened again in another segment, and both segments have numerical elements which can be inserted just like tags.
No, I don't have the original document, just the sdlxliff. It just happened again in another segment, and both segments have numerical elements which can be inserted just like tags.
Hi Paul,
exactly just like Maja we encounter this error only from a particular segment (65), see XML:
<SDLErrorDetails time="2. 11. 2022 16:04:09"> <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.Core.Globalization</Source> <HResult>-2147467261</HResult> <StackTrace>< at Sdl.Core.Globalization.UnitMetadata.UnitMetadataRegistry.GetPreferredLabelValueSet(String unitKey, String languageCode) at Sdl.LanguagePlatform.Core.Tokenization.MeasureToken.Localize(CultureInfo culture, AutoLocalizationSettings autoLocalizationSettings, ILocalizableToken originalMemoryToken, Boolean adjustCasing) at Sdl.LanguagePlatform.Core.Tokenization.MeasureToken.Localize(CultureInfo culture, AutoLocalizationSettings autoLocalizationSettings) at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.SuggestionData..ctor(DocumentToken documentToken, CultureInfo culture, AutoLocalizationSettings localizationSettings) at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.TagFormattingDataProvider.ProcessDocumentTokens(SideBySideEditor editor, IList`1 suggestionData) at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.TagFormattingDataProvider.GetSuggestionData(EditingContext context) at Sdl.TranslationStudio.Editor.TranslationEditor.Actions.LaunchTagFormattingWindowAction.GetSuggestionData(SideBySideEditor editor) at Sdl.TranslationStudio.Editor.TranslationEditor.Actions.LaunchTagFormattingWindowAction.IsActionEnabled() at Sdl.TranslationStudio.Api.Implementation.Editor.AbstractActiveDocumentAction.UpdateAction() at Sdl.TranslationStudio.Api.Editor.AbstractSelectionDependentAction.OnSelectionChanged(IDocumentEditingView view) at Sdl.TranslationStudio.Api.Editor.DocumentEditingViewEventHandler.Invoke(IDocumentEditingView view) at Sdl.TranslationStudio.Editor.TranslationEditor.SelectionChangedDelayedEventHandler.<>c__DisplayClass27_0.<FireEvent>b__0() at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbacks()]]></StackTrace> </Exception> <Environment> <ProductName>Trados Studio</ProductName> <ProductVersion>Studio16</ProductVersion> <EntryAssemblyFileVersion>16.2.12.9338</EntryAssemblyFileVersion> <OperatingSystem>Microsoft Windows Server 2012 R2 Standard</OperatingSystem> <ServicePack>NULL</ServicePack> <OperatingSystemLanguage>1033</OperatingSystemLanguage> <CodePage>1250</CodePage> <LoggedOnUser>SKRIVANEK\patrik.bulak</LoggedOnUser> <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork> <ComputerName>PRG-RD-SH21</ComputerName> <ConnectedToNetwork>True</ConnectedToNetwork> <PhysicalMemory>16776756 MB</PhysicalMemory> </Environment> </SDLErrorDetails>
It's a translation from cs-CZ to sr-Latn-CS. Interestingly, this error from segment 65 onwards is reported by Studio 2021, in which the project was created, but in Studio 2017 this segment passes without error.
Thanks in advance for any response.
Better to create new threads than piggy back on things this old. If we do need to convert to a case we can't do it here as we have an automated system based on the original post.
Thanks in advance for any response.
I guess that was a response ;-)
exactly just like Maja we encounter this error only from a particular segment (65), see XML:
So... can we se the source XML file?
Can you confirm where the project was created... in which version of Studio?
Can you save the target file immediately after creating a new project and without translating anything in the file?
Perhaps you can create a new thread and answer these questions as well as providing the 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