java.lang.IllegalArgumentException

apdu must be at least 2 bytes long

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web11771

  • apdu must be at least 2 bytes long
  • via codegur.net by Unknown author, 1 year ago
    apdu must be at least 2 bytes long
  • via Stack Overflow by Krystian
    , 1 year ago
    apdu must be at least 2 bytes long
  • 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 net.sourceforge.scuba.smartcards.TerminalCardService.transmit(Unknown Source) at org.jmrtd.PassportApduService.transmit(PassportApduService.java:152) at org.jmrtd.PassportApduService.sendMutualAuth(PassportApduService.java:479) at org.jmrtd.PassportService.doBAC(PassportService.java:337) at org.jmrtd.PassportService.doBAC(PassportService.java:311) at org.jmrtd.Passport.<init>(Passport.java:220) at testing.Testing.Test_01(Testing.java:84) at testing.Testing.main(Testing.java:207)

    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

    You’re the first here who have seen this exception.