microsoft / BingMapsRESTToolkit

This is a portable class library which makes it easy to access the Bing Maps REST services from .NET.

Home Page:https://github.com/Microsoft/BingMapsRESTToolkit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Object not set to an instance of an object

nickbnick opened this issue · comments

commented

Getting "object not set to an instance of an object" error when using RouteRequest with over 25 waypoints. After testing it seems to be due to using RouteAttributeType.ExcludeItinerary. Removing that type stops error.

StackTrace " at BingMapsRESTToolkit.RouteRequest.<>c__DisplayClass22_0.b__0() in C:\Users\richbrun\Desktop\Code Samples\GitHub\BingMapsRESTToolkit\Source\Requests\RouteRequest.cs:line 443\r\n at System.Threading.Tasks.Task`1.InnerInvoke()\r\n at System.Threading.Tasks.Task.Execute()"

Closing as unable to reproduce and a lot has changed since this bug was reported.