ANDROID_HOME Error Appearing in Simulator Logs

Document ID : KB000100701
Last Modified Date : 08/06/2018
Show Technical Document Details
Issue:
ANDROID_HOME is appearing in our logs again and through null pointer Exceptions 

2018-03-05 23:21:21,430Z (17:21) [pool-1564-thread-1] INFO com.itko.lisa.mobile.utils.DeviceUtils - Loaded iOS devices and sims 
2018-03-05 23:21:21,430Z (17:21) [pool-1564-thread-2] ERROR AndroidAvdHelper - com.itko.lisa.mobile.android.AndroidSdkException: ANDROID_HOME points to a directory that does not exist. 
2018-03-05 23:21:21,430Z (17:21) [pool-1564-thread-3] ERROR AndroidAvdHelper - com.itko.lisa.mobile.android.AndroidSdkException: ANDROID_HOME points to a directory that does not exist. 
2018-03-05 23:21:21,431Z (17:21) [pool-1564-thread-4] ERROR AndroidAvdHelper - com.itko.lisa.mobile.android.AndroidSdkException: ANDROID_HOME points to a directory that does not exist. 
2018-03-05 23:21:21,431Z (17:21) [pool-1564-thread-2] INFO com.itko.lisa.mobile.utils.DeviceUtils - android platform tools not detected 
2018-03-05 23:21:21,431Z (17:21) [pool-1564-thread-4] WARN AndroidAvdHelper - ANDROID_HOME is not set 
2018-03-05 23:21:21,431Z (17:21) [pool-1564-thread-3] INFO com.itko.lisa.mobile.utils.DeviceUtils - /tools/android does not exist. 
2018-03-05 23:21:21,432Z (17:21) [pool-1564-thread-3] INFO com.itko.lisa.mobile.utils.DeviceUtils - Loaded Android sims 
2018-03-05 23:21:21,432Z (17:21) [pool-1564-thread-2] INFO com.itko.lisa.mobile.utils.DeviceUtils - Loaded Android devices 
2018-03-05 23:21:21,473Z (17:21) [pool-1564-thread-4] ERROR System.err - Exception in thread "pool-1564-thread-4" java.lang.NullPointerException 
2018-03-05 23:21:21,474Z (17:21) [pool-1564-thread-4] ERROR System.err - at com.itko.lisa.mobile.android.genymotion.impl.GenymotionImpl.getVBoxManageCmd(GenymotionImpl.java:100) 
2018-03-05 23:21:21,474Z (17:21) [pool-1564-thread-4] ERROR System.err - at com.itko.lisa.mobile.appium.AndroidAvdHelper.getVBoxManage(AndroidAvdHelper.java:1275) 
2018-03-05 23:21:21,474Z (17:21) [pool-1564-thread-4] ERROR System.err - at com.itko.lisa.mobile.appium.AndroidAvdHelper.parseGenymotionDevices(AndroidAvdHelper.java:952) 
2018-03-05 23:21:21,474Z (17:21) [pool-1564-thread-4] ERROR System.err - at com.itko.lisa.mobile.utils.DeviceUtils.getGenymotionVMs(DeviceUtils.java:1031) 
2018-03-05 23:21:21,474Z (17:21) [pool-1564-thread-4] ERROR System.err - at com.itko.lisa.mobile.utils.DeviceUtils$4.run(DeviceUtils.java:528) 
2018-03-05 23:21:21,474Z (17:21) [pool-1564-thread-4] ERROR System.err - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
2018-03-05 23:21:21,474Z (17:21) [pool-1564-thread-4] ERROR System.err - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
2018-03-05 23:21:21,474Z (17:21) [pool-1564-thread-4] ERROR System.err - at java.lang.Thread.run(Thread.java:745)
Environment:
DevTest 9.5.1
Resolution:
Open case and refer to patch_DE354666_9.5.1_LTD.jar.