[GraphHopper] Call load error

Daniele Germano danielegermano77 at gmail.com
Mon Sep 1 10:54:23 UTC 2014


here’s the log cat

09-01 12:51:04.946: I/GH(27683): Problem https://graphhopper.com/public/maps/0.3/
09-01 12:51:04.946: I/GH(27683): java.io.FileNotFoundException: https://graphhopper.com/public/maps/0.3/
09-01 12:51:04.946: I/GH(27683): 	at libcore.net.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:186)
09-01 12:51:04.946: I/GH(27683): 	at libcore.net.http.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:271)
09-01 12:51:04.946: I/GH(27683): 	at com.graphhopper.util.Downloader.fetch(Downloader.java:75)
09-01 12:51:04.946: I/GH(27683): 	at com.graphhopper.util.Downloader.fetch(Downloader.java:86)
09-01 12:51:04.946: I/GH(27683): 	at com.graphhopper.util.Downloader.downloadAsString(Downloader.java:145)
09-01 12:51:04.946: I/GH(27683): 	at com.graphhopper.android.MainActivity$3.saveDoInBackground(MainActivity.java:240)
09-01 12:51:04.946: I/GH(27683): 	at com.graphhopper.android.MainActivity$3.saveDoInBackground(MainActivity.java:1)
09-01 12:51:04.946: I/GH(27683): 	at com.graphhopper.android.GHAsyncTask.doInBackground(GHAsyncTask.java:15)
09-01 12:51:04.946: I/GH(27683): 	at android.os.AsyncTask$2.call(AsyncTask.java:287)
09-01 12:51:04.946: I/GH(27683): 	at java.util.concurrent.FutureTask.run(FutureTask.java:234)
09-01 12:51:04.946: I/GH(27683): 	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
09-01 12:51:04.946: I/GH(27683): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
09-01 12:51:04.946: I/GH(27683): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
09-01 12:51:04.946: I/GH(27683): 	at java.lang.Thread.run(Thread.java:856)
09-01 12:51:05.016: I/brcm-gr(27683): [gralloc_lock]: new usage 0x933


i have try to download  europe_germany_berlin.ghz from the url from my mac.
i then convert to europe_germany_berlin-gh, but it still crash when i put the red flag on the map and have the same problem “Call load or importOrLoad before routing"
Il giorno 01/set/2014, alle ore 12:45, Peter <graphhopper at gmx.de> ha scritto:

> Please use e.g. this code
> 
>   if (hasError())
>                 {
>                     log("Problem " + getErrorMessage(), getError());
>                     logUser("Are you connected to the internet? Problem while fetching remote area list: "
>                             + getErrorMessage());
>                     return;
>                 }
> 
> and report the stacktrace
> 
> Regards,
> Peter.
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140901/3f5525b0/attachment.html>


More information about the GraphHopper mailing list