java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference

Stack Overflow | Raylen Moore | 4 months ago
  1. 0

    AWS S3 returnedMetadata getETag return null

    Stack Overflow | 4 months ago | Raylen Moore
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    ANAND Gupta - Google+

    google.com | 8 months ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
  4. 0

    DatePickerDialog NullPointerException

    GitHub | 1 year ago | don11995
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference

    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. java.lang.NullPointerException

      Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference

      at com.amazonaws.util.BinaryUtils.fromHex()
    2. AWS SDK for Java - Core
      BinaryUtils.fromHex
      1. com.amazonaws.util.BinaryUtils.fromHex(BinaryUtils.java:59)
      1 frame
    3. AWS Java SDK for Amazon S3
      AmazonS3Client.putObject
      1. com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1724)
      1 frame
    4. com.amazonaws.mobileconnectors
      UploadTask.call
      1. com.amazonaws.mobileconnectors.s3.transferutility.UploadTask.uploadSinglePartAndWaitForCompletion(UploadTask.java:203)
      2. com.amazonaws.mobileconnectors.s3.transferutility.UploadTask.call(UploadTask.java:85)
      3. com.amazonaws.mobileconnectors.s3.transferutility.UploadTask.call(UploadTask.java:44)
      3 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      4. java.lang.Thread.run(Thread.java:818)
      4 frames