[Photon] install on windows
Christoph Lingg
christoph at lingg.eu
Fri Oct 31 22:46:58 UTC 2014
> java version "1.7.0_51"
> Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
> Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
still same log output?
> Error message:
> Exception in thread "main" java.lang.IllegalArgumentException: URI has an authority component
> at java.io.File.<init>(File.java:423) at de.komoot.photon.importer.elasticsearch.Server.setupDirectories(Server.java:108)
> at de.komoot.photon.importer.elasticsearch.Server.<init>(Server.java:43)
> at de.komoot.photon.importer.App.main(App.java:63)
Strange an IllegalArgumentException is thrown, but the code expects a MalformedURLException. I do not have a windows computer (nor have i written that code), but I assume the exception catching is not right.
https://github.com/komoot/photon/blob/master/src/main/java/de/komoot/photon/importer/elasticsearch/Server.java#L50 <https://github.com/komoot/photon/blob/master/src/main/java/de/komoot/photon/importer/elasticsearch/Server.java#L50>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/photon/attachments/20141031/79bc1992/attachment.html>
More information about the Photon
mailing list