Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

A problem in GemXpresso RAD 3.2 Kit

843851Jan 28 2004 — edited Jan 28 2004

Hi,

I use the RAD v3.2 and the Jbuilder 6 to develop my applet of Java Card.
Atfter finishing, I use the JBuilder's GemXpresso RAD/converter option to convert my
applet. But, some error happen ... the error output is following:

writing D:\Documents and Settings\swdai\jbproject\MitacDSAM\oncard\GXP211_PK\MitacDSAM\javacard\MitacDSAM.jca
conversion completed with 0 errors and 0 warnings.
--> Converter output : JC2.1 SUN Converter (version 1.0) process is completed
--> Converter output : JCASM program result on card GXP211_PK :
--> Converter output : Java Card 2.1 CAP File Builder (version 1.0)
Copyright (c) 1999 Sun Microsystems, Inc. All rights reserved.
%%% Error %%% Missing static field initializer in field MitacDSAM/IssuerKeyFile/STATION_KEY_PAIR_TYPE declared in file D:\Documents and Settings\swdai\jbproject\MitacDSAM\oncard\GXP211_PK\MitacDSAM\javacard\MitacDSAM.jca at line 362.
%%% Error %%% Missing static field initializer in field MitacDSAM/IssuerKeyFile/APP_KEY_A_TYPE declared in file D:\Documents and Settings\swdai\jbproject\MitacDSAM\oncard\GXP211_PK\MitacDSAM\javacard\MitacDSAM.jca at line 378.
%%% Error %%% Missing static field initializer in field MitacDSAM/IssuerKeyFile/ISSUER_KEY_AB_TYPE declared in file D:\Documents and Settings\swdai\jbproject\MitacDSAM\oncard\GXP211_PK\MitacDSAM\javacard\MitacDSAM.jca at line 382.
%%% Error %%% Missing static field initializer in field MitacDSAM/MitacDSAM/CLA_ISO declared in file D:\Documents and Settings\swdai\jbproject\MitacDSAM\oncard\GXP211_PK\MitacDSAM\javacard\MitacDSAM.jca at line 835.
:
--> Converter output : **********************************************************************
--> Converter output : * WARNING ! Exit Value for JCAsm process = 22
--> Converter output : **********************************************************************
--> Converter output : Converter SAP Converter (version 1.0) Result on card GXP211_PK :
--> Converter output : SAP file : D:\Documents and Settings\swdai\jbproject\MitacDSAM\oncard\GXP211_PK\MitacDSAM\javacard\MitacDSAM.sap done
--> Converter output : SAP Converter (version 1.0) process is completed
:
I have checked my applet source. The error is produced by a constant variable that have a value zero. That is, if I change the value to non-zero, then the converter process would pass. The applet source line is following:

static final short STATION_KEY_PAIR_TYPE = (short)0x00;

but, when I port my applet to another environment that RAD 3.2 with Visual Cafe 4.0, the converter process executes successfully. (I don't change any code and the environment is in the same PC)

I want to know what's going on. and how to fix this problem ??
Please, help me .... > <

York Dai
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2004
Added on Jan 28 2004
1 comment
151 views