java.lang.IllegalStateException: Alternative paths and a viaTurnPenalty at the same time is currently not supported

GitHub | karussell | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Fix exception message and type

    GitHub | 8 months ago | karussell
    java.lang.IllegalStateException: Alternative paths and a viaTurnPenalty at the same time is currently not supported

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Alternative paths and a viaTurnPenalty at the same time is currently not supported

      at com.graphhopper.routing.template.AlternativeRoutingTemplate.calcPaths()
    2. com.graphhopper.routing
      AlternativeRoutingTemplate.calcPaths
      1. com.graphhopper.routing.template.AlternativeRoutingTemplate.calcPaths(AlternativeRoutingTemplate.java:52)
      1 frame