[JIRA] Created: (SRC-741) NPE on shutDown command

0 views
Skip to first unread message

Christian Nelson (JIRA)

unread,
Aug 28, 2009, 2:35:31 PM8/28/09
to selenium-deve...@googlegroups.com
NPE on shutDown command
-----------------------

Key: SRC-741
URL: http://jira.openqa.org/browse/SRC-741
Project: Selenium Remote Control
Issue Type: Bug
Components: Client Driver - Java
Affects Versions: 1.0.1
Environment: OS X
Reporter: Christian Nelson


When shutting down the selenium server via the selenium-maven-plugin, which uses the selenium-java-client-driver v1.0.1, the following exception is thrown:

Stopping Selenium server...
11:15:55,007 INFO [org.openqa.selenium.server.SeleniumDriverResourceHandler] Command request: shutDown[, ] on session null
11:15:55,009 ERROR [org.openqa.selenium.server.commands.SeleniumCoreCommand] Exception running 'shutDown 'command on session null
java.lang.NullPointerException: sessionId should not be null; has this session been started yet?
at org.openqa.selenium.server.FrameGroupCommandQueueSet.getQueueSet(FrameGroupCommandQueueSet.java:214)
at org.openqa.selenium.server.commands.SeleniumCoreCommand.execute(SeleniumCoreCommand.java:34)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:549)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:364)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:125)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)Stop request sent
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
11:15:55,010 INFO [org.openqa.selenium.server.SeleniumDriverResourceHandler] Got result: ERROR Server Exception: sessionId should not be null; has this session been started yet? on session null

On the surface, this sounds like it's similar to SRC-683. I'm running selenium server version 1.0.1.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply all
Reply to author
Forward
0 new messages