Skip to content

PhoneToSender - ACS ACR122 - ArrayIndexOutOfBoundsException and error code 0x63 0x00 #3

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. With ACR122 NFC Reader connected, launch NdefReaderDemo 
2. I don't have Nexus S or tag near the reader

What is the expected output? What do you see instead?
Exception in thread "Timer-0" java.lang.ArrayIndexOutOfBoundsException
instead of Tag reading ... 

What version of the product are you using? On what operating system?
- ACR122 NFC Reader driver 1.1.6.3
- Windows 7 x64

Please provide any additional information below.
The error code is : 0x63 0x00

Debug output : 
Get factory
Get terminals
Terminal name: ACS ACR122 0
card: PC/SC card in ACS ACR122 0, protocol T=0, state OK
Protocol:T=0
Called Procedure to Receive data .. INITIATOR MODE
[DEBUG] {sending   [23 bytes]} 0xFF 0x00 0x00 0x00 0x12 0xD4 0x56 0x01 0x02 
0x04 0x46 0x66 0x6D 0x01 0x01 0x10 0x03 0x02 0x00 0x01 0x04 0x01 0x96 
[DEBUG] {receiving [2 bytes]} 0x63 0x00 
[DEBUG] {sending   [8 bytes]} 0xFF 0x00 0x00 0x00 0x03 0xD4 0x52 0x01 
[DEBUG] {receiving [2 bytes]} 0x63 0x00 
Exception in thread "Timer-0" java.lang.ArrayIndexOutOfBoundsException
       at fr.mycompany.nfc.Util.appendToByteArray(Util.java:98)
       at fr.mycompany.nfc.Util.subByteArray(Util.java:119)
       at fr.mycompany.nfc.IsmbSnepConnection.transceive(IsmbSnepConnection.java:140)
       at fr.mycompany.nfc.IsmbSnepConnection.close(IsmbSnepConnection.java:88)
       at fr.mycompany.nfc.PhoneToSender$ThreadSender.run(PhoneToSender.java:107)
       at fr.mycompany.nfc.PhoneToSender$InitiatorTask.run(PhoneToSender.java:74)
       at java.util.TimerThread.mainLoop(Timer.java:555)
       at java.util.TimerThread.run(Timer.java:505)

Original issue reported on code.google.com by spawnrider on 12 Oct 2012 at 2:55

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions