java.lang.IllegalArgumentException: Input is expected to be encoded in multiple of 4 bytes but found: 381

GitHub | markrebhan | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 1

    GitHub comment 182#239828947

    GitHub | 8 months ago | markrebhan
    java.lang.IllegalArgumentException: Input is expected to be encoded in multiple of 4 bytes but found: 381
  2. 0

    SSECustomerKey using AES-265 bit only support ASCII characters

    GitHub | 3 months ago | pat-humphreys
    java.lang.IllegalArgumentException: Input is expected to be encoded in multiple of 4 bytes but found: 43

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Input is expected to be encoded in multiple of 4 bytes but found: 381

      at com.amazonaws.util.Base64Codec.decode()
    2. AWS SDK for Java - Core
      Base64.decode
      1. com.amazonaws.util.Base64Codec.decode(Base64Codec.java:197)
      2. com.amazonaws.util.Base64.decode(Base64.java:54)
      2 frames
    3. AWS SDK for Android
      AbstractKinesisRecorder.submitAllRecords
      1. com.amazonaws.mobileconnectors.kinesis.kinesisrecorder.FileRecordParser.parse(FileRecordParser.java:45)
      2. com.amazonaws.mobileconnectors.kinesis.kinesisrecorder.AbstractKinesisRecorder.nextBatch(AbstractKinesisRecorder.java:204)
      3. com.amazonaws.mobileconnectors.kinesis.kinesisrecorder.AbstractKinesisRecorder.submitAllRecords(AbstractKinesisRecorder.java:125)
      3 frames