{"action":"closed","issue":{"url":"https://api.github.com/repos/chat-sdk/chat-sdk-android/issues/102","repository_url":"https://api.github.com/repos/chat-sdk/chat-sdk-android","labels_url":"https://api.github.com/repos/chat-sdk/chat-sdk-android/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/chat-sdk/chat-sdk-android/issues/102/comments","events_url":"https://api.github.com/repos/chat-sdk/chat-sdk-android/issues/102/events","html_url":"https://github.com/chat-sdk/chat-sdk-android/issues/102","id":233848370,"number":102,"title":"Not able to register user and login","user":{"login":"kaprat","id":29137068,"avatar_url":"https://avatars3.githubusercontent.com/u/29137068?v=3","gravatar_id":"","url":"https://api.github.com/users/kaprat","html_url":"https://github.com/kaprat","followers_url":"https://api.github.com/users/kaprat/followers","following_url":"https://api.github.com/users/kaprat/following{/other_user}","gists_url":"https://api.github.com/users/kaprat/gists{/gist_id}","starred_url":"https://api.github.com/users/kaprat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaprat/subscriptions","organizations_url":"https://api.github.com/users/kaprat/orgs","repos_url":"https://api.github.com/users/kaprat/repos","events_url":"https://api.github.com/users/kaprat/events{/privacy}","received_events_url":"https://api.github.com/users/kaprat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-06T10:33:55Z","updated_at":"2017-06-08T08:38:08Z","closed_at":"2017-06-08T08:38:08Z","body":"Code :\r\n\r\nMap<String, Object> data = AbstractNetworkAdapter.getMap(\r\n                        new String[]{BDefines.Prefs.LoginTypeKey, BDefines.Prefs.LoginEmailKey, BDefines.Prefs.LoginPasswordKey },\r\n                        BDefines.BAccountType.Register, etEmail.getText().toString(), etEmail.getText().toString());\r\n\r\n                BNetworkManager.sharedManager().getNetworkAdapter()\r\n                        .authenticateWithMap(data).done(new DoneCallback<Object>() {\r\n                    @Override\r\n                    public void onDone(Object o) {\r\n                        Log.e(\"Success\",\"Success\");\r\n                    }\r\n                }).fail(new FailCallback<BError>() {\r\n                    @Override\r\n                    public void onFail(BError bError) {\r\n                        Log.e(\"Failure\",\"Failure\");\r\n                    }\r\n                });\r\n\r\n\r\nError Getting :\r\n\r\n\r\n\r\nAttempt to invoke virtual method 'org.jdeferred.Promise com.braunster.chatsdk.network.AbstractNetworkAdapter.authenticateWithMap(java.util.Map)' on a null object reference  at \r\n\r\nLoginActivity$2.onClick(LoginActivity.java:174)\r\n                                                                           at android.view.View.performClick(View.java:4780)\r\n                                                                           at android.view.View$PerformClick.run(View.java:19866)\r\n                                                                           at android.os.Handler.handleCallback(Handler.java:739)\r\n                                                                           at android.os.Handler.dispatchMessage(Handler.java:95)\r\n                                                                           at android.os.Looper.loop(Looper.java:135)\r\n                                                                           at android.app.ActivityThread.main(ActivityThread.java:5254)\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:903)\r\n                                                                           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)\r\n\r\n\r\nGetting error in this line:  .authenticateWithMap(data).done(new DoneCallback<Object>() {"}}
{"actor":{"display_login":"kaprat"}}