Cannot find EncodedValue car$routing_priority in collection

I am having the same issues as discussed here: Cannot find EncodedValue mofa_network in collection: null

When trying to execute GraphHopper, I get this error:

2021-12-02 11:43:21.775 [main] ERROR io.dropwizard.cli.ServerCommand - Unable to start server, shutting down
java.lang.IllegalArgumentException: Could not create weighting for profile: ‘short_easy’.
Profile: name=short_easy|vehicle=car|weighting=short_easy|turnCosts=false|hints={distance_factor=0}
Error: Cannot find EncodedValue car$routing_priority in collection: null
at com.graphhopper.GraphHopper.checkProfilesConsistency(GraphHopper.java:845)
at com.graphhopper.GraphHopper.load(GraphHopper.java:787)
at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:633)
at com.graphhopper.http.GraphHopperManaged.start(GraphHopperManaged.java:103)
at io.dropwizard.lifecycle.JettyManaged.doStart(JettyManaged.java:27)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
at org.eclipse.jetty.server.Server.start(Server.java:423)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
at org.eclipse.jetty.server.Server.doStart(Server.java:387)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
at io.dropwizard.cli.ServerCommand.run(ServerCommand.java:53)
at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:60)
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:98)
at io.dropwizard.cli.Cli.run(Cli.java:78)
at io.dropwizard.Application.run(Application.java:94)
at com.graphhopper.http.GraphHopperApplication.main(GraphHopperApplication.java:35)
java.lang.IllegalArgumentException: Could not create weighting for profile: ‘short_easy’.
Profile: name=short_easy|vehicle=car|weighting=short_easy|turnCosts=false|hints={distance_factor=0}
Error: Cannot find EncodedValue car$routing_priority in collection: null
at com.graphhopper.GraphHopper.checkProfilesConsistency(GraphHopper.java:845)
at com.graphhopper.GraphHopper.load(GraphHopper.java:787)
at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:633)
at com.graphhopper.http.GraphHopperManaged.start(GraphHopperManaged.java:103)
at io.dropwizard.lifecycle.JettyManaged.doStart(JettyManaged.java:27)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
at org.eclipse.jetty.server.Server.start(Server.java:423)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
at org.eclipse.jetty.server.Server.doStart(Server.java:387)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
at io.dropwizard.cli.ServerCommand.run(ServerCommand.java:53)
at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:60)
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:98)
at io.dropwizard.cli.Cli.run(Cli.java:78)
at io.dropwizard.Application.run(Application.java:94)
at com.graphhopper.http.GraphHopperApplication.main(GraphHopperApplication.java:35)

I have added my routing_priority encoded value to the EncodingManager. Any ideas why I am getting this error?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.