Hi everyone,
I’m currently working on my master thesis and I’m evaluating tools in order to see which suits the best to my need. I got an issue with the graphhopper.sh that is provide in the repo. When I run it with good parameters everything goes well until it try the “web part”
In fact it dl the data correctly from geofabrik and then :
## now web. JAVA_OPTS=-Xmx1000m -Xms1000m INFO [2019-02-07 11:02:00,725] io.dropwizard.server.DefaultServerFactory: Registering jersey handler with root path prefix: / INFO [2019-02-07 11:02:00,730] io.dropwizard.server.DefaultServerFactory: Registering admin handler with root path prefix: / java.lang.IllegalArgumentException: No enum constant com.graphhopper.routing.ch.CHAlgoFactoryDecorator.EdgeBasedCHMode.FALSE at java.lang.Enum.valueOf(Enum.java:238) at com.graphhopper.routing.ch.CHAlgoFactoryDecorator$EdgeBasedCHMode.valueOf(CHAlgoFactoryDecorator.java:324) at com.graphhopper.routing.ch.CHAlgoFactoryDecorator.init(CHAlgoFactoryDecorator.java:94) at com.graphhopper.GraphHopper.init(GraphHopper.java:605) at com.graphhopper.http.GraphHopperManaged.<init>(GraphHopperManaged.java:66) at com.graphhopper.http.GraphHopperBundle.runRegularGraphHopper(GraphHopperBundle.java:263) at com.graphhopper.http.GraphHopperBundle.run(GraphHopperBundle.java:204) at com.graphhopper.http.GraphHopperBundle.run(GraphHopperBundle.java:64) at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:200) at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42) at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:87) at io.dropwizard.cli.Cli.run(Cli.java:78) at io.dropwizard.Application.run(Application.java:93) at com.graphhopper.http.GraphHopperApplication.main(GraphHopperApplication.java:33)
So I checked if it could come from my java version. I have 1.8.0_181 (on the first machine I tested it) and 1.8.0.131 (on the other machine I tested it). I also try to do it on an other machine but I got the same error. I also went through the code to see if I may find a way to correct this but I didn’t find out where does it could come from.
I don’t know if it’s the appropriate place to ask for this kind of help but is this a known error and where could it come from ? What can I do to correct this ?
Thank you a lot in advance for your help,
Best Regards
Arnaud Boissaye