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]

tip

If you're using Java Chronicle it might be a Cleanup problem. Either add @ignore to the test or delete the memory map file and do it again.

tip

If you're using Facebook API, they now use OAuth2, so your URL should contain version number, like this:
facebook.authorizationURL="https://graph.facebook.com/v2.3/oauth/authorize"

tip

You're inputing information in a way the Json Parser can't understand. This page might enlighten you a little: https://goo.gl/g5wrvy


rafael
tip

Check if you forgot to set the "data" field inside your request. If you did set it, check if it's being serialized before sending, and if it's being serialized the right way.

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

  • 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(JsonParser.java:1419) at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:508) at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:437) at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleUnexpectedValue(UTF8StreamJsonParser.java:2363) at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject(UTF8StreamJsonParser.java:794) at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:690) at com.fasterxml.jackson.databind.ObjectReader._initForReading(ObjectReader.java:1346) at com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:1252) at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:864) at org.openstack4j.connectors.httpclient.HttpResponseImpl.readEntity(HttpResponseImpl.java:130) at org.openstack4j.core.transport.functions.ResponseToActionResponse.apply(ResponseToActionResponse.java:26) at org.openstack4j.core.transport.functions.ResponseToActionResponse.apply(ResponseToActionResponse.java:21) at org.openstack4j.openstack.compute.functions.ToActionResponseFunction.apply(ToActionResponseFunction.java:41) at org.openstack4j.openstack.compute.functions.ToActionResponseFunction.apply(ToActionResponseFunction.java:25) at org.openstack4j.openstack.storage.object.internal.ObjectStorageContainerServiceImpl.delete(ObjectStorageContainerServiceImpl.java:106) at com.symantec.os4j.POC.SimpleApp.main(SimpleApp.java:54)

Users with the same issue

Alireza Mohamadi
Alireza Mohamadi4 times, last one,
Unknown visitor1 times, last one,
Unknown visitor1 times, last one,
Axelo
Axelo1 times, last one,
guizmaii
guizmaii4 times, last one,
105 more bugmates