New issue 1917 by spark...@gmail.com: Launch hub with configuration causes
null pointer exception
http://code.google.com/p/selenium/issues/detail?id=1917
What steps will reproduce the problem?
1. Insert a grid_configuration.yml file into the root directory of the
standalone server jar file.
2. Run the standalone server as a selenium hub.
What is the expected output? What do you see instead?
The hub should start.
What version of the product are you using? On what operating system?
server standalone 2.0rc3
Please provide any additional information below.
Error report:
$ java -jar selenium-server-standalone-2.0rc3.jar -role hub
Jun 23, 2011 4:25:18 PM org.openqa.grid.selenium.GridLauncher main
INFO: Launching a selenium grid server
Jun 23, 2011 4:25:19 PM org.openqa.grid.web.Hub loadGrid1Config
INFO: Loading Grid 1.0 configuration file.
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.openqa.grid.selenium.GridLauncher.main(GridLauncher.java:63)
Caused by: java.lang.NullPointerException
at org.openqa.grid.web.Hub.loadGrid1Config(Hub.java:232)
at org.openqa.grid.web.Hub.<init>(Hub.java:123)
at org.openqa.grid.web.Hub.<clinit>(Hub.java:64)
... 1 more
The grid_confiuguration.yml file isn't detected if it is in the current
directory (even if it is in the classpath).
Comment #2 on issue 1917 by francois.reynaud: Launch hub with configuration
causes null pointer exception
http://code.google.com/p/selenium/issues/detail?id=1917
(No comment was entered for this change.)