nickda

Update 4.0.9.2 not resolve Scraper Json problem

Recommended Posts

After Update the synch with boards solved but the problem with scraper not solved. 

Thu Jul 26 21:55:33 EEST 2018

#146 Scraper error: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 12 path $
---
exception stacktrace:
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 12 path $
    at com.google.gson.Gson.assertFullConsumption(Gson.java:863)
    at com.google.gson.Gson.fromJson(Gson.java:853)
    at com.google.gson.Gson.fromJson(Gson.java:801)
    at com.google.gson.Gson.fromJson(Gson.java:773)
    at tools.json.JsonConvertor.stringToJson(JsonConvertor.java:24)
    at AI.scraping.Scraper.grabSetModuleHtml(Scraper.java:376)
    at AI.scraping.scrapers.PinScraper_BoardFeedResource.constructUrlAndRef(PinScraper_BoardFeedResource.java:54)
    at AI.scraping.Scraper.run(Scraper.java:119)
    at Runnables.AutopilotRunnable.scrape(AutopilotRunnable.java:121)
    at Runnables.AutopilotRunnable.ScrapeAndProcess(AutopilotRunnable.java:99)
    at Runnables.AutopilotRunnable.__run(AutopilotRunnable.java:69)
    at Runnables.AbortRunnable.run(AbortRunnable.java:64)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 12 path $
    at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559)
    at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401)
    at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542)
    at com.google.gson.stream.JsonReader.peek(JsonReader.java:425)
    at com.google.gson.Gson.assertFullConsumption(Gson.java:859)
    ... 16 more

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now