-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to start the Node: Error with the JSON of the config : Expected value to be a string type: NUMBER #415
Comments
Facing the same issue : Below is my config files Below is my selenium_grid_extras_config.json Below is the command running My node_5555.log file below : Please advice |
This is because of SeleniumHQ/selenium#6275 Selenium grid is not taking
properly. If one removes it it works |
-jar-with-dependencies.jar;\tmp\webdriver\3.14.0.jar |
But I want to move to latest webdriver and browsers. So this issue is a blocker for that. |
How do I fix this on the node? The hub starts up but the node will not, because the custom property is copied over. |
As mentioned earlier, it is because of SeleniumHQ/selenium#6275, so just transform port number to string type: |
Node Config Generated:
D:\SeleniumGrid_Extras>java -Dwebdriver.ie.driver=\tmp\webdriver\iedriver\iedriver_3.14.0_Win32bit.exe -Dwebdriver.edge.driver="C:\Program Files (x86)\Microsoft Web Driver\MicrosoftWebDriver.exe" -Dwebdriver.chrome.driver=\tmp\webdriver\chromedriver\chromedriver_2.41_32bit.exe -Dwebdriver.gecko.driver=\tmp\webdriver\geckodriver\geckodriver_0.21.0.exe -cp D:\SeleniumGrid_Extras\SeleniumGridExtras-2.0.4-SNAPSHOT-jar-with-dependencies.jar;\tmp\webdriver\3.14.0.jar org.openqa.grid.selenium.GridLauncherV3 -role node -nodeConfig node_5555.json -log log\node_5555.log
Exception in thread "main" org.openqa.grid.common.exception.GridConfigurationException: Error with the JSON of the config : Expected value to be a string type: NUMBER
Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:13:22.693Z'
System info: host: 'VMT1562', ip: '192.168.0.2', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_171'
Driver info: driver.version: unknown
at org.openqa.grid.internal.utils.configuration.GridNodeConfiguration.loadFromJSON(GridNodeConfiguration.java:422)
at org.openqa.grid.internal.utils.configuration.GridNodeConfiguration.loadFromJSON(GridNodeConfiguration.java:390)
at org.openqa.grid.internal.cli.GridNodeCliOptions.toConfiguration(GridNodeCliOptions.java:228)
at org.openqa.grid.internal.cli.GridNodeCliOptions.toConfiguration(GridNodeCliOptions.java:35)
at org.openqa.grid.selenium.GridLauncherV3.launch(GridLauncherV3.java:114)
at org.openqa.grid.selenium.GridLauncherV3.main(GridLauncherV3.java:81)
Caused by: org.openqa.grid.common.exception.GridConfigurationException: Expected value to be a string type: NUMBER
Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:13:22.693Z'
System info: host: 'VMT1562', ip: '192.168.0.2', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_171'
Driver info: driver.version: unknown
at org.openqa.grid.internal.utils.configuration.StandaloneConfiguration.loadFromJson(StandaloneConfiguration.java:163)
at org.openqa.grid.internal.utils.configuration.GridNodeConfiguration.loadFromJSON(GridNodeConfiguration.java:395)
... 5 more
OS: Windows 10
The text was updated successfully, but these errors were encountered: