diff --git a/src/main/java/de/komoot/photon/elasticsearch/Replicatior.java b/src/main/java/de/komoot/photon/elasticsearch/Replicatior.java index 8a30d4b03..9f2a6bb5e 100644 --- a/src/main/java/de/komoot/photon/elasticsearch/Replicatior.java +++ b/src/main/java/de/komoot/photon/elasticsearch/Replicatior.java @@ -99,6 +99,7 @@ public void run() { InputStream in = new BufferedInputStream(new GZIPInputStream(urlConnection.getInputStream())); JsonReader reader = new JsonReader(in); reader.addReader(com.vividsolutions.jts.geom.Point.class, new PointReader()); + List actions = (List) reader.readObject(); int deletions = 0; int updates = 0; @@ -166,7 +167,14 @@ public Point read(Object jOb, Deque> stack, Map