I have tried to clone the 6.0 version of graphhopper using git,
I want 5.0 version but i dont think that version has shortest path settings.
So I cloned the 6.0 version and I am receving this.
? E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #2
Process: com.juandirection.juand, PID: 13431
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:300)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method ‘com.graphhopper.GHResponse com.graphhopper.GraphHopper.route(com.graphhopper.GHRequest)’ on a null object reference
at com.juandirection.juand.fragments.FragmentMap$2.doInBackground(FragmentMap.java:213)
at com.juandirection.juand.fragments.FragmentMap$2.doInBackground(FragmentMap.java:203)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
Tried the new version and its still the same.
Does this has to do with the OSM file?
THanks