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

If a station can't be found, getTrains gives a 500 exception #1

Open
immortaly007 opened this issue Mar 13, 2017 · 0 comments
Open

Comments

@immortaly007
Copy link
Owner

immortaly007 commented Mar 13, 2017

If a station has coordinates, but the train map does not have a any nodes near these coordinates, the following exception is thrown:

java.lang.IllegalStateException: Could not find railway nodes near to coordinate [51.5385828,7.6953056]

See the attached stacktrace log

This causes a 500 response to the client, causing no trains to display (even though the problem is with just one station

trainfinder_unknown_station_stacktrace.zip
...)

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