{"action":"opened","issue":{"url":"https://api.github.com/repos/Lesilva/BetterSpinner/issues/60","repository_url":"https://api.github.com/repos/Lesilva/BetterSpinner","labels_url":"https://api.github.com/repos/Lesilva/BetterSpinner/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/Lesilva/BetterSpinner/issues/60/comments","events_url":"https://api.github.com/repos/Lesilva/BetterSpinner/issues/60/events","html_url":"https://github.com/Lesilva/BetterSpinner/issues/60","id":182707001,"number":60,"title":"Getting null pointer Exception while using proguard","user":{"login":"sohambannerjee8","id":9796368,"avatar_url":"https://avatars.githubusercontent.com/u/9796368?v=3","gravatar_id":"","url":"https://api.github.com/users/sohambannerjee8","html_url":"https://github.com/sohambannerjee8","followers_url":"https://api.github.com/users/sohambannerjee8/followers","following_url":"https://api.github.com/users/sohambannerjee8/following{/other_user}","gists_url":"https://api.github.com/users/sohambannerjee8/gists{/gist_id}","starred_url":"https://api.github.com/users/sohambannerjee8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sohambannerjee8/subscriptions","organizations_url":"https://api.github.com/users/sohambannerjee8/orgs","repos_url":"https://api.github.com/users/sohambannerjee8/repos","events_url":"https://api.github.com/users/sohambannerjee8/events{/privacy}","received_events_url":"https://api.github.com/users/sohambannerjee8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-13T06:36:00Z","updated_at":"2016-10-13T06:36:00Z","closed_at":null,"body":"I am getting null pointer exception if I am using proguard. Otherwise it's running perfectly.Do I have to mention anything in proguard file. \r\n\r\n> java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference\r\n> \tat\tandroid.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:394)\r\n> \tat\tandroid.widget.ArrayAdapter.getView(ArrayAdapter.java:362)\r\n> \tat\tandroid.widget.AbsSpinner.onMeasure(AbsSpinner.java:197)\r\n> \tat\tandroid.widget.Spinner.onMeasure(Spinner.java:541)\r\n> \tat\tandroid.support.v7.widget.AppCompatSpinner.onMeasure(Unknown Source)\r\n> \tat\tandroid.view.View.measure(View.java:17951)\r\n> \tat\tandroid.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:728)\r\n> \tat\tandroid.widget.RelativeLayout.onMeasure(RelativeLayout.java:464)\r\n> \tat\tandroid.view.View.measure(View.java:17951)\r\n> \tat\tandroid.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:728)\r\n> \tat\tandroid.widget.RelativeLayout.onMeasure(RelativeLayout.java:464)\r\n> \tat\tandroid.view.View.measure(View.java:17951)\r\n> \tat\tandroid.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5797)\r\n> \tat\tandroid.widget.FrameLayout.onMeasure(FrameLayout.java:436)\r\n> \tat\tandroid.support.v7.widget.ContentFrameLayout.onMeasure(Unknown Source)\r\n> \tat\tandroid.view.View.measure(View.java:17951)\r\n> \tat\tandroid.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5797)\r\n> \tat\tandroid.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)\r\n> \tat\tandroid.widget.LinearLayout.measureVertical(LinearLayout.java:722)\r\n> \tat\tandroid.widget.LinearLayout.onMeasure(LinearLayout.java:613)\r\n> \tat\tandroid.view.View.measure(View.java:17951)\r\n> \tat\tandroid.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5797)\r\n> \tat\tandroid.widget.FrameLayout.onMeasure(FrameLayout.java:436)\r\n> \tat\tandroid.view.View.measure(View.java:17951)\r\n> \tat\tandroid.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5797)\r\n> \tat\tandroid.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)\r\n> \tat\tandroid.widget.LinearLayout.measureVertical(LinearLayout.java:722)\r\n> \tat\tandroid.widget.LinearLayout.onMeasure(LinearLayout.java:613)\r\n> \tat\tandroid.view.View.measure(View.java:17951)\r\n> \tat\tandroid.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5797)\r\n> \tat\tandroid.widget.FrameLayout.onMeasure(FrameLayout.java:436)\r\n> \tat\tcom.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2910)\r\n> \tat\tandroid.view.View.measure(View.java:17951)\r\n> \tat\tandroid.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2048)\r\n> \tat\tandroid.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1185)\r\n> \tat\tandroid.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1406)\r\n> \tat\tandroid.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1073)\r\n> \tat\tandroid.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5988)\r\n> \tat\tandroid.view.Choreographer$CallbackRecord.run(Choreographer.java:767)\r\n> \tat\tandroid.view.Choreographer.doCallbacks(Choreographer.java:580)\r\n> \tat\tandroid.view.Choreographer.doFrame(Choreographer.java:550)\r\n> \tat\tandroid.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)\r\n> \tat\tandroid.os.Handler.handleCallback(Handler.java:739)\r\n> \tat\tandroid.os.Handler.dispatchMessage(Handler.java:95)\r\n> \tat\tandroid.os.Looper.loop(Looper.java:135)\r\n> \tat\tandroid.app.ActivityThread.main(ActivityThread.java:5910)\r\n> \tat\tjava.lang.reflect.Method.invoke(Native Method)\r\n> \tat\tjava.lang.reflect.Method.invoke(Method.java:372)\r\n> \tat\tcom.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)\r\n> \tat\tcom.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)"}}
{"actor":{"display_login":"sohambannerjee8"}}