Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting WebDriverException: java.nio.file.NoSuchFileException: in Bamboo CI

Sathees
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 13, 2018

Hi Team,

I have configured appium mobile project(converted into bat) and Perfecto cloud for Continues Integration in Bamboo settings.

When I run the application I getting below issues for your reference.

 

build 13-Aug-2018 08:05:02 [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ PerfectoProject_Latest ---
build 13-Aug-2018 08:05:03 [INFO] No tests to run.
build 13-Aug-2018 08:05:03
build 13-Aug-2018 08:05:03 -------------------------------------------------------
build 13-Aug-2018 08:05:03 T E S T S
build 13-Aug-2018 08:05:03 -------------------------------------------------------
build 13-Aug-2018 08:05:05 Running TestSuite
build 13-Aug-2018 08:05:08 VerifyLoginPageAssertions
build 13-Aug-2018 08:05:09 LanguageCheckingInConfScr
build 13-Aug-2018 08:05:09 RegionCountryCheckingInConfScr
build 13-Aug-2018 08:05:10 Configuration
build 13-Aug-2018 08:05:10 ConfigRLSetupRL
build 13-Aug-2018 08:05:11 ConfigureRLManufactureActiveList
build 13-Aug-2018 08:05:11
build 13-Aug-2018 08:05:12 ConfigureRLRuleDesc
build 13-Aug-2018 08:05:12 AddToInventory
build 13-Aug-2018 08:05:13 AddToReadyLine
build 13-Aug-2018 08:05:13 AddToReadyLineSite
build 13-Aug-2018 08:05:13 RemoveFromReadyline
build 13-Aug-2018 08:05:13 CheckinNoDamage
build 13-Aug-2018 08:05:17 DamageRefNocol0
build 13-Aug-2018 08:05:18 DamageRefNo
error 13-Aug-2018 08:05:18 SLF4J: No SLF4J providers were found.
error 13-Aug-2018 08:05:18 SLF4J: Defaulting to no-operation (NOP) logger implementation
error 13-Aug-2018 08:05:18 SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
error 13-Aug-2018 08:05:23 org.openqa.selenium.WebDriverException: java.nio.file.NoSuchFileException: C:\Windows\system32\config\systemprofile\AppData\Local\Temp\new-session18432356007360954.json
error 13-Aug-2018 08:05:23 Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
error 13-Aug-2018 08:05:23 System info: host: 'VAB0410135D8', ip: '10.121.137.119', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_131'
error 13-Aug-2018 08:05:23 Driver info: driver.version: AndroidDriver
error 13-Aug-2018 08:05:23 at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:84)
error 13-Aug-2018 08:05:23 at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:637)
error 13-Aug-2018 08:05:23 at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:51)
error 13-Aug-2018 08:05:23 at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
error 13-Aug-2018 08:05:23 at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
error 13-Aug-2018 08:05:23 at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:250)
error 13-Aug-2018 08:05:23 at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:236)
error 13-Aug-2018 08:05:23 at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:137)
error 13-Aug-2018 08:05:23 at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:47)
error 13-Aug-2018 08:05:23 at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:114)

 

 

NOTE: BUT THE SAME PROJECT's BAT FILE IS WORKING AS NORMALLY WHILE RUN THE APP THROUGH BAT file.

1 answer

0 votes
Gonchik Tsymzhitov
Community Champion
February 10, 2019

Hi! 

 

Looks like the problem was related to the system variables.

BTW, Are you on the latest version 6.8.0 ?

https://confluence.atlassian.com/bamboo/bamboo-releases-671089224.html

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events