Skocz do zawartości

Nieoczekiwany krytyczny błąd przy próbie wysłania dokumentów do biura rachunkowego.

Polecane posty

Nie jestem pewny czy to tutaj wrzucić, ale czy u innych występuje taki błąd?

(W Subiekcie nexo PRO 27.0) Próbuje wyeksportować FS w XML i/lub EDI++ za dany miesiąc, a nawet za dany okres jednego dnia i wysypuje błąd po ok. 30sec zawiechy.

Podobna sytuacja z poziomu Rachmistrza nexo PRO 27.0 gdy próbuje Wysłać off-line do EDI++.

Screen z Rachmistrza:

image.png.97ad2d40e582f0afee46c21670b17b52.png

Stacktrace z Subiekta:

System.Data.Entity.Core.EntityCommandExecutionException: An error occurred while executing the command definition. See the inner exception for details.
   w System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior, ObjectContext objectContext)
   w System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)
   w System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
   w System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__26_0()
   w System.Lazy`1.CreateValue()
   w System.Lazy`1.LazyInitValue()
   w System.Lazy`1.get_Value()
   w System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
   w InsERT.Moria.Narzedzia.Prywatne.ObjectQueryHelper.<>c__DisplayClass14_0`2.<PageObjectQueryOptimizedForInteger>b__2(IQueryable`1 pq)
   w InsERT.Moria.Narzedzia.Prywatne.ObjectQueryHelper.PageObjectQueryPrivate[T,TId,TValue](IQueryable`1 source, Expression`1 idSelector, Expression`1 valueSelector, IEnumerable`1 ids, Func`2 action, Nullable`1 pageSize, Nullable`1 minPageSize, Nullable`1 maxPageSize, Boolean orderByGivenIds, IInformatorOPostepieOperacji informatorOPostepie, Boolean applyDistinctOperatorAfterValueSelection, Int32 poprawkaNaIloscEtapowDlaInformatoraOPostepie, Boolean prepareQueriesInSeparateThread)
   w InsERT.Moria.Narzedzia.Prywatne.ObjectQueryHelper.PageObjectQueryOptimizedForInteger[T,TValue](IQueryable`1 source, Expression`1 idSelector, Expression`1 valueSelector, IEnumerable`1 ids, Action`1 action, Nullable`1 pageSize, Nullable`1 minPageSize, Nullable`1 maxPageSize, Boolean breakAfterFirstFound, IInformatorOPostepieOperacji informatorOPostepie, Int32 minimalRangeSize, Int32 rangesCountInQuery, Boolean applyDistinctOperatorAfterValueSelection)
   w InsERT.Moria.Narzedzia.Prywatne.ObjectQueryHelper.GetAllOptimizedForInteger[T,TValue](IQueryable`1 source, Expression`1 idSelector, Expression`1 valueSelector, IEnumerable`1 ids, Nullable`1 pageSize, Nullable`1 minPageSize, Nullable`1 maxPageSize, Int32 rangesCountInQuery, Boolean applyDistinctOperatorAfterValueSelection, IInformatorOPostepieOperacji informatorOPostepie)
   w InsERT.Moria.Narzedzia.Prywatne.ObjectQueryHelper.GetAll[T,TValue](IQueryable`1 source, Expression`1 idSelector, Expression`1 valueSelector, IEnumerable`1 ids, Nullable`1 pageSize, Nullable`1 minPageSize, Nullable`1 maxPageSize, Boolean orderByGivenIds, Boolean applyDistinctOperatorAfterValueSelection, IInformatorOPostepieOperacji informatorOPostepie, Boolean useOptimizedQueriesIfPossible, Int32 rangesCountInQuery, Boolean prepareQueriesInSeparateThread)
   w InsERT.Moria.DokumentyDoKsiegowania.SerializatorDanychKlientaBiuraRachunkowego.<>c__DisplayClass194_1.<ZaladujDaneDoWysylki>b__5()
   w InsERT.Moria.Narzedzia.Prywatne.PustySynchronizatorOperacjiPrzypisanejDoWatku.Wykonaj[T](Func`1 funkcja)
   w InsERT.Moria.DokumentyDoKsiegowania.SerializatorDanychKlientaBiuraRachunkowego.ZaladujDaneDoWysylki(UnitOfWork uow, IEnumerable`1 ids, ISynchronizatorOperacjiPrzypisanejDoWatku synchronizator)
   w InsERT.Moria.DokumentyDoKsiegowania.SerializatorDanychKlientaBiuraRachunkowego.WybierzWlasciweDokumenty(Boolean wyslijMagazynoweIHandlowe, Magazyn magazyn, Boolean wyslijKasowe, StanowiskoKasowe kasa, Boolean wyslijBankowe, RachunekBankowy rachunek, Boolean okreslonyOkres, Nullable`1 okresOd, Nullable`1 okresDo, InstancjaBazyDanych instancja, UnitOfWork uow, WysylkaDanychEPPCache& cache, Boolean& innyOdbiorca)
   w InsERT.Moria.DokumentyDoKsiegowania.UI.WysylkaDoBiuraEppDialog.<>c__DisplayClass122_0.<ProcessResult>b__0(Boolean nieWysylajDanychWrazliwych)
   w InsERT.Moria.DokumentyDoKsiegowania.UI.WysylkaDoBiuraEppDialog.ProcessResult(MessageBoxResult result)
   w InsERT.Mox.UIFramework.DialogService.ProcessDialogResult(MessageBoxResult result)
   w InsERT.Mox.WpfControls.ServiceDialogBox.InvokeResultHandler(MessageBoxResult result)
   w InsERT.Mox.WpfControls.ServiceDialogBox.OK_Click(Object sender, RoutedEventArgs e)
   w System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   w System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   w System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   w System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   w System.Windows.Controls.Primitives.ButtonBase.OnClick()
   w System.Windows.Controls.Button.OnClick()
   w System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   w System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   w System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   w System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   w System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   w System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   w System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   w System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   w System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   w System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   w System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   w System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   w System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   w System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   w System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   w System.Windows.Input.InputManager.ProcessStagingArea()
   w System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   w System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   w System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   w System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   w System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   w MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   w MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   w System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   w System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
-System.Data.SqlClient.SqlException: Upłynął limit czasu wykonywania. Limit upłynął przed ukończeniem operacji lub serwer nie odpowiada.
-   w System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   w System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   w System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   w System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   w System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   w System.Data.SqlClient.SqlDataReader.get_MetaData()
   w System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   w System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   w System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   w System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   w System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   w System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   w System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior)
   w System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior, ObjectContext objectContext)
--System.ComponentModel.Win32Exception: The wait operation timed out

EnvironmentStackTrace:
   w System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   w System.Environment.get_StackTrace()
   w InsERT.Mox.UIFramework.AnalyzedException..ctor(Exception exception)
   w InsERT.Mox.UIFramework.ErrorContext..ctor(Exception exception, String dumpFilePath, Stream screenCapture)
   w InsERT.Moria.Startup.UI.NerfSupport.ShowFerfWindow(Exception exception, String dumpFile, Boolean newThread)
   w InsERT.Moria.Startup.UI.NerfSupport.HandleUsingFerf(Exception exception)
   w InsERT.Moria.Startup.UI.NerfSupport.ProcessUnhandledException(Exception exception)
   w InsERT.Moria.Startup.UI.NerfSupport.Dispatcher_UnhandledExceptionFilter(Object sender, DispatcherUnhandledExceptionFilterEventArgs e)
   w System.Windows.Threading.Dispatcher.ExceptionFilter(Exception e)
   w System.Windows.Threading.Dispatcher.ExceptionFilterStatic(Object source, Exception e)
   w System.Windows.Threading.ExceptionWrapper.FilterException(Object source, Exception e)
   w System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   w System.Lazy`1.CreateValue()
   w System.Lazy`1.LazyInitValue()
   w System.Lazy`1.get_Value()
   w System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
   w InsERT.Moria.Narzedzia.Prywatne.ObjectQueryHelper.<>c__DisplayClass14_0`2.<PageObjectQueryOptimizedForInteger>b__2(IQueryable`1 pq)
   w InsERT.Moria.Narzedzia.Prywatne.ObjectQueryHelper.PageObjectQueryPrivate[T,TId,TValue](IQueryable`1 source, Expression`1 idSelector, Expression`1 valueSelector, IEnumerable`1 ids, Func`2 action, Nullable`1 pageSize, Nullable`1 minPageSize, Nullable`1 maxPageSize, Boolean orderByGivenIds, IInformatorOPostepieOperacji informatorOPostepie, Boolean applyDistinctOperatorAfterValueSelection, Int32 poprawkaNaIloscEtapowDlaInformatoraOPostepie, Boolean prepareQueriesInSeparateThread)
   w InsERT.Moria.Narzedzia.Prywatne.ObjectQueryHelper.PageObjectQueryOptimizedForInteger[T,TValue](IQueryable`1 source, Expression`1 idSelector, Expression`1 valueSelector, IEnumerable`1 ids, Action`1 action, Nullable`1 pageSize, Nullable`1 minPageSize, Nullable`1 maxPageSize, Boolean breakAfterFirstFound, IInformatorOPostepieOperacji informatorOPostepie, Int32 minimalRangeSize, Int32 rangesCountInQuery, Boolean applyDistinctOperatorAfterValueSelection)
   w InsERT.Moria.Narzedzia.Prywatne.ObjectQueryHelper.GetAllOptimizedForInteger[T,TValue](IQueryable`1 source, Expression`1 idSelector, Expression`1 valueSelector, IEnumerable`1 ids, Nullable`1 pageSize, Nullable`1 minPageSize, Nullable`1 maxPageSize, Int32 rangesCountInQuery, Boolean applyDistinctOperatorAfterValueSelection, IInformatorOPostepieOperacji informatorOPostepie)
   w InsERT.Moria.Narzedzia.Prywatne.ObjectQueryHelper.GetAll[T,TValue](IQueryable`1 source, Expression`1 idSelector, Expression`1 valueSelector, IEnumerable`1 ids, Nullable`1 pageSize, Nullable`1 minPageSize, Nullable`1 maxPageSize, Boolean orderByGivenIds, Boolean applyDistinctOperatorAfterValueSelection, IInformatorOPostepieOperacji informatorOPostepie, Boolean useOptimizedQueriesIfPossible, Int32 rangesCountInQuery, Boolean prepareQueriesInSeparateThread)
   w InsERT.Moria.DokumentyDoKsiegowania.SerializatorDanychKlientaBiuraRachunkowego.<>c__DisplayClass194_1.<ZaladujDaneDoWysylki>b__5()
   w InsERT.Moria.Narzedzia.Prywatne.PustySynchronizatorOperacjiPrzypisanejDoWatku.Wykonaj[T](Func`1 funkcja)
   w InsERT.Moria.DokumentyDoKsiegowania.SerializatorDanychKlientaBiuraRachunkowego.ZaladujDaneDoWysylki(UnitOfWork uow, IEnumerable`1 ids, ISynchronizatorOperacjiPrzypisanejDoWatku synchronizator)
   w InsERT.Moria.DokumentyDoKsiegowania.SerializatorDanychKlientaBiuraRachunkowego.WybierzWlasciweDokumenty(Boolean wyslijMagazynoweIHandlowe, Magazyn magazyn, Boolean wyslijKasowe, StanowiskoKasowe kasa, Boolean wyslijBankowe, RachunekBankowy rachunek, Boolean okreslonyOkres, Nullable`1 okresOd, Nullable`1 okresDo, InstancjaBazyDanych instancja, UnitOfWork uow, WysylkaDanychEPPCache& cache, Boolean& innyOdbiorca)
   w InsERT.Moria.DokumentyDoKsiegowania.UI.WysylkaDoBiuraEppDialog.<>c__DisplayClass122_0.<ProcessResult>b__0(Boolean nieWysylajDanychWrazliwych)
   w InsERT.Moria.DokumentyDoKsiegowania.UI.WysylkaDoBiuraEppDialog.ProcessResult(MessageBoxResult result)
   w InsERT.Mox.UIFramework.DialogService.ProcessDialogResult(MessageBoxResult result)
   w InsERT.Mox.WpfControls.ServiceDialogBox.InvokeResultHandler(MessageBoxResult result)
   w InsERT.Mox.WpfControls.ServiceDialogBox.OK_Click(Object sender, RoutedEventArgs e)
   w System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   w System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   w System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   w System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   w System.Windows.Controls.Primitives.ButtonBase.OnClick()
   w System.Windows.Controls.Button.OnClick()
   w System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   w System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   w System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   w System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   w System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   w System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   w System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   w System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   w System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   w System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   w System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   w System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   w System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   w System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   w System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   w System.Windows.Input.InputManager.ProcessStagingArea()
   w System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   w System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   w System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   w System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   w System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   w MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   w MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   w System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   w System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   w System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   w MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   w MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   w System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   w System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   w System.Windows.Window.ShowHelper(Object booleanBox)
   w System.Windows.Window.Show()
   w System.Windows.Window.ShowDialog()
   w InsERT.Moria.Startup.UI.NexoAppBase.Go()
   w InsERT.Moria.Subiekt.SubiektApp.Main(String[] args)

 

Edytowane przez Ernest Sadowski
Link to postu
×
×
  • Dodaj nową pozycję...