TabularEditor / TabularEditor3

Bug reports, feature requests, discussion and documentation for Tabular Editor 3 (commercial version).
64 stars 7 forks source link

Tabular Editor 3 hangs, close only with Task Manager possible #676

Closed jharbering closed 1 year ago

jharbering commented 1 year ago

Error message from errorreport.txt:

Exception message: A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled). Exception source: DevExpress.PivotGrid.v22.1.Core Stack trace: at DevExpress.PivotGrid.OLAP.AdoWrappers.ByObjectWrapper.InvokeMethod(String methodName, Object[] parameters) at DevExpress.PivotGrid.OLAP.AdoWrappers.AdomdConnection.Close(Boolean closeConnection) at DevExpress.PivotGrid.OLAP.AdoWrappers.AdomdConnection.System.IDisposable.Dispose() at DevExpress.PivotGrid.OLAP.OLAPMetadata.DisposeConnection() at DevExpress.PivotGrid.OLAP.OLAPMetadata.Disconnect() at DevExpress.PivotGrid.QueryMode.QueryMetadata1.UnregisterOwner(IPivotServerModeDataSource1 owner) at DevExpress.PivotGrid.QueryMode.QueryDataSource1.SetOwner(IPivotGridDataSourceOwner value) at DevExpress.PivotGrid.QueryMode.QueryDataSource1.set_Owner(IPivotGridDataSourceOwner value) at DevExpress.XtraPivotGrid.Data.OLAPDataSourceBase.System.IDisposable.Dispose() at DevExpress.XtraPivotGrid.Data.PivotDataSourceBox.SetPivotDataSourceCore(OwnedDataSource value, Boolean notifyDataSourceChanged) at DevExpress.XtraPivotGrid.Data.PivotDataSourceBox.Dispose(Boolean disposing) at DevExpress.Utils.Controls.DisposableObject.Dispose() at DevExpress.XtraPivotGrid.Data.PivotGridData.Dispose(Boolean disposing) at DevExpress.XtraPivotGrid.Data.PivotGridDataAsync.Dispose(Boolean disposing) at DevExpress.XtraPivotGrid.Data.PivotGridViewInfoData.Dispose(Boolean disposing) at DevExpress.XtraPivotGrid.Data.PivotGridData.Dispose() at DevExpress.XtraPivotGrid.PivotGridControl.DisposeDataCore() at DevExpress.XtraPivotGrid.PivotGridControl.DisposeData() at DevExpress.XtraPivotGrid.PivotGridControl.Dispose(Boolean disposing) at System.Windows.Forms.Control.Dispose(Boolean disposing) at System.Windows.Forms.ContainerControl.Dispose(Boolean disposing) at DevExpress.XtraEditors.XtraUserControl.Dispose(Boolean disposing) at TabularEditor.UI.Views.PivotGridView.Dispose(Boolean disposing) at System.Windows.Forms.Control.Dispose(Boolean disposing) at DevExpress.XtraBars.Docking2010.DocumentContainer.Dispose(Boolean disposing) at System.ComponentModel.Component.Dispose() at DevExpress.XtraBars.Docking2010.Views.BaseViewController.Close(BaseDocument document) at DevExpress.XtraBars.Docking2010.Views.Tabbed.DocumentGroupInfo.OnCloseButtonClick(Object sender, EventArgs e) at DevExpress.XtraTab.ViewInfo.BaseTabControlViewInfo.OnPageCloseButtonClick(ClosePageButtonEventArgs ea) at DevExpress.XtraTab.ViewInfo.BaseTabPageViewInfo.OnClickCloseButton() at DevExpress.XtraTab.ViewInfo.BaseTabPageViewInfo.OnDefaultButtonClick(Object sender, BaseButtonEventArgs e) at DevExpress.XtraEditors.ButtonPanel.BaseButtonsPanel.RaiseButtonClick(IBaseButton button) at DevExpress.XtraEditors.ButtonPanel.BaseButtonsPanel.DevExpress.XtraEditors.ButtonPanel.IButtonsPanel.PerformClick(IBaseButton button) at DevExpress.XtraEditors.ButtonPanel.ButtonsPanelHandler.PerformClick(IBaseButton button) at DevExpress.XtraEditors.ButtonPanel.BaseButtonHandler.OnMouseUp(MouseEventArgs e) at DevExpress.XtraTab.ViewInfo.BaseTabHandler.OnMouseUp(MouseEventArgs e) at DevExpress.Utils.Controls.BaseHandler.ProcessEvent(EventType etype, Object args) at DevExpress.XtraBars.Docking2010.Views.Tabbed.DocumentGroupInfo.DevExpress.XtraBars.Docking2010.Views.Tabbed.IDocumentGroupInfo.ProcessEvent(EventType eventType, Object args) at DevExpress.XtraBars.Docking2010.Dragging.DocumentManagerUIViewUIInteractionListener.OnMouseUp(MouseButtons buttons, LayoutElementHitInfo hitInfo) at DevExpress.XtraBars.Docking2010.DragEngine.UIInteractionService.ProcessMouseUp(LayoutElementHitInfo upHitInfo, MouseEventArgs ea) at DevExpress.XtraBars.Docking2010.DragEngine.UIInteractionService.ProcessMouseOverride(IUIView view, MouseEventType eventType, MouseEventArgs ea) at DevExpress.XtraBars.Docking2010.DragEngine.UIService.ProcessMouse(IUIView view, MouseEventType eventType, MouseEventArgs ea) at DevExpress.XtraBars.Docking2010.DragEngine.UIViewAdapter.ProcessMouseEvent(IUIView view, MouseEventType eventType, MouseEventArgs ea) at DevExpress.XtraBars.Docking2010.DragEngine.BaseUIView.OnMouseUp(MouseEventArgs ea) at DevExpress.XtraBars.Docking2010.DragEngine.MouseEventSubscriber`1.RootUIElementMouseUp(Object sender, MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at DevExpress.XtraBars.Docking2010.DocumentsHost.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam) Modules loaded: TabularEditor3.dll

otykier commented 1 year ago

Hi @jharbering Could you provide some details as to what you were doing when the hang occurred? Are you able to consistently reproduce the issue or does it only happen occasionally?

jharbering commented 1 year ago

Somehow it hangs every time I am editing even simple pivot grids:

image
otykier commented 1 year ago

This is now fixed in 3.4.0. Thanks for reporting!