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

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

XMLWordPrintable

      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)

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

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

              Created:
              Updated:
              Resolved: