Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: ArgumentNullException happening in Router.TryResolve() #360

Open
malthuis opened this issue Sep 14, 2022 · 0 comments
Open

Bug: ArgumentNullException happening in Router.TryResolve() #360

malthuis opened this issue Sep 14, 2022 · 0 comments

Comments

@malthuis
Copy link

malthuis commented Sep 14, 2022

Hi, when I call the method like this:

float lat = 50.085658;
float lng = 7.210349;
ItineroProfile profile = Vehicle.Car.Fastest();

Result<RouterPoint> result = router.TryResolve(profile, lat, long);

I get an error in the result that is a NullPointerException. None of the parameters are null, so the error has to be in the code.

I am using the Itinero NuGet version 1.5.1.

Thanks in advance for any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant