Skip to content

"This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread" #85

Closed

Description

@jedisct1

Just got this stack trace when trying to update the resolvers list (with the just released version 0.3.8)

screen shot 2017-01-03 at 11 27 42 am

Activity

  1. MacgyverJohnson commented on Jan 3, 2017

    @MacgyverJohnson

    Me too..
    Updated over previous installation of 0.3.7....DNS cache service is enabled...Using Windows 8.1 Pro 64bit...
    run at admin previledge....
    Full message in text

    Message: This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread.
    StackTrace:    at System.Windows.Data.CollectionView.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
       at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       at System.Collections.ObjectModel.ObservableCollection`1.ClearItems()
       at System.Collections.ObjectModel.Collection`1.Clear()
       at SimpleDnsCrypt.ViewModels.MainViewModel.<RefreshResolverListAsync>d__104.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
       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)
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions