com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input at [Source: [B@5524cca1; line: 1, column: 1]

GitHub | rakeshkeerthi | 2 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    Getting Exception while running Rekognition sample

    GitHub | 2 months ago | rakeshkeerthi
    com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input at [Source: [B@5524cca1; line: 1, column: 1]
  2. 0

    Problems trying to invoke the Rekognition API from Java SDK

    GitHub | 3 months ago | kiiadi
    com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: [B@4b013c76; line: 1, column: 2]
  3. 0

    JSON parse error while handling error response

    GitHub | 6 months ago | mwm-twx
    com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: [B@239a4a9e; line: 1, column: 2]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug 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.
  6. 0
    samebug 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"
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.databind.JsonMappingException

    No content to map due to end-of-input at [Source: [B@5524cca1; line: 1, column: 1]

    at com.fasterxml.jackson.databind.JsonMappingException.from()
  2. Jackson
    ObjectMapper.readTree
    1. com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
    2. com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3781)
    3. com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3721)
    4. com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2294)
    4 frames
  3. com.amazonaws.protocol
    JsonContent.createJsonContent
    1. com.amazonaws.protocol.json.JsonContent.parseJsonContent(JsonContent.java:72)
    2. com.amazonaws.protocol.json.JsonContent.<init>(JsonContent.java:64)
    3. com.amazonaws.protocol.json.JsonContent.createJsonContent(JsonContent.java:54)
    3 frames
  4. AWS SDK for Java - Core
    AmazonHttpClient.execute
    1. com.amazonaws.http.JsonErrorResponseHandler.handle(JsonErrorResponseHandler.java:61)
    2. com.amazonaws.http.JsonErrorResponseHandler.handle(JsonErrorResponseHandler.java:33)
    3. com.amazonaws.http.AwsErrorResponseHandler.handleAse(AwsErrorResponseHandler.java:50)
    4. com.amazonaws.http.AwsErrorResponseHandler.handle(AwsErrorResponseHandler.java:38)
    5. com.amazonaws.http.AwsErrorResponseHandler.handle(AwsErrorResponseHandler.java:24)
    6. com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1568)
    7. com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1254)
    8. com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1035)
    9. com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:747)
    10. com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:721)
    11. com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:704)
    12. com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:672)
    13. com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:654)
    14. com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:518)
    14 frames
  5. com.amazonaws.services
    AmazonRekognitionClient.detectLabels
    1. com.amazonaws.services.rekognition.AmazonRekognitionClient.doInvoke(AmazonRekognitionClient.java:1131)
    2. com.amazonaws.services.rekognition.AmazonRekognitionClient.invoke(AmazonRekognitionClient.java:1107)
    3. com.amazonaws.services.rekognition.AmazonRekognitionClient.detectLabels(AmazonRekognitionClient.java:708)
    3 frames
  6. Unknown
    DetectLabelsExample.main
    1. DetectLabelsExample.main(DetectLabelsExample.java:33)
    1 frame