arthurgera / osmbonuspack

Automatically exported from code.google.com/p/osmbonuspack
0 stars 0 forks source link

error at org.osmdroid.bonuspack.routing.OSRMRoadManager.getRoad #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
This morning, all users of the program was an error while building the route 
between two points. In this part of the code did not change over a year. And 
several thousand users of the software used by this function.

06-27 04:50:39.214: W/System.err(748): java.lang.IndexOutOfBoundsException: 
Invalid index 53, size is 53
06-27 04:50:39.214: W/System.err(748):  at 
java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:257)
06-27 04:50:39.231: W/System.err(748):  at 
java.util.ArrayList.get(ArrayList.java:311)
06-27 04:50:39.231: W/System.err(748):  at 
org.osmdroid.bonuspack.routing.OSRMRoadManager.getRoad(OSRMRoadManager.java:229)

Android SDK API 8, osmdroid 4.0, OSMBonusPack 4.6

Original issue reported on code.google.com by reseach...@gmail.com on 27 Jun 2014 at 5:03

GoogleCodeExporter commented 9 years ago
I just tried: no problem at all. 
I imagine that OSRM service got troubles this morning, and was returning 
erroneous data. 

Could you try again, and confirm if it's solved or not? 

If you still get errors, please provide the URL request sent by OSMBonusPack to 
OSRM (it is logged in the logcat, at debug level). 

Original comment by mathieu....@gmail.com on 27 Jun 2014 at 2:51

GoogleCodeExporter commented 9 years ago
Issue 73 has been merged into this issue.

Original comment by mathieu....@gmail.com on 27 Jun 2014 at 2:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
It works now.
Thank's,

Original comment by issam.me...@gmail.com on 27 Jun 2014 at 3:47

GoogleCodeExporter commented 9 years ago
Fine. 

By the way, @reseach.AI, you wrote: "Android SDK API 8, osmdroid 4.0, 
OSMBonusPack 4.6"

=> This is not a valid combination! Since OSMBonusPack 4.5, you must use 
osmdroid 4.2

Original comment by mathieu....@gmail.com on 27 Jun 2014 at 5:12