Selenium Session null

7 views
Skip to first unread message

mloverme

unread,
Mar 19, 2009, 11:34:53 PM3/19/09
to selenium-users...@googlegroups.com
Hey All,

I keep getting a null session when trying to run a test.  I have tried changing the browser and restarting my computer but neither works.  Below is the stack trace:

[junit] Could not start Selenium session: null\\ [junit] java.lang.RuntimeException: Could not start Selenium session: null\\ [junit]     at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:89)\\ [junit]     at com.macom.wsbu.uas.gui.AbstractSelTestCase.setUp(AbstractSelTestCase.java:47)\\ [junit]     at com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.java:212)\\ [junit] Caused by: java.lang.NullPointerException\\ [junit]     at java.net.URLEncoder.encode(URLEncoder.java:186)\\ [junit]     at com.thoughtworks.selenium.DefaultRemoteCommand.urlEncode(DefaultRemoteCommand.java:86)\\ [junit]     at com.thoughtworks.selenium.DefaultRemoteCommand.getCommandURLString(DefaultRemoteCommand.java:59)\\ [junit]     at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:86)\\ [junit]     at com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.java:262)\\ [junit]     at com.thoughtworks.selenium.HttpCommandProcessor.start(HttpCommandProcessor.java:223)\\ [junit]     at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:81)\\ [junit]     ... 12 more

line 47 of AbstractSelTestCase is simply calling the start method.  Please let me know if anyone has suggestions.

-Mike

PS - I am using the latest jars

Reply all
Reply to author
Forward
0 new messages