ObjectMapper.readValue() has thrown a JsonParseException

com.fasterxml.jackson.core.JsonParseException
Javadoc
at com.fasterxml.jackson.core.JsonParser._constructError
(source)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError
(source)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar
(source)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue
(source)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken
(source)
at com.fasterxml.jackson.databind.ObjectMapper._initForReading
(source)
at com.fasterxml.jackson.databind.ObjectMapper._readValue
(source)
at com.fasterxml.jackson.databind.ObjectMapper.readValue
(source)
7 frames hidden

Typical Exception Messages

  1. Unexpected character ('Apache Tomcat/7.0.27 - Error report HTTP Status 404 - Checksum deploy failed. No existing file with SHA1: 8f01751c92539b9c262b3607888732a3d6965722 type Status report message Checksum deploy failed. No existing file with SHA1: 8f01751c92539b9c262b3607888732a3d6965722 description The requested resource (Checksum deploy failed. No existing file with SHA1: 8f01751c92539b9c262b3607888732a3d6965722) is not available. Apache Tomcat/7.0.27; line: 1, column: 2]
  2. Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: java.io.StringReader@3d9c358b; line: 7, column: 2]
  3. Unexpected character ('�' (code 65533 / 0xfffd)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: � H2z(·%�UPƖ���޽��+,������z���z�n���3&�8��q P�`�B��k j�75�R�x��sp�+�L�u�:Ћ픥��IDvӜ�Y��r��{V8�S��$���ή ���"���F �)M�`�ՠ��'RQ��T��ǃQ@���W���^��ύغ'�1 ��ꄤ����zPh���|������z�}:'^��>�g�zD{H� ׊M�&SUTv4�� w{�!Uܣ��½mo�S(�#(�)RǺA�Y����E�nO����mw�&���C�0�<�-�Ϗ�k����!�����U򜼣br�� M|�����3Y�6ذG�֕NŤL�NϺ���/%�n��������#,A o��^'�j��(���P�#�F|��q�XT��������уGp5� Y�]@˿��b� ��f3r8%���js6���6�%�u�Sz^�"L7��1O��_�+�A&��LP�ж1K���o�H�do����; line: 1, column: 2]

Origin

ObjectMapper._initForReading() has thrown a JsonParseException

com.fasterxml.jackson.core.JsonParseException
5 frames hidden
com.fasterxml.jackson.databind.ObjectMapper._initForReading
44Web pages

Similar

Specific cases

Solution

poroszd, 1 year ago

The fingerprint generator in Silhouette got wrong parameter so it failed to decode the json from the PLAY_SESSION cookie.

External results for this pattern (2)

  1. leoSeattlevia GitHub1 year ago
    Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: java.io.StringReader@3d9c358b; line: 7, column: 2]
    Show stack trace
  2. MjHvia Stack Overflow1 year ago
    Unexpected character ('Apache Tomcat/7.0.27 - Error report HTTP Status 404 - Checksum deploy failed. No existing file with SHA1: 8f01751c92539b9c262b3607888732a3d6965722 type Status report message Checksum deploy failed. No existing file with SHA1: 8f01751c92539b9c262b3607888732a3d6965722 description The requested resource (Checksum deploy failed. No existing file with SHA1: 8f01751c92539b9c262b3607888732a3d6965722) is not available. Apache Tomcat/7.0.27; line: 1, column: 2]
    Show stack trace