No project files can be opened in the Online Editor. The following error message is thrown: Failed to checkout the file for edit. BCM conversion timed out (timeout was:180s). Marking Bcm conversion as failed. While checking the Trados GroupShare log files like the ApplicationService.log, EditorService.log and the EditorServiceRouter.log no error messages can be spotted. But when looking in the BCMService.log file, the following errors regarding RaptorDB can be seen: 2023-08-02 15:42:41.1230|Error|THREAD_ID:47|TR_ID:|EX:System.IndexOutOfRangeException: Index was outside the bounds of the array. \n at System.String.get_Chars(Int32 index)\n at fastJSON.JsonParser.NextTokenCore()\n at fastJSON.JsonParser.LookAhead()\n at fastJSON.JsonParser.ParseValue()\n at fastJSON.JsonParser.Decode()\n at fastJSON.JSON.FillObject(Object input, String json)\n at RaptorDB.RaptorDB.Initialize()\n at RaptorDB.RaptorDB..ctor(String FolderPath, ITokenizer tokenizer)\n at RaptorDB.RaptorDB.Open(String FolderPath)\n at Sdl.BcmService.Data.RaptorDb.Repository..ctor(IFileStorageProvider fileStorageProvider, IMetricsManager metricsManager, IOptions`1 settings, ILogger`1 logger) in D:\a\1\s\BcmService\Sdl.BcmService.Data.RaptorDb\Repository.cs:line 46\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)\n at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver. VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache( ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection. ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver. VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup. CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2. VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup. CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\n at Microsoft.Extensions. DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache (ServiceCallSite callSite, RuntimeResolverContext context)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup. CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)\n at Microsoft.Extensions.DependencyInjection. ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0 (ServiceProviderEngineScope scope)\n at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup. ServiceProviderEngineScope.GetService(Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ActivatorUtilities. GetService(IServiceProvider sp, Type type, Type requiredBy, Boolean isDefaultParameterRequired)\n at lambda_method11(Closure , IServiceProvider , Object[] )\n at Microsoft.AspNetCore.Mvc.Controllers.ControllerActivatorProvider.<>c__DisplayClass7_0. <CreateActivator>b__0(ControllerContext controllerContext)\n at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider. <>c__DisplayClass6_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n at Microsoft.AspNetCore. Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\n--- End of stack trace from previous location ---\n at Microsoft. AspNetCore.Mvc.Infrastructure.ResourceInvoker. <InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure. ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker. Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure. ResourceInvoker.InvokeFilterPipelineAsync()\n--- End of stack trace from previous location ---\n at Microsoft.AspNetCore.Mvc. Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)\n at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0 (ExceptionHandlerMiddleware middleware, HttpContext context, Task task)|Unhandled exception. |
The following coding lines need to be added back in to the RaptorDB.config file: { "BitmapOffsetSwitchOverCount" : 10, "BackgroundSaveToOtherViews" : true, "DefaultStringKeySize" : 60, "FreeBitmapMemoryOnSave" : false, "PageItemCount" : 10000, "SaveIndexToDiskTimerSeconds" : 1800, "FlushStorageFileImmediately" : false, "SaveAsBinaryJSON" : true, "TaskCleanupTimerSeconds" : 3, "BackgroundSaveViewTimer" : 1, "BackgroundViewSaveBatchSize" : 1000000, "FullTextTimerSeconds" : 15, "BackgroundFullTextIndexBatchSize" : 10000, "FreeMemoryTimerSeconds" : 300, "MemoryLimit" : 100, "BackupCronSchedule" : "0 * * * *", "RequirePrimaryView" : true, "PackageSizeItemCountLimit" : 10000, "ProcessInboxTimerSeconds" : 60, "SplitStorageFilesMegaBytes" : 0, "CompressDocumentOverKiloBytes" : 100, "HighFrequencyKVDiskBlockSize" : 2048, "EnableOptimizedStringIndex" : true, "EnableWebStudio" : false, "WebStudioPort" : 91, "LocalOnlyWebStudio" : true, "UseLessMemoryStructures" : false } Restart the Trados GroupShare services afterwards. NOTE! Please be aware that the above coding lines are subject to change in newer versions of Trados GroupShare 2020 SR1. NOTE2! The above error message (found in the BCMService.log file) is very specific , since nothing can be found in the ApplicationService.log, EditorService.log and in the EditorServiceRouter.log files. |
The C:\ProgramData\SDL\SDLServer1\RaptorDB\RaptorDB.config file was found to be empty. The reason why the RaptorDB.config file was empty is currently unknown. |