{"action":"closed","issue":{"url":"https://api.github.com/repos/wequick/Small/issues/60","repository_url":"https://api.github.com/repos/wequick/Small","labels_url":"https://api.github.com/repos/wequick/Small/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/wequick/Small/issues/60/comments","events_url":"https://api.github.com/repos/wequick/Small/issues/60/events","html_url":"https://github.com/wequick/Small/issues/60","id":140848444,"number":60,"title":"调用其它应用报空指针异常，比如调用系统联系人选择界面。","user":{"login":"drogen1018","id":4200311,"avatar_url":"https://avatars.githubusercontent.com/u/4200311?v=3","gravatar_id":"","url":"https://api.github.com/users/drogen1018","html_url":"https://github.com/drogen1018","followers_url":"https://api.github.com/users/drogen1018/followers","following_url":"https://api.github.com/users/drogen1018/following{/other_user}","gists_url":"https://api.github.com/users/drogen1018/gists{/gist_id}","starred_url":"https://api.github.com/users/drogen1018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drogen1018/subscriptions","organizations_url":"https://api.github.com/users/drogen1018/orgs","repos_url":"https://api.github.com/users/drogen1018/repos","events_url":"https://api.github.com/users/drogen1018/events{/privacy}","received_events_url":"https://api.github.com/users/drogen1018/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-15T01:58:55Z","updated_at":"2016-03-19T14:19:11Z","closed_at":"2016-03-19T14:19:11Z","body":"code：\r\nIntent intent = new Intent(Intent.ACTION_PICK,android.provider.ContactsContract.Contacts.CONTENT_URI);\r\nstartActivityForResult(intent, 1);\r\nLog:\r\n                                                   java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.mysmall/net.wequick.small.A}: java.lang.NullPointerException\r\n                                                       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2190)\r\n                                                       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2250)\r\n                                                       at android.app.ActivityThread.access$800(ActivityThread.java:139)\r\n                                                       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1200)\r\n                                                       at android.os.Handler.dispatchMessage(Handler.java:102)\r\n                                                       at android.os.Looper.loop(Looper.java:136)\r\n                                                       at android.app.ActivityThread.main(ActivityThread.java:5049)\r\n                                                       at java.lang.reflect.Method.invokeNative(Native Method)\r\n                                                       at java.lang.reflect.Method.invoke(Method.java:515)\r\n                                                       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:818)\r\n                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)\r\n                                                       at dalvik.system.NativeStart.main(Native Method)\r\n                                                    Caused by: java.lang.NullPointerException\r\n                                                       at net.wequick.small.ApkBundleLauncher$InstrumentationWrapper.wrapIntent(ApkBundleLauncher.java:178)\r\n                                                       at net.wequick.small.ApkBundleLauncher$InstrumentationWrapper.execStartActivity(ApkBundleLauncher.java:98)\r\n                                                       at android.app.Activity.startActivityForResult(Activity.java:3479)\r\n                                                       at android.app.Activity.startActivityForResult(Activity.java:3440)\r\n                                                       at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:784)\r\n                                                       at com.example.mysmall.app.main.MainActivity.onCreate(MainActivity.java:18)\r\n                                                       at android.app.Activity.performCreate(Activity.java:5293)\r\n                                                       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)\r\n                                                       at net.wequick.small.ApkBundleLauncher$InstrumentationWrapper.callActivityOnCreate(ApkBundleLauncher.java:148)\r\n                                                       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2154)\r\n                                                       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2250)?\r\n                                                       at android.app.ActivityThread.access$800(ActivityThread.java:139)?\r\n                                                       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1200)?\r\n                                                       at android.os.Handler.dispatchMessage(Handler.java:102)?\r\n                                                       at android.os.Looper.loop(Looper.java:136)?\r\n                                                       at android.app.ActivityThread.main(ActivityThread.java:5049)?\r\n                                                       at java.lang.reflect.Method.invokeNative(Native Method)?\r\n                                                       at java.lang.reflect.Method.invoke(Method.java:515)?\r\n                                                       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:818)?\r\n                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)?\r\n                                                       at dalvik.system.NativeStart.main(Native Method)?"}}