This sounds weird, I know.
I am developing an Android app using NFC, the app reads a tag from a samrtcard using IsoDep APDU commands, everything usually works but sometimes it fails, and keep on failing in the followed executions, when it fails it occurs when connecting the tag, the tag has its "mConnectedValue = -1", which means no technology connected but the followed code is executed
card = IsoDep.get(tag);
card.setTimeout(20000);
card.connect();
connect() throws ans excepcion, the exception is catch by this code:
} catch (IOException e) {
...
}
If "e" is inspected with eclipse shows e=null, but the code inside the catch is executed, anyone can explain why e=null? The code above is inside a loop, and followed executions keep on returning that "exception" e=null.
Thank you very much!