{"action":"created","issue":{"url":"https://api.github.com/repos/pkern/kitcard-reader/issues/5","labels_url":"https://api.github.com/repos/pkern/kitcard-reader/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/pkern/kitcard-reader/issues/5/comments","events_url":"https://api.github.com/repos/pkern/kitcard-reader/issues/5/events","html_url":"https://github.com/pkern/kitcard-reader/issues/5","id":59620707,"number":5,"title":"Crashes with IndexOutOfBoundsException on reading.","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pkern/kitcard-reader/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/pkern/kitcard-reader/labels/Milestone-Release1.0","name":"Milestone-Release1.0","color":"ededed"},{"url":"https://api.github.com/repos/pkern/kitcard-reader/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/pkern/kitcard-reader/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-03T10:13:34Z","updated_at":"2015-03-03T10:13:34Z","closed_at":"2015-03-03T10:13:34Z","body":"```\nWhat steps will reproduce the problem?\n1. Touch the card to my phone (running or not).\n\nWhat is the expected output? What do you see instead?\nI expect it to show my balance, instead it crashes :)\n\nWhat version of the product are you using? On what operating system?\nGalaxy Nexus phone, \"Incremental Version\": 398337\n\n\nPlease provide any additional information below.\nI've sent an error report from within android, I assume you can see that \nsomewhere, so I'll not go into details and copy-paste the stacktrace in here \n:). If you need any more details, reach out to me.\n```\n\nOriginal issue reported on code.google.com by `ps.si...@gmail.com` on 13 Sep 2012 at 3:03"},"comment":{"url":"https://api.github.com/repos/pkern/kitcard-reader/issues/comments/76919320","html_url":"https://github.com/pkern/kitcard-reader/issues/5#issuecomment-76919320","issue_url":"https://api.github.com/repos/pkern/kitcard-reader/issues/5","id":76919320,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T10:13:34Z","updated_at":"2015-03-03T10:13:34Z","body":"```\nCaused by: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0\nat java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251)\nat java.util.ArrayList.get(ArrayList.java:304)\nat de.Ox539.kitcard.reader.Wallet.readCard(Wallet.java:55)\nat de.Ox539.kitcard.reader.ReadCardTask.doInBackground(ReadCardTask.java:36)\nat de.Ox539.kitcard.reader.ReadCardTask.doInBackground(ReadCardTask.java:1)\nat android.os.AsyncTask$2.call(AsyncTask.java:287)\nat java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)\n... 5 more\n\nI already suspected that from your description. It does mean that it did not \nfind a data sector on the card that matches the vendor ID that's typically used \nby the wallet.\n\nIf you have a few minutes, I'd appreciate if you could install NFC TagInfo and \nlook at the application directory of the card. Does the AID 8917 show up at \nall? Which AID does sector 6 have? (That's the place where the wallet is \nusually stored.)\n```\n\nOriginal comment by `philipp.kern` on 13 Sep 2012 at 3:44"}}