ankitdaf / ismb-snep-java

Automatically exported from code.google.com/p/ismb-snep-java
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
I have same problem... need help...

Original comment by imleihu...@gmail.com on 7 Feb 2013 at 10:28

GoogleCodeExporter commented 8 years ago
I also have same problem.

Original comment by rchha...@xpwallet.com on 20 Feb 2013 at 10:23

GoogleCodeExporter commented 8 years ago
I also have same problem.

Original comment by givem...@gmail.com on 20 Mar 2013 at 2:42

GoogleCodeExporter commented 8 years ago
I also have the same problem

Original comment by sipo4...@gmail.com on 15 May 2014 at 7:36