{"action":"reopened","issue":{"url":"https://api.github.com/repos/appium/appium/issues/4368","labels_url":"https://api.github.com/repos/appium/appium/issues/4368/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/4368/comments","events_url":"https://api.github.com/repos/appium/appium/issues/4368/events","html_url":"https://github.com/appium/appium/issues/4368","id":53814827,"number":4368,"title":"android tests failing because appium's apidemos is crashing","user":{"login":"jlipps","id":605053,"avatar_url":"https://avatars.githubusercontent.com/u/605053?v=3","gravatar_id":"","url":"https://api.github.com/users/jlipps","html_url":"https://github.com/jlipps","followers_url":"https://api.github.com/users/jlipps/followers","following_url":"https://api.github.com/users/jlipps/following{/other_user}","gists_url":"https://api.github.com/users/jlipps/gists{/gist_id}","starred_url":"https://api.github.com/users/jlipps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlipps/subscriptions","organizations_url":"https://api.github.com/users/jlipps/orgs","repos_url":"https://api.github.com/users/jlipps/repos","events_url":"https://api.github.com/users/jlipps/events{/privacy}","received_events_url":"https://api.github.com/users/jlipps/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/Android","name":"Android","color":"ADFF2F"},{"url":"https://api.github.com/repos/appium/appium/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"0x1mason","id":4587515,"avatar_url":"https://avatars.githubusercontent.com/u/4587515?v=3","gravatar_id":"","url":"https://api.github.com/users/0x1mason","html_url":"https://github.com/0x1mason","followers_url":"https://api.github.com/users/0x1mason/followers","following_url":"https://api.github.com/users/0x1mason/following{/other_user}","gists_url":"https://api.github.com/users/0x1mason/gists{/gist_id}","starred_url":"https://api.github.com/users/0x1mason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x1mason/subscriptions","organizations_url":"https://api.github.com/users/0x1mason/orgs","repos_url":"https://api.github.com/users/0x1mason/repos","events_url":"https://api.github.com/users/0x1mason/events{/privacy}","received_events_url":"https://api.github.com/users/0x1mason/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/appium/appium/milestones/15","html_url":"https://github.com/appium/appium/milestones/Appium%201.3.5","labels_url":"https://api.github.com/repos/appium/appium/milestones/15/labels","id":912607,"number":15,"title":"Appium 1.3.5","description":"","creator":{"login":"jlipps","id":605053,"avatar_url":"https://avatars.githubusercontent.com/u/605053?v=3","gravatar_id":"","url":"https://api.github.com/users/jlipps","html_url":"https://github.com/jlipps","followers_url":"https://api.github.com/users/jlipps/followers","following_url":"https://api.github.com/users/jlipps/following{/other_user}","gists_url":"https://api.github.com/users/jlipps/gists{/gist_id}","starred_url":"https://api.github.com/users/jlipps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlipps/subscriptions","organizations_url":"https://api.github.com/users/jlipps/orgs","repos_url":"https://api.github.com/users/jlipps/repos","events_url":"https://api.github.com/users/jlipps/events{/privacy}","received_events_url":"https://api.github.com/users/jlipps/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":14,"state":"closed","created_at":"2014-12-22T19:32:14Z","updated_at":"2015-03-25T22:25:59Z","due_on":null,"closed_at":"2015-03-23T17:21:45Z"},"comments":15,"created_at":"2015-01-08T23:22:50Z","updated_at":"2015-03-25T22:25:59Z","closed_at":null,"body":"Is anyone else experiencing this? @bootstraponline @0x1mason @imurchie \r\n\r\nBasically, certain appium tests try to start our apidemos with a certain activity (for example, `io.appium.android.apis/.app.StatusBarNotifications`). The app attempts to launch this activity, then it immediately crashes. Below is the logcat exception.\r\n\r\nA number of tests are failing this way---the notifications tests and the touch action tests, most notably.\r\n\r\nAdding to 1.3.5 since it seems like a pretty serious bug. I get it after a pull from master and a clean reset --dev --android so it seems legit.\r\n\r\n```\r\nE/AndroidRuntime( 3241): FATAL EXCEPTION: main\r\nE/AndroidRuntime( 3241): Process: io.appium.android.apis, PID: 3241\r\nE/AndroidRuntime( 3241): java.lang.RuntimeException: Unable to start activity ComponentInfo{io.appium.android.apis/io.appium.android.apis.app.StatusBarNotifications}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setOnClickListener(android.view.View$OnClickListener)' on a null object reference\r\nE/AndroidRuntime( 3241):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298)\r\nE/AndroidRuntime( 3241):        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)\r\nE/AndroidRuntime( 3241):        at android.app.ActivityThread.access$800(ActivityThread.java:144)\r\nE/AndroidRuntime( 3241):        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)\r\nE/AndroidRuntime( 3241):        at android.os.Handler.dispatchMessage(Handler.java:102)\r\nE/AndroidRuntime( 3241):        at android.os.Looper.loop(Looper.java:135)\r\nE/AndroidRuntime( 3241):        at android.app.ActivityThread.main(ActivityThread.java:5221)\r\nE/AndroidRuntime( 3241):        at java.lang.reflect.Method.invoke(Native Method)\r\nE/AndroidRuntime( 3241):        at java.lang.reflect.Method.invoke(Method.java:372)\r\nE/AndroidRuntime( 3241):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)\r\nE/AndroidRuntime( 3241):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)\r\nE/AndroidRuntime( 3241): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setOnClickListener(android.view.View$OnClickListener)' on a null object reference\r\nE/AndroidRuntime( 3241):        at io.appium.android.apis.app.StatusBarNotifications.onCreate(StatusBarNotifications.java:54)\r\nE/AndroidRuntime( 3241):        at android.app.Activity.performCreate(Activity.java:5933)\r\nE/AndroidRuntime( 3241):        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)\r\nE/AndroidRuntime( 3241):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)\r\nE/AndroidRuntime( 3241):        ... 10 more\r\nW/ActivityManager( 1307):   Force finishing activity io.appium.android.apis/.app.StatusBarNotifications\r\n```\r\n"}}