selenium icon indicating copy to clipboard operation
selenium copied to clipboard

NPE when running selenium 3.0-beta4 jar with nodeConfig file that doesn't have registerCycle defined

Open smccarthy opened this issue 10 years ago • 0 comments

Meta -

OS: OSX 10.11.6

Selenium Version: 3.0-beta4

Browser: N/A

java -version java version "1.8.0_77" Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)

Browser Version:

Expected Behavior - No NPE. Node to start correctly. Default registerCycle to 5000

Actual Behavior - NPE. Node does not start

Steps to reproduce -

java -jar /tmp/webdriver/3.0.0-beta4.jar -role wd -nodeConfig node_5555.json

{
  "capabilities": [
    {
      "browserName": "firefox",
      "maxInstances": 5,
      "seleniumProtocol": "WebDriver"
    }
  ],
    "maxSession": 3,
    "port": 5555,
    "register": true,
    "unregisterIfStillDownAfter": 10000,
    "hubPort": 4444,
    "hubHost": "127.0.0.1",
    "nodeStatusCheckTimeout": 10000,
    "downPollingLimit": 0
}

Here is the console : https://gist.github.com/smccarthy/9871abb8daa292b4169392b88e644b0c

smccarthy avatar Oct 07 '16 16:10 smccarthy