You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can often happen when we do a lot of route testing and a termination of BRouter.
There is a *_rawtrack.dat file in /brouter/modes/ folder but with 0 size!
Then BRouter hangs as it can't read the rawtrack file, it keeps throwing an exception
and user must delete the file manually (not possible in new Android and data folder)
or re-download any route segment.
As OsmTrack.readBinary already returns a null result, we should not also throw a RunTimeException here?
This can often happen when we do a lot of route testing and a termination of BRouter.
There is a *_rawtrack.dat file in /brouter/modes/ folder but with 0 size!
Then BRouter hangs as it can't read the rawtrack file, it keeps throwing an exception
and user must delete the file manually (not possible in new Android and data folder)
or re-download any route segment.
As
OsmTrack.readBinary
already returns a null result, we should not also throw a RunTimeException here?https://github.com/abrensch/brouter/blob/master/brouter-core/src/main/java/btools/router/OsmTrack.java#L288
I can provide a pull request if you agree.
The text was updated successfully, but these errors were encountered: