Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-34152

Attempting to unlock emulator screen FATAL: null java.lang.NullPointerException

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Jenkins fails my job on it's first attempt to unlock emulator screen

      • I'm using April 8th, 2016 Jenkins release plugin
      • Emulator used is Nexus5X - Android 6.0 - API23

      I tried to see if someone else reported the issue already, but it seems I'm the only one so far.
      Thanks!

      Logs:
      --------------------------------------------------------------------------------------------------------------------------------------------------
      [android] Emulator reported that the startup process is 'running'
      $ C:\android-sdk/platform-tools/adb.exe -s emulator-5726 wait-for-device shell getprop init.svc.bootanim
      [android] Emulator reported that the startup process is 'stopped'
      $ C:\android-sdk/platform-tools/adb.exe -s emulator-5726 logcat -v time
      [android] Attempting to unlock emulator screen
      FATAL: null
      java.lang.NullPointerException
      at hudson.plugins.android_emulator.AndroidEmulator.doSetUp(AndroidEmulator.java:436)
      at hudson.plugins.android_emulator.AndroidEmulator.setUp(AndroidEmulator.java:271)
      at hudson.model.Build$BuildExecution.doRun(Build.java:156)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      at hudson.model.Run.execute(Run.java:1738)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:410)

      --------------------------------------------------------------------------------------------------------------------------------------------------

        Attachments

          Activity

          sika Marius Horvat created issue -
          sika Marius Horvat made changes -
          Field Original Value New Value
          Assignee Christopher Orr [ orrc ]
          sika Marius Horvat made changes -
          Description Jenkins fails my job on it's first attempt to unlock emulator screen
          * I'm using April 8th, 2016 Jenkins release plugin

          I tried to see if someone else reported the issue already, but it seems I'm the only one so far.
          Thanks!

          Logs:
          ------------------------------------------------------------------------------------------------------------
          [android] Emulator reported that the startup process is 'running'
          $ C:\android-sdk/platform-tools/adb.exe -s emulator-5726 wait-for-device shell getprop init.svc.bootanim
          [android] Emulator reported that the startup process is 'stopped'
          $ C:\android-sdk/platform-tools/adb.exe -s emulator-5726 logcat -v time
          [android] Attempting to unlock emulator screen
          FATAL: null
          java.lang.NullPointerException
          at hudson.plugins.android_emulator.AndroidEmulator.doSetUp(AndroidEmulator.java:436)
          at hudson.plugins.android_emulator.AndroidEmulator.setUp(AndroidEmulator.java:271)
          at hudson.model.Build$BuildExecution.doRun(Build.java:156)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
          at hudson.model.Run.execute(Run.java:1738)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:98)
          at hudson.model.Executor.run(Executor.java:410)
          Jenkins fails my job on it's first attempt to unlock emulator screen
          * I'm using April 8th, 2016 Jenkins release plugin
          * Emulator used is Nexus5X - Android 6.0 - API23

          I tried to see if someone else reported the issue already, but it seems I'm the only one so far.
          Thanks!

          Logs:
          ------------------------------------------------------------------------------------------------------------
          [android] Emulator reported that the startup process is 'running'
          $ C:\android-sdk/platform-tools/adb.exe -s emulator-5726 wait-for-device shell getprop init.svc.bootanim
          [android] Emulator reported that the startup process is 'stopped'
          $ C:\android-sdk/platform-tools/adb.exe -s emulator-5726 logcat -v time
          [android] Attempting to unlock emulator screen
          FATAL: null
          java.lang.NullPointerException
          at hudson.plugins.android_emulator.AndroidEmulator.doSetUp(AndroidEmulator.java:436)
          at hudson.plugins.android_emulator.AndroidEmulator.setUp(AndroidEmulator.java:271)
          at hudson.model.Build$BuildExecution.doRun(Build.java:156)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
          at hudson.model.Run.execute(Run.java:1738)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:98)
          at hudson.model.Executor.run(Executor.java:410)
          sika Marius Horvat made changes -
          Description Jenkins fails my job on it's first attempt to unlock emulator screen
          * I'm using April 8th, 2016 Jenkins release plugin
          * Emulator used is Nexus5X - Android 6.0 - API23

          I tried to see if someone else reported the issue already, but it seems I'm the only one so far.
          Thanks!

          Logs:
          ------------------------------------------------------------------------------------------------------------
          [android] Emulator reported that the startup process is 'running'
          $ C:\android-sdk/platform-tools/adb.exe -s emulator-5726 wait-for-device shell getprop init.svc.bootanim
          [android] Emulator reported that the startup process is 'stopped'
          $ C:\android-sdk/platform-tools/adb.exe -s emulator-5726 logcat -v time
          [android] Attempting to unlock emulator screen
          FATAL: null
          java.lang.NullPointerException
          at hudson.plugins.android_emulator.AndroidEmulator.doSetUp(AndroidEmulator.java:436)
          at hudson.plugins.android_emulator.AndroidEmulator.setUp(AndroidEmulator.java:271)
          at hudson.model.Build$BuildExecution.doRun(Build.java:156)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
          at hudson.model.Run.execute(Run.java:1738)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:98)
          at hudson.model.Executor.run(Executor.java:410)
          Jenkins fails my job on it's first attempt to unlock emulator screen
          * I'm using April 8th, 2016 Jenkins release plugin
          * Emulator used is Nexus5X - Android 6.0 - API23

          I tried to see if someone else reported the issue already, but it seems I'm the only one so far.
          Thanks!

          Logs:
          --------------------------------------------------------------------------------------------------------------------------------------------------
          [android] Emulator reported that the startup process is 'running'
          $ C:\android-sdk/platform-tools/adb.exe -s emulator-5726 wait-for-device shell getprop init.svc.bootanim
          [android] Emulator reported that the startup process is 'stopped'
          $ C:\android-sdk/platform-tools/adb.exe -s emulator-5726 logcat -v time
          [android] Attempting to unlock emulator screen
          FATAL: null
          java.lang.NullPointerException
          at hudson.plugins.android_emulator.AndroidEmulator.doSetUp(AndroidEmulator.java:436)
          at hudson.plugins.android_emulator.AndroidEmulator.setUp(AndroidEmulator.java:271)
          at hudson.model.Build$BuildExecution.doRun(Build.java:156)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
          at hudson.model.Run.execute(Run.java:1738)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:98)
          at hudson.model.Executor.run(Executor.java:410)

          --------------------------------------------------------------------------------------------------------------------------------------------------
          sika Marius Horvat made changes -
          Summary [android] Attempting to unlock emulator screen FATAL: null java.lang.NullPointerException Attempting to unlock emulator screen FATAL: null java.lang.NullPointerException
          scm_issue_link SCM/JIRA link daemon made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          orrc Christopher Orr made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 170202 ] JNJira + In-Review [ 209932 ]

            People

            • Assignee:
              orrc Christopher Orr
              Reporter:
              sika Marius Horvat
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: