java.lang.IllegalArgumentException: string length should be an even number

flomio.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    FloBLE+ Android: Send APDU and read response - Flomio

    flomio.com | 7 months ago
    java.lang.IllegalArgumentException: string length should be an even number

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      string length should be an even number

      at com.flomio.android.sdk.Utils.hexString2Bytes()
    2. com.flomio.android
      ReaderManager$14$1.run
      1. com.flomio.android.sdk.Utils.hexString2Bytes(SourceFile:123)
      2. com.flomio.android.sdk.ReaderManager$14$1.run(SourceFile:589)
      2 frames
    3. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:730)
      2. android.os.Handler.dispatchMessage(Handler.java:92)
      3. android.os.Looper.loop(Looper.java:176)
      4. android.app.ActivityThread.main(ActivityThread.java:5419)
      4 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:525)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame