java.io.IOError: java.io.IOException: Wrong index checksum, store was not closed properly and could be corrupted

Hi Team,

I am working on Routing with GTFS.
When I am running below command :
java -Xmx8g -Xms8g -Dgraphhopper.datareader.file=brandenburg-latest.osm.pbf -Dgraphhopper.gtfs.file=gtfs-vbb.zip -Dgraphhopper.graph.flag_encoders=pt -Dgraphhopper.prepare.ch.weightings=no -Dgraphhopper.graph.location=./graph-cache -jar web/target/graphhopper-web-1.0-SNAPSHOT.jar server config.yml

Getting error in CLI ::
java.io.IOError: java.io.IOException: Wrong index checksum, store was not closed properly and could be corrupted.
at org.mapdb.StoreDirect.checkHeaders(StoreDirect.java:269)
at org.mapdb.StoreDirect.(StoreDirect.java:207)
at org.mapdb.DBMaker.extendStoreDirect(DBMaker.java:971)
at org.mapdb.DBMaker.makeEngine(DBMaker.java:758)
at org.mapdb.DBMaker.make(DBMaker.java:701)
at com.graphhopper.reader.gtfs.GtfsStorage.loadExisting(GtfsStorage.java:134)
at com.graphhopper.reader.gtfs.GtfsStorage.createOrLoad(GtfsStorage.java:117)
at com.graphhopper.http.GraphHopperBundle.runPtGraphHopper(GraphHopperBundle.java:197)
at com.graphhopper.http.GraphHopperBundle.run(GraphHopperBundle.java:189)
at com.graphhopper.http.GraphHopperBundle.run(GraphHopperBundle.java:62)
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:36)
Caused by: java.io.IOException: Wrong index checksum, store was not closed properly and could be corrupted.

Please help me to resolve this issue asap. Thanks in Advance.

Regards,
Smart Transit Team

Delete the graph-cache before re-run, this will resolve issue.