I've had this code for 2+ years - with the most recent Windows 10 upgrade (thanks Microsoft) I was getting some odd IKVM errors, so I finally upgraded to the latest IKVM & NHtmlUnit, and now this line below throws the above error.
Task task = Task.Run(() => webClient.GetHtmlPage(uri.ToString()), cts.Token);
Is this a bug in NHtmlUnit?
Thanks!