View Single Post
Old 01-24-2012, 06:33 AM   #1 (permalink)
taraspaliy
New Member
 
Join Date: Dec 2011
Model: 9105
PIN: N/A
Carrier: null
Posts: 13
Post Thanks: 2
Thanked 0 Times in 0 Posts
Default ObjectGroupReadOnlyException

Please Login to Remove!

Hi All,
when I'm trying to pick specific smartCard from the list, i get this exception:

Code:
SmartCard[] allSmartCards = SmartCardFactory.getSmartCards();
SmartCard mySmartCard = null;
for (int i = 0; i < allSmartCards.length; i++) {
if("smartCardName".equals(allSmartCards[i].getLabel())
       mySmartCard = allSmartCards[i]; //Here I get this exception
}
using
SmartCard mySmartCard = ObjectGroup.expandGroup(allSmartCards[i]);
doesn't help=(

Please help me, thanks in advance

Last edited by taraspaliy : 01-24-2012 at 06:35 AM. Reason: spelling
Offline   Reply With Quote