database error, red blocks instead of widgets

Hi, 

I'm experiencing a total failure of the interfave of TBM Essential. I was trying to open the scheduler and the program got stuck on a page with a red block error. 

Screenshot of Trados Business Manager with an error message overlay stating 'An error has occurred in the application. We will appreciate if you find time to send us additional information about this issue via community forums or by clicking Submit bug report button on the main toolbar.' Instructions to press F12 for more details and a note about error logging to the app.log file are also visible. 

the f12 command gave me this:

blazor.server.js:1 [2023-07-28T17:03:47.148Z] Error: DevExpress.Xpo.Exceptions.CannotLoadObjectsException: Requested objects cannot be loaded, because they are absent in the data store. These objects can already be deleted/purged. If you see this exception once again with the same objects in the list, note that the referential integrity of your data store may be broken. In this instance, contact your system administrator. Requested objects: BaccS_XAF.Module.BusinessObjects.Doc.TranslationJob(xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
at DevExpress.Xpo.Helpers.ObjectCollectionLoader.EndLoadDelayedObjects(LoadDataResult loadDataResult, ObjectSet toLoad, Boolean useStubs)
at DevExpress.Xpo.Helpers.ObjectCollectionLoader.LoadDelayedObjects(Boolean useStubs)
at DevExpress.Xpo.Helpers.ObjectCollectionLoader.LoadObjects(ObjectsQuery[] queries)
at DevExpress.Xpo.SimpleObjectLayer.LoadObjects(Session session, ObjectsQuery[] queries)
at DevExpress.Xpo.Session.GetObjectsInternal(ObjectsQuery[] queries)
at DevExpress.Xpo.Session.<>c__DisplayClass109_0.<GetObjects>b__0()
at DevExpress.Xpo.Logger.LogManager.Log[T](String category, LogHandler`1 handler, MessageHandler`1 createMessageHandler)
at DevExpress.Xpo.Session.GetObjects(ObjectsQuery[] queries)
at DevExpress.Xpo.SessionObjectLayer.LoadObjects(Session session, ObjectsQuery[] queries)
at DevExpress.Xpo.Session.GetObjectsInternal(ObjectsQuery[] queries)
at DevExpress.Xpo.Helpers.InTransactionLoader.GetObjects(ObjectsQuery[] queries)
at DevExpress.Xpo.Session.<>c__DisplayClass126_0.<GetObjectsInTransaction>b__0()
at DevExpress.Xpo.Logger.LogManager.Log[T](String category, LogHandler`1 handler, MessageHandler`1 createMessageHandler)
at DevExpress.Xpo.Session.GetObjectsInTransaction(XPClassInfo classInfo, CriteriaOperator condition, SortingCollection sorting, Int32 skipSelectedRecords, Int32 topSelectedRecords, Boolean selectDeleted)
at DevExpress.Xpo.XPBaseCollection.PersistentCriteriaEvaluationBehaviorFillInTransaction(CriteriaOperator condition)
at DevExpress.Xpo.XPBaseCollection..ctor(PersistentCriteriaEvaluationBehavior criteriaEvaluationBehavior, Session session, XPClassInfo objType, CriteriaOperator condition, Boolean selectDeleted)
at DevExpress.Xpo.XPCollection`1..ctor(PersistentCriteriaEvaluationBehavior criteriaEvaluationBehavior, Session session, CriteriaOperator condition)
at DevExpress.ExpressApp.Xpo.XPObjectSpace.CreateCollection[T](CriteriaOperator criteria, IList`1 sorting, Boolean inTransaction)
at DevExpress.ExpressApp.BaseObjectSpace.GetObjects[T](CriteriaOperator criteria, IList`1 sorting, Boolean inTransaction)
at DevExpress.ExpressApp.BaseObjectSpace.GetObjects[T](CriteriaOperator criteria, Boolean inTransaction)
at TBM.Pages.Scheduler.WorkloadPlanner.Reload() in C:\builds\776\s\TBM\Pages\Scheduler\WorkloadPlanner.razor:line 294
at TBM.Pages.Scheduler.WorkloadPlanner.OnInitialized() in C:\builds\776\s\TBM\Pages\Scheduler\WorkloadPlanner.razor:line 260
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
log @ blazor.server.js:1
blazor.server.js:1 [2023-07-28T17:03:47.149Z] Information: Connection disconnected.
blazor.server.js:1 Uncaught (in promise) Error: Invocation canceled due to the underlying connection being closed.
at kt._connectionClosed (blazor.server.js:1)
at bt.connection.onclose (blazor.server.js:1)
at bt._stopConnection (blazor.server.js:1)
at vt.transport.onclose (blazor.server.js:1)
at vt._close (blazor.server.js:1)
at vt.stop (blazor.server.js:1)
at bt._stopInternal (blazor.server.js:1)
at async bt.stop (blazor.server.js:1)
at async kt.stop (blazor.server.js:1)

I tried reinstalling the program several times but the problem remains. 

Any idea?



Generated Image Alt-Text
[edited by: Trados AI at 10:29 AM (GMT 0) on 4 Mar 2024]
emoji
Parents Reply
  • Hi Margarita

    no response but I managed to solve the issue on my own. I copied my database to a safer location, uninstalled TBM and reistalled a previous version (6.1.0). 

    After reinstalling the software in its previous version I just copied my database back to the database folder, overwriting the default empty one that comes with a new installation. Older TBM works fine and all my data (even custom templates) are back where I want them. Making an educated guess, the problem is likely the result of some later upgrade and it only affects the visual interface, leaving us with the red error blocks.

    Whatever you do, make sure you make a safety copy or your database first. The database file is called tbmdb.sqlite and is in \Trados Business Manager v6\resources\bin\database

    I hope this helps.

    Elena

    emoji
Children