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

Stack Overflow | Derek K | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Graphhopper. Can I load only part of graph files to avoid OutOfMemory error?

    Stack Overflow | 6 months ago | Derek K
    java.lang.RuntimeException: An error occurred while executing doInBackground()

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Calculating time should not require to read speed from edge in wrong direction. Reverse:true, fwd:false, bwd:false

      at com.graphhopper.routing.Path.calcMillis()
    2. GraphHopper
      AbstractRoutingAlgorithm.calcPaths
      1. com.graphhopper.routing.Path.calcMillis(Path.java:253)
      2. com.graphhopper.routing.ch.Path4CH.expandEdge(Path4CH.java:56)
      3. com.graphhopper.routing.ch.Path4CH.expandEdge(Path4CH.java:96)
      4. com.graphhopper.routing.ch.Path4CH.expandEdge(Path4CH.java:96)
      5. com.graphhopper.routing.ch.Path4CH.expandEdge(Path4CH.java:103)
      6. com.graphhopper.routing.ch.Path4CH.expandEdge(Path4CH.java:96)
      7. com.graphhopper.routing.ch.Path4CH.expandEdge(Path4CH.java:96)
      8. com.graphhopper.routing.ch.Path4CH.expandEdge(Path4CH.java:96)
      9. com.graphhopper.routing.ch.Path4CH.expandEdge(Path4CH.java:103)
      10. com.graphhopper.routing.ch.Path4CH.processEdge(Path4CH.java:46)
      11. com.graphhopper.routing.PathBidirRef.extract(PathBidirRef.java:92)
      12. com.graphhopper.routing.DijkstraBidirectionRef.extractPath(DijkstraBidirectionRef.java:130)
      13. com.graphhopper.routing.AbstractBidirAlgo.calcPath(AbstractBidirAlgo.java:64)
      14. com.graphhopper.routing.AbstractRoutingAlgorithm.calcPaths(AbstractRoutingAlgorithm.java:120)
      14 frames
    3. com.graphhopper.routing
      ViaRoutingTemplate.calcPaths
      1. com.graphhopper.routing.template.ViaRoutingTemplate.calcPaths(ViaRoutingTemplate.java:110)
      1 frame
    4. GraphHopper
      GraphHopper.route
      1. com.graphhopper.GraphHopper.calcPaths(GraphHopper.java:1098)
      2. com.graphhopper.GraphHopper.route(GraphHopper.java:1003)
      2 frames