//Verze 2.2012.163.0
//PC201103
//Windows 7 x86 v6.1.7600
//30.4.2012 8:26:47
System.InvalidOperationException: Entering state 'GetObjectsNonReenterant' from state 'GetObjectsNonReenterant' is prohibited due to state 'GetObjectsNonReenterant' for ' [DevExpress.Xpo.UnitOfWork](21)'. Most probably, you are trying to initiate an object loading operation while the previous object loading operation is not yet completed. Postpone your operation until the Session.ObjectsLoaded or IXPObject.OnLoaded event is fired (while Session.IsObjectsLoading is true). Another cause of this exception is that you are trying to work simultaneously with the same session from different threads.
v DevExpress.Xpo.Helpers.SessionStateStack.ThrowIfCantEnter(Session session, SessionState newState)
v DevExpress.Xpo.Helpers.SessionStateStack.Enter(Session session, SessionState newState)
v DevExpress.Xpo.Helpers.ObjectCollectionLoader.LoadObjects(ObjectsQuery[] queries)
v DevExpress.Xpo.SimpleObjectLayer.LoadObjects(Session session, ObjectsQuery[] queries)
v DevExpress.Xpo.Session.GetObjectsInternal(ObjectsQuery[] queries)
v DevExpress.Xpo.Session.<>c__DisplayClasse.<GetObjects>b__c()
v DevExpress.Xpo.Logger.LogManager.Log[T](String category, LogHandler`1 handler, MessageHandler`1 createMessageHandler)
v DevExpress.Xpo.Session.GetObjects(ObjectsQuery[] queries)
v DevExpress.Xpo.Session.GetObjects(ObjectsQuery query)
v DevExpress.Xpo.XPBaseCollection.Load()
v DevExpress.Xpo.XPBaseCollection.get_Objects()
v DevExpress.Xpo.XPBaseCollection.System.Collections.IEnumerable.GetEnumerator()
v Elite.Objects.Pojistovna.JePojistovnaSmluvni()
v Elite.Objects.Pacient.getPropertyError(String propertyName, ErrorInfo info)
v Elite.Objects.BaseObject.DevExpress.XtraEditors.DXErrorProvider.IDXDataErrorInfo.GetPropertyError(String propertyName, ErrorInfo info)
v DevExpress.Data.DataController.GetErrorInfo(Int32 controllerRow, Int32 column)
v DevExpress.Data.DataController.GetErrorText(Int32 controllerRow, Int32 column)
v DevExpress.XtraGrid.Views.Base.ColumnView.GetColumnError(GridColumn column)
v DevExpress.XtraGrid.Views.Base.ColumnView.GetColumnError(Int32 rowHandle, GridColumn column)
v DevExpress.XtraGrid.Views.Base.ColumnView.GetColumnError(Int32 rowHandle, GridColumn column, String& error, ErrorType& errorType)
v DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.UpdateCellEditViewInfo(GridCellInfo cell, Point mousePos, Boolean canFastRecalculate, Boolean calc)
v DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CreateCellEditViewInfo(GridCellInfo cell, Boolean calc, Boolean allowCache)
v DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.RequestCellEditViewInfo(GridCellInfo cell)
v DevExpress.XtraGrid.Views.Grid.Drawing.GridPainter.DrawRegularRowCell(GridViewDrawArgs e, GridCellInfo ci)
v DevExpress.XtraGrid.Views.Grid.Drawing.GridPainter.DrawRegularRow(GridViewDrawArgs e, GridDataRowInfo ri)
v DevExpress.XtraGrid.Views.Grid.Drawing.GridPainter.DrawRow(GridViewDrawArgs e, GridRowInfo ri)
v DevExpress.XtraGrid.Views.Grid.Drawing.GridPainter.DrawRows(GridViewDrawArgs e)
v DevExpress.XtraGrid.Views.Grid.Drawing.GridPainter.DrawContents(GridViewDrawArgs e)
v DevExpress.XtraGrid.Views.Grid.Drawing.GridPainter.Draw(ViewDrawArgs ee)
v DevExpress.XtraGrid.Views.Base.BaseView.Draw(GraphicsCache e)
v DevExpress.XtraGrid.GridControl.OnPaint(PaintEventArgs e)
v System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
v System.Windows.Forms.Control.WmPaint(Message& m)
v System.Windows.Forms.Control.WndProc(Message& m)
v DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m)
v DevExpress.XtraGrid.GridControl.WndProc(Message& m)
v System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
v System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
v System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)