javax.json.JsonException

I/O error while parsing JSON

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • via GitHub by floscher
    , 10 months ago
    I/O error while parsing JSON
  • via GitHub by abhisheksaikia
    , 10 months ago
    I/O error while parsing JSON
  • Cannot read JSON object, found JSON array
  • Stack trace

    • javax.json.JsonException: I/O error while parsing JSON at org.glassfish.json.JsonTokenizer.read(JsonTokenizer.java:444) at org.glassfish.json.JsonTokenizer.readNumberChar(JsonTokenizer.java:243) at org.glassfish.json.JsonTokenizer.readNumber(JsonTokenizer.java:272) at org.glassfish.json.JsonTokenizer.nextToken(JsonTokenizer.java:410) at org.glassfish.json.JsonParserImpl$ArrayContext.getNextEvent(JsonParserImpl.java:303) at org.glassfish.json.JsonParserImpl$StateIterator.next(JsonParserImpl.java:172) at org.glassfish.json.JsonParserImpl.next(JsonParserImpl.java:149) at org.glassfish.json.JsonReaderImpl.readArray(JsonReaderImpl.java:136) at org.glassfish.json.JsonReaderImpl.readArray(JsonReaderImpl.java:139) at org.glassfish.json.JsonReaderImpl.readObject(JsonReaderImpl.java:180) at org.glassfish.json.JsonReaderImpl.readArray(JsonReaderImpl.java:143) at org.glassfish.json.JsonReaderImpl.readObject(JsonReaderImpl.java:180) at org.glassfish.json.JsonReaderImpl.readObject(JsonReaderImpl.java:103) at org.openstreetmap.josm.plugins.mapillary.io.download.MapillarySequenceDownloadThread.run(MapillarySequenceDownloadThread.java:59) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: javax.net.ssl.SSLException: SSL peer shut down incorrectly at sun.security.ssl.InputRecord.readV3Record(InputRecord.java:596) at sun.security.ssl.InputRecord.read(InputRecord.java:532) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930) at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) at sun.net.www.http.ChunkedInputStream.fastRead(ChunkedInputStream.java:244) at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:689) at java.io.FilterInputStream.read(FilterInputStream.java:133) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3336) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) at java.io.InputStreamReader.read(InputStreamReader.java:184) at java.io.BufferedReader.fill(BufferedReader.java:161) at java.io.BufferedReader.read1(BufferedReader.java:212) at java.io.BufferedReader.read(BufferedReader.java:286) at org.glassfish.json.JsonTokenizer.fillBuf(JsonTokenizer.java:473) at org.glassfish.json.JsonTokenizer.read(JsonTokenizer.java:434) ... 16 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    16 more bugmates