java.lang.RuntimeException: An error occured while executing doInBackground()


Solutions on the web

Solution icon of github
via GitHub by TomHennen
, 1 year ago
An error occured while executing doInBackground()

Solution icon of github
via GitHub by srvrguy
, 11 months ago
An error occured while executing doInBackground()

Solution icon of github
An error occured while executing doInBackground()

Solution icon of github
An error occured while executing doInBackground()

Solution icon of github
via GitHub by Ne1c
, 1 month ago
An error occured while executing doInBackground()

Solution icon of github
via GitHub by atulagrwl
, 1 year ago
An error occured while executing doInBackground()

Solution icon of github
via GitHub by atulagrwl
, 1 year ago
An error occured while executing doInBackground()

Solution icon of github
An error occured while executing doInBackground()

Solution icon of github
An error occured while executing doInBackground()

Solution icon of github
An error occured while executing doInBackground()

Stack trace

java.lang.RuntimeException: An error occured while executing doInBackground()
	at android.os.AsyncTask$3.done(AsyncTask.java:299)
	at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
	at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
	at java.util.concurrent.FutureTask.run(FutureTask.java:137)
	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
	at java.lang.Thread.run(Thread.java:856)
Caused by: java.lang.NullPointerException
	at com.graphhopper.storage.MMapDataAccess.getInt(MMapDataAccess.java:313)
	at com.graphhopper.storage.EdgeAccess.getOtherNode(EdgeAccess.java:146)
	at com.graphhopper.storage.BaseGraph$EdgeIterable.next(BaseGraph.java:1036)
	at com.graphhopper.routing.AStarBidirection.fillEdges(AStarBidirection.java:240)
	at com.graphhopper.routing.AStarBidirection.fillEdgesTo(AStarBidirection.java:229)
	at com.graphhopper.routing.AbstractBidirAlgo.runAlgo(AbstractBidirAlgo.java:75)
	at com.graphhopper.routing.AbstractBidirAlgo.calcPath(AbstractBidirAlgo.java:63)
	at com.graphhopper.routing.AbstractRoutingAlgorithm.calcPaths(AbstractRoutingAlgorithm.java:120)
	at com.graphhopper.routing.template.ViaRoutingTemplate.calcPaths(ViaRoutingTemplate.java:110)
	at com.graphhopper.GraphHopper.calcPaths(GraphHopper.java:1098)
	at com.graphhopper.GraphHopper.route(GraphHopper.java:1003)
	at com.darekk.service.nawigacjaoffline.app.tasks.RoutingTask.doInBackground(RoutingTask.java:107)
	at com.darekk.service.nawigacjaoffline.app.tasks.RoutingTask.doInBackground(RoutingTask.java:21)
	at android.os.AsyncTask$2.call(AsyncTask.java:287)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.