Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

0
error while starting grid hub java.lang.NullPointerException

Open 1 Answers 425 Views
0 1

Hi,

I started my grid hub and it says that "Selenium Grid hub is up and running" but when I go to "http://localhost:4444/wd/hub", it throws this error.

// http://localhost:4444/wd/hub
{
  "status": 13,
  "value": {
    "class": "java.lang.NullPointerException",
    "stackTrace": [
      {
        "fileName": "ExternalSessionKey.java",
        "className": "org.openqa.grid.internal.ExternalSessionKey",
        "methodName": "fromWebDriverRequest",
        "lineNumber": 77
      },
      {
        "fileName": "WebDriverRequest.java",
        "className": "org.openqa.grid.web.servlet.handler.WebDriverRequest",
        "methodName": "extractSession",
        "lineNumber": 62
      },
      {
        "fileName": "RequestHandler.java",
        "className": "org.openqa.grid.web.servlet.handler.RequestHandler",
        "methodName": "getSession",
        "lineNumber": 239
      },
 
    ]
  }
}
 
Can you please help.
Thanks!

1 Answer

0
0
Can you try connecting mode and post the output here???
answered by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...