Hi everyone.
Last night i`ve got latest "planet-latest.osm.pbf" and tried to compile files for railroads but got next error:
java -d64 -Xmx16g -XX:+UseG1GC -server -jar graphhopper-web-0.3-with-rail.jar jetty.port=9999 jetty.resourcebase=webapp config=rail.properties osmreader.osm=planet-latest.osm.pbf
Ive tried to do the same at friday and it works well, but now i got the message. Also i
ve tried to restart "osmupdate" but this doesn`t help.
Any ideas why i got this message?
Thanks in advance guys.
Jul 13, 2015 4:33:27 PM com.google.inject.internal.MessageProcessor visit
**INFO: An exception was caught and reported. Message: java.lang.IllegalArgumentException: Not a GraphHopper file! Expected 'GH' as file marker but was**
java.lang.IllegalStateException: Couldn't load graph
at com.graphhopper.http.DefaultModule.configure(DefaultModule.java:60)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.AbstractModule.install(AbstractModule.java:118)
at com.graphhopper.http.GHServer$1.configure(GHServer.java:111)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.spi.Elements.getElements(Elements.java:101)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)
at com.google.inject.Guice.createInjector(Guice.java:95)
at com.google.inject.Guice.createInjector(Guice.java:72)
at com.google.inject.Guice.createInjector(Guice.java:62)
at com.graphhopper.http.GHServer.start(GHServer.java:61)
at com.graphhopper.http.GHServer.main(GHServer.java:47)
Caused by: java.lang.IllegalArgumentException: Not a GraphHopper file! Expected 'GH' as file marker but was
at com.graphhopper.storage.AbstractDataAccess.readHeader(AbstractDataAccess.java:118)
at com.graphhopper.storage.MMapDataAccess.loadExisting(MMapDataAccess.java:236)
at com.graphhopper.storage.SynchedDAWrapper.loadExisting(SynchedDAWrapper.java:141)
at com.graphhopper.storage.GraphHopperStorage.loadExisting(GraphHopperStorage.java:1355)
at com.graphhopper.GraphHopper.load(GraphHopper.java:679)
at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:557)
at com.graphhopper.http.DefaultModule.configure(DefaultModule.java:47)
... 14 more
**Exception in thread "main" com.google.inject.CreationException: Guice creation errors:**
1) An exception was caught and reported. Message: Couldn't load graph
at com.graphhopper.http.GHServer$1.configure(GHServer.java:111)
2) Explicit bindings are required and com.graphhopper.GraphHopper is not explicitly bound.
while locating com.graphhopper.GraphHopper
for field at com.graphhopper.http.GraphHopperServlet.hopper(GraphHopperServlet.java:45)
at com.graphhopper.http.GHServletModule.configureServlets(GHServletModule.java:60)
3) Explicit bindings are required and com.graphhopper.util.TranslationMap is not explicitly bound.
while locating com.graphhopper.util.TranslationMap
for field at com.graphhopper.http.I18NServlet.map(I18NServlet.java:35)
at com.graphhopper.http.GHServletModule.configureServlets(GHServletModule.java:54)
4) Explicit bindings are required and com.graphhopper.GraphHopper is not explicitly bound.
while locating com.graphhopper.GraphHopper
for field at com.graphhopper.http.InfoServlet.hopper(InfoServlet.java:39)
at com.graphhopper.http.GHServletModule.configureServlets(GHServletModule.java:57)
**4 errors**
at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435)
at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)
at com.google.inject.Guice.createInjector(Guice.java:95)
at com.google.inject.Guice.createInjector(Guice.java:72)
at com.google.inject.Guice.createInjector(Guice.java:62)
at com.graphhopper.http.GHServer.start(GHServer.java:61)
at com.graphhopper.http.GHServer.main(GHServer.java:47)
Caused by: java.lang.IllegalStateException: Couldn't load graph
at com.graphhopper.http.DefaultModule.configure(DefaultModule.java:60)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.AbstractModule.install(AbstractModule.java:118)
at com.graphhopper.http.GHServer$1.configure(GHServer.java:111)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.spi.Elements.getElements(Elements.java:101)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)
... 5 more
Caused by: java.lang.IllegalArgumentException: Not a GraphHopper file! Expected 'GH' as file marker but was
at com.graphhopper.storage.AbstractDataAccess.readHeader(AbstractDataAccess.java:118)
at com.graphhopper.storage.MMapDataAccess.loadExisting(MMapDataAccess.java:236)
at com.graphhopper.storage.SynchedDAWrapper.loadExisting(SynchedDAWrapper.java:141)
at com.graphhopper.storage.GraphHopperStorage.loadExisting(GraphHopperStorage.java:1355)
at com.graphhopper.GraphHopper.load(GraphHopper.java:679)
at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:557)
at com.graphhopper.http.DefaultModule.configure(DefaultModule.java:47)
**... 14 more**
**ubuntu@ip-172:/gh/generator$ java -version**
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
asked
13 Jul '15, 17:49
Andrey Logicov
11●1●1●3
accept rate:
0%
In case you do not get an answer here, you could try the graphhopper mailing list