{"action":"created","issue":{"url":"https://api.github.com/repos/CaiJingLong/flutter_photo/issues/1","repository_url":"https://api.github.com/repos/CaiJingLong/flutter_photo","labels_url":"https://api.github.com/repos/CaiJingLong/flutter_photo/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/CaiJingLong/flutter_photo/issues/1/comments","events_url":"https://api.github.com/repos/CaiJingLong/flutter_photo/issues/1/events","html_url":"https://github.com/CaiJingLong/flutter_photo/issues/1","id":368064774,"node_id":"MDU6SXNzdWUzNjgwNjQ3NzQ=","number":1,"title":"你好,用了该类之后用不了simplepermission的类.应该是获取权限返回冲突了.","user":{"login":"kiradan","id":17794713,"node_id":"MDQ6VXNlcjE3Nzk0NzEz","avatar_url":"https://avatars3.githubusercontent.com/u/17794713?v=4","gravatar_id":"","url":"https://api.github.com/users/kiradan","html_url":"https://github.com/kiradan","followers_url":"https://api.github.com/users/kiradan/followers","following_url":"https://api.github.com/users/kiradan/following{/other_user}","gists_url":"https://api.github.com/users/kiradan/gists{/gist_id}","starred_url":"https://api.github.com/users/kiradan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiradan/subscriptions","organizations_url":"https://api.github.com/users/kiradan/orgs","repos_url":"https://api.github.com/users/kiradan/repos","events_url":"https://api.github.com/users/kiradan/events{/privacy}","received_events_url":"https://api.github.com/users/kiradan/received_events","type":"User","site_admin":false},"labels":[{"id":1072604762,"node_id":"MDU6TGFiZWwxMDcyNjA0NzYy","url":"https://api.github.com/repos/CaiJingLong/flutter_photo/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":1084366864,"node_id":"MDU6TGFiZWwxMDg0MzY2ODY0","url":"https://api.github.com/repos/CaiJingLong/flutter_photo/labels/crash","name":"crash","color":"af311d","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-09T06:52:21Z","updated_at":"2018-10-09T09:39:15Z","closed_at":"2018-10-09T09:38:37Z","author_association":"NONE","body":"java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=0, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {com.darry.ring/com.example.flutterapp.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void top.kikt.imagescanner.PermissionsListener.onGranted()' on a null object reference\r\nE/AndroidRuntime(31144): \tat android.app.ActivityThread.deliverResults(ActivityThread.java:4932)\r\nE/AndroidRuntime(31144): \tat android.app.ActivityThread.handleSendResult(ActivityThread.java:4975)\r\nE/AndroidRuntime(31144): \tat android.app.ActivityThread.-wrap20(Unknown Source:0)\r\nE/AndroidRuntime(31144): \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1950)\r\nE/AndroidRuntime(31144): \tat android.os.Handler.dispatchMessage(Handler.java:108)\r\nE/AndroidRuntime(31144): \tat android.os.Looper.loop(Looper.java:166)\r\nE/AndroidRuntime(31144): \tat android.app.ActivityThread.main(ActivityThread.java:7425)\r\nE/AndroidRuntime(31144): \tat java.lang.reflect.Method.invoke(Native Method)\r\nE/AndroidRuntime(31144): \tat com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)\r\nE/AndroidRuntime(31144): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)\r\nE/AndroidRuntime(31144): Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'void top.kikt.imagescanner.PermissionsListener.onGranted()' on a null object reference\r\nE/AndroidRuntime(31144): \tat top.kikt.imagescanner.PermissionsUtils.dealResult(PermissionsUtils.java:204)\r\nE/AndroidRuntime(31144): \tat top.kikt.imagescanner.ImageScannerPlugin$1.onRequestPermissionsResult(ImageScannerPlugin.kt:26)\r\nE/AndroidRuntime(31144): \tat io.flutter.app.FlutterPluginRegistry.onRequestPermissionsResult(FlutterPluginRegistry.java:191)\r\nE/AndroidRuntime(31144): \tat io.flutter.app.FlutterActivityDelegate.onRequestPermissionsResult(FlutterActivityDelegate.java:125)\r\nE/AndroidRuntime(31144): \tat io.flutter.app.FlutterActivity.onRequestPermissionsResult(FlutterActivity.java:133)\r\nE/AndroidRuntime(31144): \tat android.app.Activity.dispatchRequestPermissionsResult(Activity.java:7843)\r\nE/AndroidRuntime(31144): \tat android.app.Activity.dispatchActivityResult(Activity.java:7694)\r\nE/AndroidRuntime(31144): \tat android.app.ActivityThread.deliverResults(ActivityThread.java:4928)\r\nE/AndroidRuntime(31144): \t... 9 more"},"comment":{"url":"https://api.github.com/repos/CaiJingLong/flutter_photo/issues/comments/428127695","html_url":"https://github.com/CaiJingLong/flutter_photo/issues/1#issuecomment-428127695","issue_url":"https://api.github.com/repos/CaiJingLong/flutter_photo/issues/1","id":428127695,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODEyNzY5NQ==","user":{"login":"CaiJingLong","id":14145407,"node_id":"MDQ6VXNlcjE0MTQ1NDA3","avatar_url":"https://avatars0.githubusercontent.com/u/14145407?v=4","gravatar_id":"","url":"https://api.github.com/users/CaiJingLong","html_url":"https://github.com/CaiJingLong","followers_url":"https://api.github.com/users/CaiJingLong/followers","following_url":"https://api.github.com/users/CaiJingLong/following{/other_user}","gists_url":"https://api.github.com/users/CaiJingLong/gists{/gist_id}","starred_url":"https://api.github.com/users/CaiJingLong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaiJingLong/subscriptions","organizations_url":"https://api.github.com/users/CaiJingLong/orgs","repos_url":"https://api.github.com/users/CaiJingLong/repos","events_url":"https://api.github.com/users/CaiJingLong/events{/privacy}","received_events_url":"https://api.github.com/users/CaiJingLong/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T09:39:15Z","updated_at":"2018-10-09T09:39:15Z","author_association":"OWNER","body":"fixed"}}
{"actor":{"display_login":"CaiJingLong"}}