JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
non-static method isActive() cannot be referenced from a static context
non-static method isActive() cannot be referenced from a static context
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
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
-
- 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
I think that you should build an instance object for CVM.
-
- 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
I think that you should build an instance object for CVM.
Who is online
Users browsing this forum: No registered users and 66 guests