Kotlin开发中遇到的bug

最近在项目中java代码转kotlin代码的时候发生了以下错误,暂未找到解决方法,暂且记录一下

E/MobUncaughtExceptionHandler: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter cookie
                                                                          java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter cookie
                                                                              at ***.AddressBookActivityKt$MyAsyncQueryHandler.onQueryComplete(AddressBookActivityKt.kt)
                                                                              at android.content.AsyncQueryHandler.handleMessage(AsyncQueryHandler.java:344)
                                                                              at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                              at android.os.Looper.loop(Looper.java:148)
                                                                              at android.app.ActivityThread.main(ActivityThread.java:5628)
                                                                              at java.lang.reflect.Method.invoke(Native Method)
                                                                              at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:853)
                                                                              at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:737)

你可能感兴趣的:(思考)