Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. SwaggerCodegen.main() has thrown a JsonParseException
    Unsorted
    0
    9
    0
  2. Malformed JSON data, expected JSON found HTML/XML/Text
    Jackson-core
    69
    240
    21

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'swagger': was expecting ('true', 'false' or 'null') at [Source: bad_example.yaml; line: 1, column: 9]
    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.json.UTF8StreamJsonParser._reportInvalidToken(UTF8StreamJsonParser.java:3201)
    at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleUnexpectedValue(UTF8StreamJsonParser.java:2360)
11 frames hidden

External results for this pattern (10)

  1. Elsa-E4-uservia GitHub3 weeks ago
    Unexpected character ('{' (code 123)): was expecting double-quote to start field name at [Source: (String)"{ "plugins": [{ "maven": { "defaultrepository": "http://central.maven.org/maven2", "groupId": "org.opensourcebim", "artifactId": "binaryserializers" } }, { "maven": { "defaultrepository": "http://central.maven.org/maven2", "groupId": "org.opensourcebim", "artifactId": "ifcopenshellplugin" } }, { "maven": { "defaultrepository": "http://central.maven.org/maven2", "groupId": "org.opensourcebim", "artifactId": "javamodel"[truncated 3230 chars]; line: 133, column: 7]
    Show stack trace
  2. heuermhvia GitHub3 weeks ago
    retrofit.RetrofitError: could not parse feature(s)
    Show stack trace
  3. ShedPlantvia GitHub3 weeks ago
    Non-standard token 'NaN': enable JsonParser.Feature.ALLOW_NON_NUMERIC_NUMBERS to allow at [Source: java.io.InputStreamReader@623a8092; line: 1, column: 171]
    Show stack trace
  4. newguyintownvia GitHub3 weeks ago
    Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r, \n, \t) is allowed between tokens at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@f3ca48b; line: 1, column: 2]
    Show stack trace
  5. andreevlexvia GitHub4 weeks ago
    Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: (StringReader); line: 7, column: 2]
    Show stack trace
  6. kenXengineeringvia GitHub1 month ago
    No message found for this stack trace.
    Show stack trace
  7. Ir1shvia GitHub1 month ago
    Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: [B@4865434e; line: 1, column: 2]
    Show stack trace
  8. mcpiercevia GitHub1 month ago
    Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: [B@c8dec52; line: 1, column: 2]
    Show stack trace
  9. sghaskellvia GitHub1 month ago
    Unexpected character ('-' (code 45)): Expected space separating root-level values at [Source: 2017-04-04T00:04:30.559Z I ACCESS [conn10] Successfully authenticated as principal __system on local; line: 1, column: 7]
    Show stack trace
  10. ashishchandr70via GitHub1 month ago
    failed to parse
    Show stack trace