Phoenix: Exceptions lassen Crawler nicht beenden
Created by: pidoubleyou
Wenn im Phönix-Crawler Exceptions auftreten, führt das dazu, dass der ForkJoinPool nicht sauber beendet wird.
Auszug aus Log:
. PHÖNIX shutdown pool... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! com.google.gson.JsonSyntaxException: com.google.gson.JsonSyntaxException: com.google.gson.JsonSyntaxException: com.google.gson.JsonSyntaxException: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unexpected value at line 17 column 15 path $.absaetze[0].basename at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:593) at java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:677) at java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:720) at java.util.concurrent.ForkJoinPool.invoke(ForkJoinPool.java:2616) at mServer.crawler.sender.phoenix.PhoenixCrawler.addToList(PhoenixCrawler.java:45) at mServer.crawler.sender.MediathekReader.run(MediathekReader.java:194) at java.lang.Thread.run(Thread.java:748) Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unexpected value at line 17 column 15 path $.absaetze[0].basename at com.google.gson.internal.Streams.parse(Streams.java:60) at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:65) at com.google.gson.Gson.fromJson(Gson.java:887) at com.google.gson.Gson.fromJson(Gson.java:852) at com.google.gson.Gson.fromJson(Gson.java:801) at mServer.crawler.sender.phoenix.tasks.ZdfTaskBase.deserializeOptional(ZdfTaskBase.java:40) at mServer.crawler.sender.phoenix.tasks.PhoenixFilmDetailTask.processRestTarget(PhoenixFilmDetailTask.java:66)
Prüfen, ob das Problem auch in Develop auftritt und bei Bedarf Übernahme in Develop.