Aaaahah !! I got it !!!

You didn't allocate your name array ....
try to add something like
    name = new byte[x];
in your install method ...

I found this using simulator and debugging in JBuilder 3.5 ...

See u
J.
----- Original Message -----
From: "Catalin Scintei" <[EMAIL PROTECTED]>
To: "Jean-Fran�ois Grezes" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, May 16, 2001 3:26 PM
Subject: Re: [OCF] is there anyone who succeded in installing their own
applets on the GemXpresso 211 IS cards?r


>
>     It's exactly what I have done.
>     It's true that first time I used the OPPurse to see if it's working
and as I
> said it is. After this I tried with Purse applet, which I couldn't install
for
> the same reason: error 6F 00.
>     After this I decided to develop my own applet after the model of
OPPurse
> applet. The scope that I've given to my applet was one quite similar in
that its
> role was to keep a name and to offer two functions: one to read this name
and
> one to update it. But the rest of the applet it's not bulit after the
model but
> it's really the same code. The only difference is that after compiling the
java
> code, I used the following AIDs:
>               - for the package:
>
0xA0:0x00:0x00:0x00:0x18:0xFF:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x01:0
x04
>               - for the applet:
>
0xA0:0x00:0x00:0x00:0x18:0xFF:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x01:0
x03
>     I have to mention that I used the same CardConvert bat file, with the
> modifications for the folders, as the one given by Gemplus for OPPurse.
>     In JCardManager, I followed the steps as in the Getting Started Guide,
that
> means:
>               - leaving empty the bos for security domain at the load time
(for
> assuming the default security domain of Card Manager)
>               - using the same AID for the instance AID.
>               - using the right AIDs for package and applet as those from
the
> converting time (doubled chacked with the .jca file, which is more clear
for
> this)
>     At the loading time, I don't get any problem, evrything is ok, and I
can see
> the uploaded package after a scan. The problem is at the install step.
Here I
> get only this:
>
> =======================  Install
> CMD: InstallApplication
> -> 80 E6 0C 00 3A 10 A0 00 00 00 18 FF 00 00 00 00 00 00 00 00 01 04 10 A0
00 00
> 00 18 FF 00 00 00 00 00 00 00 00 01 03 10 A0 00 00 00 18 FF 00 00 00 00 00
00 00
> 00 01 03 00 04 C9 02 45 48 00 00
> <- 6F 00
> *** ??? : OP.error.E6.6F00
>
>     If you have time to check, I'm attaching the applet code to this
email, to
> check for possible error.
>     Thank you for the answer!
>



---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to