java.lang.IllegalArgumentException

apdu must be at least 2 bytes long

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web9

  • via Unknown by Unknown author,
  • via jmrtd by *anonymous
    ,
  • Stack trace

    • java.lang.IllegalArgumentException: apdu must be at least 2 bytes long at javax.smartcardio.ResponseAPDU.check(Unknown Source) at javax.smartcardio.ResponseAPDU.<init>(Unknown Source) at sun.security.smartcardio.ChannelImpl.transmit(Unknown Source) at it.ismb.snep.IsmbSnepConnectionTarget.transceive(IsmbSnepConnectionTarget.java:113) at it.ismb.snep.IsmbSnepConnectionTarget.sendingProcedure(IsmbSnepConnectionTarget.java:160) at it.ismb.snep.NfcReader.<init>(NfcReader.java:76) at it.ismb.snep.NfcReader.main(NfcReader.java:39)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.