Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IndexOutOfRangeException occurred in WmtsParser Brutile

See original GitHub issue

“An exception of type ‘System.IndexOutOfRangeException’ occurred in BruTile.dll but was not handled in user code /Index was outside the bounds of the array.” Exception happens in the following line: var myTileSource = WmtsParser.Parse(stream).First();

System.Net.Http.HttpClient httpClient = new System.Net.Http.HttpClient(); var stream = httpClient.GetStreamAsync("").Result; var myTileSource = BruTile.Wmts.WmtsParser.Parse(stream).First();


Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

pauldendulkcommented, Jan 16, 2018

Could you attach the content of the xml as file to this issue?

pauldendulkcommented, Feb 9, 2018

Closing this. I assume there is no BruTile issue underlying this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IndexOutOfRangeException Class (System)
The exception that is thrown when an attempt is made to access an element of an array or collection with an index that...
Read more >
c# - What is an IndexOutOfRangeException ...
This exception means that you're trying to access a collection item by index, using an invalid index. An index is invalid when it's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found