Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

non-static method isActive() cannot be referenced from a static context

JavaCard Applet Development Related Questions and Answers.
shameem
Posts: 7
Joined: Sat May 05, 2018 1:26 am
Points :162
Location: bangalore
Contact:

non-static method isActive() cannot be referenced from a static context

Post by shameem » Sat Aug 18, 2018 8:41 am

Hi, good evening everyone
Actually i am facing a problem with this code

public void checkCdCvm(){
if(isCdcvmType() ==true){
if(CVM.isActive()){
// GP API CDCVM Validation
} else {
// CVM Flow 2
}
} else {
// TODO CVM flow 2 step B
}
}

that is : non-static method isActive() cannot be referenced from a static context

Thanks in Advance
Shameem Ahamad

happy123654
Posts: 35
Joined: Wed Jun 20, 2018 4:06 am
Points :218
Contact:

Re: non-static method isActive() cannot be referenced from a static context

Post by happy123654 » Thu Aug 30, 2018 6:22 am

I think that you should build an instance object for CVM.

happy123654
Posts: 35
Joined: Wed Jun 20, 2018 4:06 am
Points :218
Contact:

Re: non-static method isActive() cannot be referenced from a static context

Post by happy123654 » Thu Aug 30, 2018 6:22 am

I think that you should build an instance object for CVM.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 35 guests

JavaCard OS : Disclaimer