com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: org.apache.http.conn.EofSensorInputStream@52fe1ee9; line: 1, column: 2]

GitHub | symcssn | 2 years ago
  1. 0

    EofSensorInputStream throws JsonParseException for 404s. Also, inconsistent behavior of how 404s are handled.

    GitHub | 2 years ago | symcssn
    com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: org.apache.http.conn.EofSensorInputStream@52fe1ee9; line: 1, column: 2]
  2. 0

    GitHub comment 314#95733780

    GitHub | 2 years ago | symcssn
    com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: org.apache.http.conn.EofSensorInputStream@52fe1ee9; line: 1, column: 2]
  3. 0

    Exception thrown when trying to retrieve list of containers

    GitHub | 2 years ago | symcssn
    com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'Detector_Id': was expecting ('true', 'false' or 'null') at [Source: org.apache.http.conn.EofSensorInputStream@47095fd3; line: 1, column: 13]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ERROR: Unrecognized token 'EpointJWeb': was expecting ('true', 'false' or 'null')

    GitHub | 2 years ago | sxjun1904
    com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'EpointJWeb': was expecting ('true', 'false' or 'null') at [Source: org.apache.http.conn.EofSensorInputStream@37d638ad; line: 1, column: 12]
  6. 0

    Exception thrown when trying to retrieve list of containers

    GitHub | 2 years ago | symcssn
    com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'Detector_Id': was expecting ('true', 'false' or 'null') at [Source: org.apache.http.conn.EofSensorInputStream@47095fd3; line: 1, column: 13]
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. com.fasterxml.jackson.core.JsonParseException

    Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: org.apache.http.conn.EofSensorInputStream@52fe1ee9; line: 1, column: 2]

    at com.fasterxml.jackson.core.JsonParser._constructError()
  2. Jackson-core
    UTF8StreamJsonParser.nextToken
    1. com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1419)
    2. com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:508)
    3. com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:437)
    4. com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleUnexpectedValue(UTF8StreamJsonParser.java:2363)
    5. com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject(UTF8StreamJsonParser.java:794)
    6. com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:690)
    6 frames
  3. Jackson
    ObjectReader.readValue
    1. com.fasterxml.jackson.databind.ObjectReader._initForReading(ObjectReader.java:1346)
    2. com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:1252)
    3. com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:864)
    3 frames
  4. org.openstack4j.connectors
    HttpResponseImpl.readEntity
    1. org.openstack4j.connectors.httpclient.HttpResponseImpl.readEntity(HttpResponseImpl.java:130)
    1 frame
  5. OpenStack4j
    ObjectStorageContainerServiceImpl.delete
    1. org.openstack4j.core.transport.functions.ResponseToActionResponse.apply(ResponseToActionResponse.java:26)
    2. org.openstack4j.core.transport.functions.ResponseToActionResponse.apply(ResponseToActionResponse.java:21)
    3. org.openstack4j.openstack.compute.functions.ToActionResponseFunction.apply(ToActionResponseFunction.java:41)
    4. org.openstack4j.openstack.compute.functions.ToActionResponseFunction.apply(ToActionResponseFunction.java:25)
    5. org.openstack4j.openstack.storage.object.internal.ObjectStorageContainerServiceImpl.delete(ObjectStorageContainerServiceImpl.java:106)
    5 frames
  6. com.symantec.os4j
    SimpleApp.main
    1. com.symantec.os4j.POC.SimpleApp.main(SimpleApp.java:54)
    1 frame