{"action":"created","issue":{"url":"https://api.github.com/repos/leancloud/leanchat-android/issues/38","labels_url":"https://api.github.com/repos/leancloud/leanchat-android/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/leancloud/leanchat-android/issues/38/comments","events_url":"https://api.github.com/repos/leancloud/leanchat-android/issues/38/events","html_url":"https://github.com/leancloud/leanchat-android/issues/38","id":65386150,"number":38,"title":"首次安装(非覆盖安装)会崩溃","user":{"login":"xzhanglc","id":1072779,"avatar_url":"https://avatars.githubusercontent.com/u/1072779?v=3","gravatar_id":"","url":"https://api.github.com/users/xzhanglc","html_url":"https://github.com/xzhanglc","followers_url":"https://api.github.com/users/xzhanglc/followers","following_url":"https://api.github.com/users/xzhanglc/following{/other_user}","gists_url":"https://api.github.com/users/xzhanglc/gists{/gist_id}","starred_url":"https://api.github.com/users/xzhanglc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xzhanglc/subscriptions","organizations_url":"https://api.github.com/users/xzhanglc/orgs","repos_url":"https://api.github.com/users/xzhanglc/repos","events_url":"https://api.github.com/users/xzhanglc/events{/privacy}","received_events_url":"https://api.github.com/users/xzhanglc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-31T07:27:27Z","updated_at":"2015-04-09T08:49:18Z","closed_at":"2015-04-01T07:49:21Z","body":"getCurrentUser 返回 null 就一直崩下去了\r\nProcess: com.avoscloud.chat, PID: 11560\r\n    java.lang.RuntimeException: Unable to create application com.avoscloud.chat.base.App: java.lang.NullPointerException: current user is null\r\n            at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4521)\r\n            at android.app.ActivityThread.access$1500(ActivityThread.java:144)\r\n            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1339)\r\n            at android.os.Handler.dispatchMessage(Handler.java:102)\r\n            at android.os.Looper.loop(Looper.java:135)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5221)\r\n            at java.lang.reflect.Method.invoke(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:372)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)\r\n     Caused by: java.lang.NullPointerException: current user is null\r\n            at com.avoscloud.chat.db.DBHelper.getCurrentUserInstance(DBHelper.java:23)\r\n            at com.avoscloud.chat.db.MsgsTable.<init>(MsgsTable.java:33)\r\n            at com.avoscloud.chat.db.MsgsTable.getInstance(MsgsTable.java:38)\r\n            at com.avoscloud.chat.service.chat.IM.init(IM.java:104)\r\n            at com.avoscloud.chat.base.App.onCreate(App.java:106)\r\n            at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1011)"},"comment":{"url":"https://api.github.com/repos/leancloud/leanchat-android/issues/comments/91155111","html_url":"https://github.com/leancloud/leanchat-android/issues/38#issuecomment-91155111","issue_url":"https://api.github.com/repos/leancloud/leanchat-android/issues/38","id":91155111,"user":{"login":"luoheng158","id":7459742,"avatar_url":"https://avatars.githubusercontent.com/u/7459742?v=3","gravatar_id":"","url":"https://api.github.com/users/luoheng158","html_url":"https://github.com/luoheng158","followers_url":"https://api.github.com/users/luoheng158/followers","following_url":"https://api.github.com/users/luoheng158/following{/other_user}","gists_url":"https://api.github.com/users/luoheng158/gists{/gist_id}","starred_url":"https://api.github.com/users/luoheng158/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luoheng158/subscriptions","organizations_url":"https://api.github.com/users/luoheng158/orgs","repos_url":"https://api.github.com/users/luoheng158/repos","events_url":"https://api.github.com/users/luoheng158/events{/privacy}","received_events_url":"https://api.github.com/users/luoheng158/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T08:49:18Z","updated_at":"2015-04-09T08:49:18Z","body":"How to solve this problem..?"}}