Apply Studio Project Template - error when using it

I have tried to use this great app on two projects so far, but in both cases I get "Object reference not set to an instance of an object" error.

The error looks like this:

<SDLErrorDetails time="16.09.2014 13:18:34">
  <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.TranslationStudio.Editor</Source>
    <HResult>-2147467261</HResult>
    <StackTrace><![CDATA[   at Sdl.TranslationStudio.Editor.Terminology.TermbaseProvider.UpdateTermbasesContextFilters()
   at Sdl.TranslationStudio.Editor.Terminology.TermbaseProvider.SetTermbases(IList`1 termbases)
   at Sdl.TranslationStudio.Editor.Terminology.TermAccessProvider.RegisterDocument(ITranslatableDocument document)
   at Sdl.TranslationStudio.Editor.Terminology.TermAccessProvider.editorService_DocumentOpened(IDocument document)
   at Sdl.TranslationStudio.Api.Editor.DocumentEventHandler.Invoke(IDocument document)
   at Sdl.TranslationStudio.Editor.EditorService.OnDocumentOpened(IDocument document)
   at Sdl.TranslationStudio.Editor.EditorService.document_Loaded(IDocument document)
   at Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.OnLoaded()
   at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.OnLoaded()
   at Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.AfterLoad(IJob job)]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>11.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>11.1.4095.0</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 8.1 Pro mit Media Center</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1031</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>SPITFIRE\Jerzy Czopik</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.34014</DotNetFrameWork>
    <ComputerName>SPITFIRE</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>16730600 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

When I then click OK, the file(s) is (are) closed.

What is wrong?

MTIA and best regards, Jerzy

_________________________________________________________

When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

Parents
  • Hi Jerzy,

    We think it’s something related to the terminology settings.  Would be useful to get the project folder (zipped) and the template (.sdltpl or .splproj) in order to diagnose and debug?  Does setting the terminology to “Keep” prevent this from happening?

    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

  • Hi Paul

    I will put the customer package and the template on your FTP.

    Changing the settings in terminology to "keep" results in a different error:

    <SDLErrorDetails time="16.09.2014 18:13:11">

     <ErrorMessage>Index was out of range. Must be non-negative and less than the size of the collection.

    Parameter name: index</ErrorMessage>

     <Exception>

       <Type>System.ArgumentOutOfRangeException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>

       <ParamName>index</ParamName>

       <HelpLink />

       <Source>mscorlib</Source>

       <HResult>-2146233086</HResult>

       <StackTrace><![CDATA[   at System.ThrowHelper.ThrowArgumentOutOfRangeException()

      at System.Collections.Generic.List`1.get_Item(Int32 index)

      at System.Collections.ObjectModel.Collection`1.get_Item(Int32 index)

      at Sdl.TranslationStudio.Editor.Terminology.TermbaseProvider.<SetTermbases>b__c(TermbaseContext tc)

      at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)

      at Sdl.TranslationStudio.Editor.Terminology.TermbaseProvider.SetTermbases(IList`1 termbases)

      at Sdl.TranslationStudio.Editor.Terminology.TermAccessProvider.RegisterDocument(ITranslatableDocument document)

      at Sdl.TranslationStudio.Editor.Terminology.TermAccessProvider.editorService_DocumentOpened(IDocument document)

      at Sdl.TranslationStudio.Api.Editor.DocumentEventHandler.Invoke(IDocument document)

      at Sdl.TranslationStudio.Editor.EditorService.OnDocumentOpened(IDocument document)

      at Sdl.TranslationStudio.Editor.EditorService.document_Loaded(IDocument document)

      at Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.OnLoaded()

      at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.OnLoaded()

      at Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.AfterLoad(IJob job)]]></StackTrace>

     </Exception>

     <Environment>

       <ProductName>SDL Trados Studio</ProductName>

       <ProductVersion>11.0.0.0</ProductVersion>

       <EntryAssemblyFileVersion>11.1.4095.0</EntryAssemblyFileVersion>

       <OperatingSystem>Microsoft Windows 8.1 Pro mit Media Center</OperatingSystem>

       <ServicePack>NULL</ServicePack>

       <OperatingSystemLanguage>1031</OperatingSystemLanguage>

       <CodePage>1252</CodePage>

       <LoggedOnUser>SPITFIRE\Jerzy Czopik</LoggedOnUser>

       <DotNetFrameWork>4.0.30319.34014</DotNetFrameWork>

       <ComputerName>SPITFIRE</ComputerName>

       <ConnectedToNetwork>True</ConnectedToNetwork>

       <PhysicalMemory>16730600 MB</PhysicalMemory>

     </Environment>

    </SDLErrorDetails>

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

Reply
  • Hi Paul

    I will put the customer package and the template on your FTP.

    Changing the settings in terminology to "keep" results in a different error:

    <SDLErrorDetails time="16.09.2014 18:13:11">

     <ErrorMessage>Index was out of range. Must be non-negative and less than the size of the collection.

    Parameter name: index</ErrorMessage>

     <Exception>

       <Type>System.ArgumentOutOfRangeException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>

       <ParamName>index</ParamName>

       <HelpLink />

       <Source>mscorlib</Source>

       <HResult>-2146233086</HResult>

       <StackTrace><![CDATA[   at System.ThrowHelper.ThrowArgumentOutOfRangeException()

      at System.Collections.Generic.List`1.get_Item(Int32 index)

      at System.Collections.ObjectModel.Collection`1.get_Item(Int32 index)

      at Sdl.TranslationStudio.Editor.Terminology.TermbaseProvider.<SetTermbases>b__c(TermbaseContext tc)

      at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)

      at Sdl.TranslationStudio.Editor.Terminology.TermbaseProvider.SetTermbases(IList`1 termbases)

      at Sdl.TranslationStudio.Editor.Terminology.TermAccessProvider.RegisterDocument(ITranslatableDocument document)

      at Sdl.TranslationStudio.Editor.Terminology.TermAccessProvider.editorService_DocumentOpened(IDocument document)

      at Sdl.TranslationStudio.Api.Editor.DocumentEventHandler.Invoke(IDocument document)

      at Sdl.TranslationStudio.Editor.EditorService.OnDocumentOpened(IDocument document)

      at Sdl.TranslationStudio.Editor.EditorService.document_Loaded(IDocument document)

      at Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.OnLoaded()

      at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.OnLoaded()

      at Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.AfterLoad(IJob job)]]></StackTrace>

     </Exception>

     <Environment>

       <ProductName>SDL Trados Studio</ProductName>

       <ProductVersion>11.0.0.0</ProductVersion>

       <EntryAssemblyFileVersion>11.1.4095.0</EntryAssemblyFileVersion>

       <OperatingSystem>Microsoft Windows 8.1 Pro mit Media Center</OperatingSystem>

       <ServicePack>NULL</ServicePack>

       <OperatingSystemLanguage>1031</OperatingSystemLanguage>

       <CodePage>1252</CodePage>

       <LoggedOnUser>SPITFIRE\Jerzy Czopik</LoggedOnUser>

       <DotNetFrameWork>4.0.30319.34014</DotNetFrameWork>

       <ComputerName>SPITFIRE</ComputerName>

       <ConnectedToNetwork>True</ConnectedToNetwork>

       <PhysicalMemory>16730600 MB</PhysicalMemory>

     </Environment>

    </SDLErrorDetails>

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

Children