permissions4m icon indicating copy to clipboard operation
permissions4m copied to clipboard

空指针Attempt to invoke interface method 'void com.joker.api.wrapper.AnnotationWrapper$PermissionsProxy.granted(java.lang.Object, int)' on a null object reference

Open xieyang94 opened this issue 6 years ago • 0 comments

在Activity中同样的代码可以,到了Fragment中就报空指针,手机:中兴努比亚Z11

java.lang.NullPointerException: Attempt to invoke interface method 'void com.joker.api.wrapper.AnnotationWrapper$PermissionsProxy.granted(java.lang.Object, int)' on a null object reference at com.joker.api.apply.NormalApplyPermissions.grantedWithAnnotation(NormalApplyPermissions.java:27) at com.joker.api.wrapper.AbstractWrapper.requestPermissionWithAnnotation(AbstractWrapper.java:315) at com.joker.api.wrapper.AbstractWrapper.request(AbstractWrapper.java:203)

xieyang94 avatar Mar 05 '18 08:03 xieyang94