DNSCrypt / DNSCrypt/SimpleDnsCrypt

GUI crashes often if Query Log open: 2 examples

Open
#337 16 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.5k
Forks
249
PR merge metrics
No merged PRs in 30d

Description

Below are 2 examples when the GUI crash occurs, which happens almost each and everytime i view the Query Log.
[2018-07-23 01_08_09_Error.log](https://github.com/bitbeans/SimpleDnsCrypt/files/2234041/2018-07-23.01_08_09_Error.log)
[2018-07-27 01_58_46_Error.log](https://github.com/bitbeans/SimpleDnsCrypt/files/2234042/2018-07-27.01_58_46_Error.log)

Basically the same apart from the count numbers differing.

2018-07-23 01:08:09.8724 QueryLogViewModel System.Reflection.TargetInvocationException: An error occurred while dispatching a call to the UI Thread ---> System.InvalidOperationException: An ItemsControl is inconsistent with its items source.
See the inner exception for more information. ---> System.Exception: Information for developers (use Text Visualizer to read this):
This exception was thrown because the generator for control 'SimpleDnsCrypt.Controls.LoggingListView Items.Count:2814' with name '(unnamed)' has received sequence of CollectionChanged events that do not agree with the current state of the Items collection. The following differences were detected:
Accumulated count 2813 is different from actual count 2814. [Accumulated count is (Count at last Reset + #Adds - #Removes since last Reset).]

----------------------------------------------------------------------------------------------------

2018-07-27 01:58:46.5086 QueryLogViewModel System.Reflection.TargetInvocationException: An error occurred while dispatching a call to the UI Thread ---> System.InvalidOperationException: An ItemsControl is inconsistent with its items source.
See the inner exception for more information. ---> System.Exception: Information for developers (use Text Visualizer to read this):
This exception was thrown because the generator for control 'SimpleDnsCrypt.Controls.LoggingListView Items.Count:110' with name '(unnamed)' has received sequence of CollectionChanged events that do not agree with the current state of the Items collection. The following differences were detected:
Accumulated count 109 is different from actual count 110. [Accumulated count is (Count at last Reset + #Adds - #Removes since last Reset).]

Hope they help.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.