Radomił Ząbik 308 Napisano 20 Kwietnia 2021 Udostępnij Napisano 20 Kwietnia 2021 w Błąd podczas próby drukowania raportu, w zestawieniu obrotów i sald Ustawiamy Sobie filtry jak niżej: Wybiera Drukuj raport, dla dowolnego konta i po chwili przetwarzania, otrzymuję błąd: Cytat System.ArgumentException: Element o tym samym kluczu został już dodany. w System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) w System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) w System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer) w InsERT.Moria.SprawozdaniaFinansowe.UI.ZSODataPart.<>c__DisplayClass9_0.<WydrukujRaport>b__6() w InsERT.Mox.Helpers.AdvancedStopwatch.Measure(Action action, String title, Boolean supressTrace) w InsERT.Moria.SprawozdaniaFinansowe.UI.ZSODataPart.WydrukujRaport() w InsERT.Moria.Raporty.UI.DodatkowaKomendaDrukowaniaRaportuBase.Wykonaj(IDataServicePart raport) w InsERT.Moria.Raporty.UI.DodatkowaKomendaRaportu.<UtworzKomende>b__25_0(Object parameter) w InsERT.Mox.MvvmSupport.DelegatingCommand`1.Execute(Object parameter) w InsERT.Mox.UIFramework.TextCommandProgress.<>c__DisplayClass22_0.<DecorateCommand>g__newExecute|0(Object p) w InsERT.Mox.MvvmSupport.DelegatingCommand`1.Execute(Object parameter) w MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) w System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg) 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) 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.ThrowHelper.ThrowArgumentException(ExceptionResource resource) w System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) w System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer) w InsERT.Moria.SprawozdaniaFinansowe.UI.ZSODataPart.<>c__DisplayClass9_0.<WydrukujRaport>b__6() w InsERT.Mox.Helpers.AdvancedStopwatch.Measure(Action action, String title, Boolean supressTrace) w InsERT.Moria.SprawozdaniaFinansowe.UI.ZSODataPart.WydrukujRaport() w InsERT.Moria.Raporty.UI.DodatkowaKomendaDrukowaniaRaportuBase.Wykonaj(IDataServicePart raport) w InsERT.Moria.Raporty.UI.DodatkowaKomendaRaportu.<UtworzKomende>b__25_0(Object parameter) w InsERT.Mox.MvvmSupport.DelegatingCommand`1.Execute(Object parameter) w InsERT.Mox.UIFramework.TextCommandProgress.<>c__DisplayClass22_0.<DecorateCommand>g__newExecute|0(Object p) w InsERT.Mox.MvvmSupport.DelegatingCommand`1.Execute(Object parameter) w MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) w System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg) 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.DispatcherOperation.InvokeImpl() w System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) w MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) w System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) w System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) w System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) w MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) w System.Windows.Threading.DispatcherOperation.Invoke() w System.Windows.Threading.Dispatcher.ProcessQueue() w System.Windows.Threading.Dispatcher.WndProcHook(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) W sumie po przywróceniu filtrów na domyślne, także po dosyć długim przetwarzaniu pojawia się błąd. Wersja 34.2.1, ale w liście zmian z pomocy 35.0.1, nie znalazłem info o poprawkach dla tego rejonu programu. Link to postu
Przemysław Werner 393 Napisano 20 Kwietnia 2021 Udostępnij Napisano 20 Kwietnia 2021 w Błąd podczas próby drukowania raportu, w zestawieniu obrotów i sald Problem pojawia się podczas tworzenia słownika kont użytych w ZSO. Możemy zrealizować rozszerzenie programowe do 35.0.0 i/lub poprawkę do 35.0.1, bo dla problemu prawdopodobnie nie ma innego obejścia 😐. Link to postu
Radomił Ząbik 308 Napisano 20 Kwietnia 2021 Autor Udostępnij Napisano 20 Kwietnia 2021 w Błąd podczas próby drukowania raportu, w zestawieniu obrotów i sald Jeśli wersja 35.0.2, w której to zapewne byście poprawili, wyjdzie w ciągu jakiś 2 tygodni, to księgowa wytrzyma tyle czasu. Jak nie, to będziemy coś kombinować do wersji 35.0.1. Link to postu
Radomił Ząbik 308 Napisano 22 Kwietnia 2021 Autor Udostępnij Napisano 22 Kwietnia 2021 w Błąd podczas próby drukowania raportu, w zestawieniu obrotów i sald ... o wilku mowa, i jest 35.0.2 - zmieściła się w niej poprawka, wyżej wspomnianego problemu? Link to postu
Przemysław Werner 393 Napisano 22 Kwietnia 2021 Udostępnij Napisano 22 Kwietnia 2021 w Błąd podczas próby drukowania raportu, w zestawieniu obrotów i sald Zgodnie z opublikowaną listą zmian. 1 Link to postu
Polecane posty