{"action":"created","issue":{"url":"https://api.github.com/repos/uservoice/uservoice-android-sdk/issues/196","labels_url":"https://api.github.com/repos/uservoice/uservoice-android-sdk/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/uservoice/uservoice-android-sdk/issues/196/comments","events_url":"https://api.github.com/repos/uservoice/uservoice-android-sdk/issues/196/events","html_url":"https://github.com/uservoice/uservoice-android-sdk/issues/196","id":98486550,"number":196,"title":"Null pointer exception when trying to back press in uservoice","user":{"login":"Eagles2F","id":3294244,"avatar_url":"https://avatars.githubusercontent.com/u/3294244?v=3","gravatar_id":"","url":"https://api.github.com/users/Eagles2F","html_url":"https://github.com/Eagles2F","followers_url":"https://api.github.com/users/Eagles2F/followers","following_url":"https://api.github.com/users/Eagles2F/following{/other_user}","gists_url":"https://api.github.com/users/Eagles2F/gists{/gist_id}","starred_url":"https://api.github.com/users/Eagles2F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eagles2F/subscriptions","organizations_url":"https://api.github.com/users/Eagles2F/orgs","repos_url":"https://api.github.com/users/Eagles2F/repos","events_url":"https://api.github.com/users/Eagles2F/events{/privacy}","received_events_url":"https://api.github.com/users/Eagles2F/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-31T23:12:58Z","updated_at":"2015-08-03T21:20:10Z","closed_at":null,"body":"Config: \r\n      // Set this up once when your application launches\r\n        final Config config = new Config(\"xx.uservoice.com\");\r\n        config.setForumId(xxxx);\r\n        config.setShowContactUs(false);\r\n        config.setShowKnowledgeBase(false);\r\n        // config.identifyUser(\"USER_ID\", \"User Name\", \"email@example.com\");\r\n        UserVoice.init(config, this);\r\n        UserVoice.launchUserVoice(this)\r\n\r\n java.lang.NullPointerException\r\n            at com.uservoice.uservoicesdk.ui.PortalAdapter.getCount(PortalAdapter.java:139)\r\n            at android.widget.AdapterView$AdapterDataSetObserver.onChanged(AdapterView.java:804)\r\n            at android.widget.AbsListView$AdapterDataSetObserver.onChanged(AbsListView.java:6000)\r\n            at android.database.DataSetObservable.notifyChanged(DataSetObservable.java:37)\r\n            at android.widget.BaseAdapter.notifyDataSetChanged(BaseAdapter.java:50)\r\n            at com.uservoice.uservoicesdk.ui.PortalAdapter$3.onModel(PortalAdapter.java:88)\r\n            at com.uservoice.uservoicesdk.ui.PortalAdapter$3.onModel(PortalAdapter.java:83)\r\n            at com.uservoice.uservoicesdk.model.Article$1.onComplete(Article.java:35)\r\n            at com.uservoice.uservoicesdk.rest.RestTask.onPostExecute(RestTask.java:121)\r\n            at com.uservoice.uservoicesdk.rest.RestTask.onPostExecute(RestTask.java:38)\r\n            at android.os.AsyncTask.finish(AsyncTask.java:631)\r\n            at android.os.AsyncTask.access$600(AsyncTask.java:177)\r\n            at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:644)\r\n            at android.os.Handler.dispatchMessage(Handler.java:99)\r\n            at android.os.Looper.loop(Looper.java:137)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5457)\r\n            at java.lang.reflect.Method.invokeNative(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:525)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:806)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)\r\n            at dalvik.system.NativeStart.main(Native Method)"},"comment":{"url":"https://api.github.com/repos/uservoice/uservoice-android-sdk/issues/comments/127408900","html_url":"https://github.com/uservoice/uservoice-android-sdk/issues/196#issuecomment-127408900","issue_url":"https://api.github.com/repos/uservoice/uservoice-android-sdk/issues/196","id":127408900,"user":{"login":"austintaylor","id":9051,"avatar_url":"https://avatars.githubusercontent.com/u/9051?v=3","gravatar_id":"","url":"https://api.github.com/users/austintaylor","html_url":"https://github.com/austintaylor","followers_url":"https://api.github.com/users/austintaylor/followers","following_url":"https://api.github.com/users/austintaylor/following{/other_user}","gists_url":"https://api.github.com/users/austintaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/austintaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austintaylor/subscriptions","organizations_url":"https://api.github.com/users/austintaylor/orgs","repos_url":"https://api.github.com/users/austintaylor/repos","events_url":"https://api.github.com/users/austintaylor/events{/privacy}","received_events_url":"https://api.github.com/users/austintaylor/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T21:20:10Z","updated_at":"2015-08-03T21:20:10Z","body":"Is this the same as #197 or a different issue? Which view are you trying to back out of?"}}