paulkavule / seek-for-android

Automatically exported from code.google.com/p/seek-for-android
0 stars 0 forks source link

Exception thrown when opening basic channel with null AID #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I followed the basic steps in the wiki for creating an Addon Terminal and 
tested it by running the OpenMobileApiSample application.  It correctly found 
the new terminal but an exception was thrown calling 
session.openBasicChannel(null).  

It appears that the service is trying to enableAccessConditions which results 
in a comparison to a literal value of 0x9000 (SELECT AID) in 
AccessControlApplet.  

What steps will reproduce the problem?
1. Build the SamplePluginTerminal (DummyTerminal) and install on device 
2. Install and run OpenMobileApiSample

What is the expected output? 
Expected to see the hard-code dummy response from the sample terminal.

What do you see instead? 
The following output appeared in the sample terminal:

OpenBasicChannel
Exception: java.lang.SecurityException: java.security.AccessControlException: 
AID not found

What version of the product are you using? On what operating system?
Seek version: 2.3.2
Android version: Gingerbread 2.3.2 (custom build for custom device)

Original issue reported on code.google.com by dmeb1...@gmail.com on 7 Mar 2012 at 11:45

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Extend SampleAddonTerminal code to support access control, 
NoSuchElementException

Original comment by Daniel.A...@gi-de.com on 16 May 2012 at 9:56

GoogleCodeExporter commented 9 years ago
DummyTerminal.java: 
internalOpenLogicalChannel(aid) now throws NoSuchElementException if selection 
of ACA is attempted.

Original comment by curd.wal...@gi-de.com on 22 May 2012 at 10:26

GoogleCodeExporter commented 9 years ago
setting old issues from fixed to done

Original comment by Daniel.A...@gi-de.com on 5 Jul 2013 at 2:33