TumblThree
TumblThree copied to clipboard
App error: 'Refresh' is not allowed during an AddNew or EditItem transaction.
Sometimes users let the app report an error that occurred, but it's unclear which steps caused it. We have the error message, the stack trace and need to find the root cause... Any help is welcome.
ExceptionMessage: Exception 2 ExceptionType: System.Exception Callstack:
at TumblThree.Applications.Services.ManagerService.CrawlerService_ActiveCollectionIdChanged(Object sender, EventArgs e) in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Services\ManagerService.cs:line 58 at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Windows.Data.CollectionView.OnCurrentChanged() at System.Windows.Data.ListCollectionView.MoveCurrentToPosition(Int32 position) at TumblThree.Applications.ViewModels.SettingsViewModel.<ApplySettings>d__520.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\ViewModels\SettingsViewModel.cs:line 1460 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at TumblThree.Applications.ViewModels.SettingsViewModel.<Save>d__519.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\ViewModels\SettingsViewModel.cs:line 1444 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Waf.Applications.AsyncDelegateCommand.<Execute>d__18.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
InnerException:
System.InvalidOperationException: 'Refresh' is not allowed during an AddNew or EditItem transaction. at System.Windows.Data.CollectionView.Refresh() at TumblThree.Applications.Services.ManagerService.CrawlerService_ActiveCollectionIdChanged(Object sender, EventArgs e) in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Services\ManagerService.cs:line 54
TumblThreeVersion: 2.13.0.442 (64 bit)