non-static method isActive() cannot be referenced from a static context
Posted: 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
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