fix NPE in CheckMethodAdapter

1 job for fix_npe_in_CheckMethodAdapter in 5 minutes and 25 seconds