org.codehaus.jackson.JsonParseException: Invalid UTF-8 start byte 0x80 at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@79145585; line: 215, column: 354]

Stack Overflow | Padmasankha | 5 months ago
  1. 0

    Trouble getting in a response JSON from Google API with encoding

    Stack Overflow | 5 months ago | Padmasankha
    org.codehaus.jackson.JsonParseException: Invalid UTF-8 start byte 0x80 at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@79145585; line: 215, column: 354]
  2. 0
    Invalid JSON. The problem is in the service that generated the JSON.
  3. 0
    Replace single quotes (') to double ones ("). You should use double quotes in JSON.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Invalid JSON. The problem is in the service that generated the JSON.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.codehaus.jackson.JsonParseException

      Invalid UTF-8 start byte 0x80 at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@79145585; line: 215, column: 354]

      at com.sun.jersey.api.client.ClientResponse.getEntity()
    2. jersey-client
      ClientResponse.getEntity
      1. com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:644)
      2. com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:586)
      2 frames
    3. com.pureratings.load
      loadGoogleKeyByKey.lambda$0
      1. com.pureratings.load.google.loadGoogleKeyByKey.readDealers(loadGoogleKeyByKey.java:152)
      2. com.pureratings.load.google.loadGoogleKeyByKey.lambda$0(loadGoogleKeyByKey.java:83)
      2 frames
    4. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      2 frames