Issue 1917 in selenium: Launch hub with configuration causes null pointer exception

1 view
Skip to first unread message

sele...@googlecode.com

unread,
Jun 23, 2011, 4:34:07 PM6/23/11
to selenium-deve...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

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).

sele...@googlecode.com

unread,
Jun 24, 2011, 7:46:33 AM6/24/11
to selenium-deve...@googlegroups.com
Updates:
Status: Accepted
Owner: francois.reynaud
Labels: Component-Grid

Comment #1 on issue 1917 by francois.reynaud: Launch hub with configuration
Hello,

this was fixed by http://code.google.com/p/selenium/source/detail?r=12550.

thanks,
François

sele...@googlecode.com

unread,
Jul 3, 2011, 2:50:06 PM7/3/11
to selenium-deve...@googlegroups.com
Updates:
Status: Fixed

Comment #2 on issue 1917 by francois.reynaud: Launch hub with configuration

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages