Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
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)
--------------------------------------------------------------------------------------------------------------------------------------------------
Code changed in jenkins
User: Christopher Orr
Path:
src/main/java/hudson/plugins/android_emulator/AndroidEmulator.java
http://jenkins-ci.org/commit/android-emulator-plugin/13c40bb04725ac8d1d8bc11e10a0ce18acc6795a
Log:
[FIXED JENKINS-34152] Fix NPE when trying to unlock named emulators.