You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When "app_location" is removed from the config.yaml file, null pointer exception is generated. Also, the error is not captured in coteafs-error log file.
Environment
Appium server version: 1.9.0
Desktop OS version: Windows 10
coteafs-appium version: develop-3.0.0
Mobile platform version: android/8.1.0
Real device / simulator: Real
Details
Following is the Stack trace of the code:
[RemoteTestNG] detected TestNG version 6.14.3
FAILED CONFIGURATION: @BeforeSuite setupSuite
java.lang.NullPointerException
at com.github.wasiqb.coteafs.appium.config.DeviceSetting.getAppLocation(DeviceSetting.java:84)
at com.github.wasiqb.coteafs.appium.device.Device.setAndroidCapabilities(Device.java:276)
at com.github.wasiqb.coteafs.appium.device.Device.setDeviceSpecificCapabilities(Device.java:320)
at com.github.wasiqb.coteafs.appium.device.Device.buildCapabilities(Device.java:199)
at com.github.wasiqb.coteafs.appium.device.Device.(Device.java:133)
at com.github.wasiqb.coteafs.appium.android.AndroidDevice.(AndroidDevice.java:37)
at com.flipkart.FlipkartAppTest.FlipkartBasicTest.setupSuite(FlipkartBasicTest.java:20)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:59)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:458)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:222)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:401)
at org.testng.SuiteRunner.run(SuiteRunner.java:364)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
at org.testng.TestNG.runSuites(TestNG.java:1049)
at org.testng.TestNG.run(TestNG.java:1017)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
The text was updated successfully, but these errors were encountered:
Description
When "app_location" is removed from the config.yaml file, null pointer exception is generated. Also, the error is not captured in coteafs-error log file.
Environment
Details
Following is the Stack trace of the code:
[RemoteTestNG] detected TestNG version 6.14.3
FAILED CONFIGURATION: @BeforeSuite setupSuite
java.lang.NullPointerException
at com.github.wasiqb.coteafs.appium.config.DeviceSetting.getAppLocation(DeviceSetting.java:84)
at com.github.wasiqb.coteafs.appium.device.Device.setAndroidCapabilities(Device.java:276)
at com.github.wasiqb.coteafs.appium.device.Device.setDeviceSpecificCapabilities(Device.java:320)
at com.github.wasiqb.coteafs.appium.device.Device.buildCapabilities(Device.java:199)
at com.github.wasiqb.coteafs.appium.device.Device.(Device.java:133)
at com.github.wasiqb.coteafs.appium.android.AndroidDevice.(AndroidDevice.java:37)
at com.flipkart.FlipkartAppTest.FlipkartBasicTest.setupSuite(FlipkartBasicTest.java:20)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:59)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:458)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:222)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:401)
at org.testng.SuiteRunner.run(SuiteRunner.java:364)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
at org.testng.TestNG.runSuites(TestNG.java:1049)
at org.testng.TestNG.run(TestNG.java:1017)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
The text was updated successfully, but these errors were encountered: