Export TM

Hey

We've replaced our very old GS 2017 (GS: 14.2.32756.8 - SR1 CU8) by a new GS2020. Almost all data was exported and imported and everything worked fine - except one language pair in one TM. I cannot export it. I get the following error:

Error: System - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. (details: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei Sdl.LanguagePlatform.TranslationMemoryImpl.TokenSerialization.TokenDeserializer.ReadTagToken(TokenType tokenType, Boolean tokenHasStandardPlacement, Token previousToken, Boolean tokenIsSingleChar) bei Sdl.LanguagePlatform.TranslationMemoryImpl.TokenSerialization.TokenDeserializer.Deserialize() bei Sdl.LanguagePlatform.TranslationMemoryImpl.TokenSerialization.LoadTokens(Byte[] data, Segment segment) bei Sdl.LanguagePlatform.TranslationMemoryImpl.ResourceManager.GetTranslationUnit(TranslationUnit storageTu, FieldDefinitions fields, CultureInfo sourceCulture, CultureInfo targetCulture) bei Sdl.LanguagePlatform.TranslationMemoryImpl.TranslationUnitServerFilteringStrategy.Sdl.LanguagePlatform.TranslationMemoryImpl.ITranslationUnitFilteringStrategy.GetTusFiltered(PersistentObjectToken translationMemoryId, RegularIterator iter, FieldDefinitions fieldDefinitions, Boolean includeContextContent, TextContextMatchType textContextMatchType, CultureInfo sourceCulture, CultureInfo targetCulture, Boolean usesIdContextMatch) bei Sdl.LanguagePlatform.TranslationMemoryImpl.ResourceManager.GetTranslationUnitsWithContextContent(PersistentObjectToken tmId, RegularIterator iter, TextContextMatchType textContextMatchType, CultureInfo sourceCulture, CultureInfo targetCulture, Boolean usesIdContextMatch) bei Sdl.LanguagePlatform.TranslationMemoryImpl.API.GetTranslationUnitsWithContextContent(Container container, PersistentObjectToken tmId, RegularIterator& iter))

Does anyone have a solution for this? It's not a big TM - i exported (and imported) much bigger without problems.

Thank you for your help!

emoji
  •  

    In the meantime I updated to CU10. But I still cannot export...

    emoji
  • Hi Guy!

    I've had similar issues in the past, and technical support has provided me with a script to run on the TMService database (I can't seem to attach a file, so I've included the code below; you should be able to copy-paste it into any text application and save it with an .sql extension). Please note that the following 3 values in the script need to be edited before you run it:

    - "set @systemDBName = 'TMService'": replace 'TMService' with the actual name of your TMService database, which may or may not be different.
    - "set @tmname = "'Co-op Pay'": replace 'Co-op Pay' with the name of the affected TM.
    - "set @lang = 'en-CA_fr-CA'": replace 'en-CA_fr-CA' with the problematic language pair.

    After running the script, re-index the TM.

    Hope this helps!

    Christine



    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    /******
    Script for clearing token data from a TM-S TM, if data corruption has occurred that is preventing TUs from loading.
    Can be used when TM-S system database and containers are on same sql server.
    Edit the values of @systemDBName, @tmname and @lang below so they refer to the TM language direction in question.
    ******/
    declare @tmname varchar(200)
    declare @lang varchar(200)
    declare @systemDBName varchar(200)
    /******
    Edit the values of these variables before running the script.
    ******/
    set @systemDBName = 'TMService'
    set @tmname = 'Co-op Pay'
    set @lang = 'en-CA_fr-CA'
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    emoji