Skip to content

Instantly share code, notes, and snippets.

@swaters86
Created March 24, 2015 18:33
Show Gist options
  • Save swaters86/4434e5ae3ed9ad352856 to your computer and use it in GitHub Desktop.
Save swaters86/4434e5ae3ed9ad352856 to your computer and use it in GitHub Desktop.
2015-03-10 16:20:54,473 | ERROR | System.InvalidOperationException: Cross-thread operation detected. 'XPOPersistenceService.XPOSession(24227)' is not a thread-safe object, please avoid using it simultaneously from different threads
at DevExpress.Xpo.Helpers.SessionStateStack.Enter(Session session, SessionState newState)
at DevExpress.Xpo.Helpers.ObjectCollectionLoader.LoadObjects(ObjectsQuery[] queries)
at DevExpress.Xpo.SimpleObjectLayer.LoadObjects(Session session, ObjectsQuery[] queries)
at DevExpress.Xpo.SimpleObjectLayer.GetObjectsByKey(Session session, ObjectsByKeyQuery[] queries)
at DevExpress.Xpo.Session.GetObjectByKey(XPClassInfo classInfo, Object id, Boolean alwaysGetFromDb)
at DevExpress.Xpo.Session.GetObjectByKey(Type classType, Object id, Boolean alwaysGetFromDb)
at XPOPersistenceService.XPOPersistenceManager.GetObjectForEdit(IUserSession uSession, IUnitOfWork unitOfWork, Type entityType, Int32 key)
at ApplicationServices.EntityHandlers.EntityHandler.GetObjectForEdit(IUserSession uSession, IUnitOfWork unitOfWork, Type entityType, Int32 key)
2015-03-10 16:20:54,598 | ERROR | Utilities.Exceptions.YaminException: A_GET_OBJECT_FOR_EDIT_FAILED
2015-03-10 16:20:57,687 | INFO | Alert - 'Reassign QSI' has no items to be processed - 3/10/2015 4:20:57 PM
2015-03-10 16:21:16,547 | ERROR | Could not get object from DB.
System.InvalidOperationException: Cross-thread operation detected. 'XPOPersistenceService.XPOSession(24249)' is not a thread-safe object, please avoid using it simultaneously from different threads
at DevExpress.Xpo.Helpers.SessionStateStack.Enter(Session session, SessionState newState)
at DevExpress.Xpo.Helpers.ObjectCollectionLoader.LoadObjects(ObjectsQuery[] queries)
at DevExpress.Xpo.SimpleObjectLayer.LoadObjects(Session session, ObjectsQuery[] queries)
at DevExpress.Xpo.SimpleObjectLayer.GetObjectsByKey(Session session, ObjectsByKeyQuery[] queries)
at DevExpress.Xpo.Session.GetObjectByKey(XPClassInfo classInfo, Object id, Boolean alwaysGetFromDb)
at DevExpress.Xpo.Session.GetObjectByKey(Type classType, Object id, Boolean alwaysGetFromDb)
at XPOPersistenceService.XPOPersistenceManager.GetObjectFromDB(IUserSession usrSession, IUnitOfWork unitOfWork, Type type, Int32 key)
2015-03-10 16:21:22,023 | ERROR | Could not get object from DB.
System.InvalidOperationException: Cross-thread operation detected. 'XPOPersistenceService.XPOSession(24227)' is not a thread-safe object, please avoid using it simultaneously from different threads
at DevExpress.Xpo.Helpers.SessionStateStack.Enter(Session session, SessionState newState)
at DevExpress.Xpo.Helpers.ObjectCollectionLoader.LoadObjects(ObjectsQuery[] queries)
at DevExpress.Xpo.SimpleObjectLayer.LoadObjects(Session session, ObjectsQuery[] queries)
at DevExpress.Xpo.SimpleObjectLayer.GetObjectsByKey(Session session, ObjectsByKeyQuery[] queries)
at DevExpress.Xpo.Session.GetObjectByKey(XPClassInfo classInfo, Object id, Boolean alwaysGetFromDb)
at DevExpress.Xpo.Session.GetObjectByKey(Type classType, Object id, Boolean alwaysGetFromDb)
at XPOPersistenceService.XPOPersistenceManager.GetObjectForEdit(IUserSession uSession, IUnitOfWork unitOfWork, Type entityType, Int32 key)
2015-03-10 16:21:22,023 | ERROR | System.InvalidOperationException: Cross-thread operation detected. 'XPOPersistenceService.XPOSession(24227)' is not a thread-safe object, please avoid using it simultaneously from different threads
at DevExpress.Xpo.Helpers.SessionStateStack.Enter(Session session, SessionState newState)
at DevExpress.Xpo.Helpers.ObjectCollectionLoader.LoadObjects(ObjectsQuery[] queries)
at DevExpress.Xpo.SimpleObjectLayer.LoadObjects(Session session, ObjectsQuery[] queries)
at DevExpress.Xpo.SimpleObjectLayer.GetObjectsByKey(Session session, ObjectsByKeyQuery[] queries)
at DevExpress.Xpo.Session.GetObjectByKey(XPClassInfo classInfo, Object id, Boolean alwaysGetFromDb)
at DevExpress.Xpo.Session.GetObjectByKey(Type classType, Object id, Boolean alwaysGetFromDb)
at XPOPersistenceService.XPOPersistenceManager.GetObjectForEdit(IUserSession uSession, IUnitOfWork unitOfWork, Type entityType, Int32 key)
at ApplicationServices.EntityHandlers.EntityHandler.GetObjectForEdit(IUserSession uSession, IUnitOfWork unitOfWork, Type entityType, Int32 key)
2015-03-10 16:21:22,163 | ERROR | Utilities.Exceptions.YaminException: A_GET_OBJECT_FOR_EDIT_FAILED
2015-03-10 16:22:03,284 | ERROR | System.InvalidOperationException: Cross-thread operation detected. 'XPOPersistenceService.XPOSession(24227)' is not a thread-safe object, please avoid using it simultaneously from different threads
at DevExpress.Xpo.Helpers.SessionStateStack.Enter(Session session, SessionState newState)
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.GetObjects(ObjectsQuery[] queries)
at DevExpress.Xpo.Session.GetObjects(ObjectsQuery query)
at DevExpress.Xpo.Session.GetObjects(XPClassInfo classInfo, CriteriaOperator criteria, SortingCollection sorting, Int32 skipSelectedRecords, Int32 topSelectedRecords, Boolean selectDeleted, Boolean force)
at DevExpress.Xpo.PageSelector.FillCollectionWithPageVerified(Session session, SortingCollection sorting, Int32 pageBase, Int32 pageSize)
at DevExpress.Xpo.Helpers.XPCursorEnumerator.MoveNext()
at ApplicationServices.Cursor.CopyTo(IList entityList, Int32 index, Boolean& lastPage)
2015-03-10 16:22:03,409 | ERROR | Utilities.Exceptions.YaminException: A_COPY_TO_FAILED
2015-03-10 16:22:09,056 | ERROR | System.InvalidOperationException: Cross-thread operation detected. 'XPOPersistenceService.XPOSession(24227)' is not a thread-safe object, please avoid using it simultaneously from different threads
at DevExpress.Xpo.Helpers.SessionStateStack.Enter(Session session, SessionState newState)
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.GetObjects(ObjectsQuery[] queries)
at DevExpress.Xpo.Session.GetObjects(ObjectsQuery query)
at DevExpress.Xpo.Session.GetObjects(XPClassInfo classInfo, CriteriaOperator criteria, SortingCollection sorting, Int32 skipSelectedRecords, Int32 topSelectedRecords, Boolean selectDeleted, Boolean force)
at DevExpress.Xpo.PageSelector.FillCollectionWithPageVerified(Session session, SortingCollection sorting, Int32 pageBase, Int32 pageSize)
at DevExpress.Xpo.Helpers.XPCursorEnumerator.MoveNext()
at ApplicationServices.Cursor.CopyTo(IList entityList, Int32 index, Boolean& lastPage)
2015-03-10 16:22:09,181 | ERROR | Utilities.Exceptions.YaminException: A_COPY_TO_FAILED
2015-03-10 16:22:09,852 | ERROR | System.InvalidOperationException: Cross-thread operation detected. 'XPOPersistenceService.XPOSession(24227)' is not a thread-safe object, please avoid using it simultaneously from different threads
at DevExpress.Xpo.Helpers.SessionStateStack.Enter(Session session, SessionState newState)
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.GetObjects(ObjectsQuery[] queries)
at DevExpress.Xpo.Session.GetObjects(ObjectsQuery query)
at DevExpress.Xpo.Session.GetObjects(XPClassInfo classInfo, CriteriaOperator criteria, SortingCollection sorting, Int32 skipSelectedRecords, Int32 topSelectedRecords, Boolean selectDeleted, Boolean force)
at DevExpress.Xpo.PageSelector.FillCollectionWithPageVerified(Session session, SortingCollection sorting, Int32 pageBase, Int32 pageSize)
at DevExpress.Xpo.Helpers.XPCursorEnumerator.MoveNext()
at ApplicationServices.Cursor.CopyTo(IList entityList, Int32 index, Boolean& lastPage)
2015-03-10 16:22:09,977 | ERROR | Utilities.Exceptions.YaminException: A_COPY_TO_FAILED
2015-03-10 16:22:45,669 | ERROR | Could not get object from DB.
System.InvalidOperationException: Entering state 'GetObjectsNonReenterant' from state 'CrossThreadFailure' is prohibited due to state 'CrossThreadFailure'.
at DevExpress.Xpo.Helpers.SessionStateStack.ThrowIfCantEnter(Session session, SessionState newState)
at DevExpress.Xpo.Helpers.SessionStateStack.Enter(Session session, SessionState newState)
at DevExpress.Xpo.Helpers.ObjectCollectionLoader.LoadObjects(ObjectsQuery[] queries)
at DevExpress.Xpo.SimpleObjectLayer.LoadObjects(Session session, ObjectsQuery[] queries)
at DevExpress.Xpo.SimpleObjectLayer.GetObjectsByKey(Session session, ObjectsByKeyQuery[] queries)
at DevExpress.Xpo.Session.GetObjectByKey(XPClassInfo classInfo, Object id, Boolean alwaysGetFromDb)
at DevExpress.Xpo.Session.GetObjectByKey(Type classType, Object id, Boolean alwaysGetFromDb)
at XPOPersistenceService.XPOPersistenceManager.GetObjectForEdit(IUserSession uSession, IUnitOfWork unitOfWork, Type entityType, Int32 key)
2015-03-10 16:22:45,669 | ERROR | System.InvalidOperationException: Entering state 'GetObjectsNonReenterant' from state 'CrossThreadFailure' is prohibited due to state 'CrossThreadFailure'.
at DevExpress.Xpo.Helpers.SessionStateStack.ThrowIfCantEnter(Session session, SessionState newState)
at DevExpress.Xpo.Helpers.SessionStateStack.Enter(Session session, SessionState newState)
at DevExpress.Xpo.Helpers.ObjectCollectionLoader.LoadObjects(ObjectsQuery[] queries)
at DevExpress.Xpo.SimpleObjectLayer.LoadObjects(Session session, ObjectsQuery[] queries)
at DevExpress.Xpo.SimpleObjectLayer.GetObjectsByKey(Session session, ObjectsByKeyQuery[] queries)
at DevExpress.Xpo.Session.GetObjectByKey(XPClassInfo classInfo, Object id, Boolean alwaysGetFromDb)
at DevExpress.Xpo.Session.GetObjectByKey(Type classType, Object id, Boolean alwaysGetFromDb)
at XPOPersistenceService.XPOPersistenceManager.GetObjectForEdit(IUserSession uSession, IUnitOfWork unitOfWork, Type entityType, Int32 key)
at ApplicationServices.EntityHandlers.EntityHandler.GetObjectForEdit(IUserSession uSession, IUnitOfWork unitOfWork, Type entityType, Int32 key)
2015-03-10 16:22:45,794 | ERROR | Utilities.Exceptions.YaminException: A_GET_OBJECT_FOR_EDIT_FAILED
2015-03-10 16:24:27,617 | ERROR | Could not get object from DB.
System.InvalidOperationException: Cross-thread operation detected. 'XPOPersistenceService.XPOSession(24230)' is not a thread-safe object, please avoid using it simultaneously from different threads
at DevExpress.Xpo.Helpers.SessionStateStack.Enter(Session session, SessionState newState)
at DevExpress.Xpo.Helpers.ObjectCollectionLoader.LoadObjects(ObjectsQuery[] queries)
at DevExpress.Xpo.SimpleObjectLayer.LoadObjects(Session session, ObjectsQuery[] queries)
at DevExpress.Xpo.SimpleObjectLayer.GetObjectsByKey(Session session, ObjectsByKeyQuery[] queries)
at DevExpress.Xpo.Session.GetObjectByKey(XPClassInfo classInfo, Object id, Boolean alwaysGetFromDb)
at DevExpress.Xpo.Session.GetObjectByKey(Type classType, Object id, Boolean alwaysGetFromDb)
at XPOPersistenceService.XPOPersistenceManager.GetObjectFromDB(IUserSession usrSession, IUnitOfWork unitOfWork, Type type, Int32 key)
2015-03-10 16:24:37,195 | ERROR | Could not get object from DB.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment