[grid] Exception on stopping Selenium

30 views
Skip to first unread message

Neha Chachra

unread,
Dec 29, 2009, 11:06:40 PM12/29/09
to seleniu...@googlegroups.com
Hi, 

I've been getting this exception rather often lately. When I try to called selenium.stop() from selenium.py, the whole thing crashes with this error:

error shutting down: 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 500 </title>
</head>
<body><h2>HTTP ERROR: 500</h2><pre>INTERNAL_SERVER_ERROR</pre>
<p>RequestURI=/selenium-server/driver/</p><h3>Caused by:</h3><pre>java.lang.NullPointerException
at com.thoughtworks.selenium.grid.hub.remotecontrol.GlobalRemoteControlPool.releaseForSession(GlobalRemoteControlPool.java:105)
at com.thoughtworks.selenium.grid.hub.remotecontrol.commands.TestCompleteCommand.execute(TestCompleteCommand.java:23)
at com.thoughtworks.selenium.grid.hub.HubServlet.forward(HubServlet.java:52)
at com.thoughtworks.selenium.grid.hub.HubServlet.process(HubServlet.java:41)
at com.thoughtworks.selenium.grid.hub.HubServlet.doPost(HubServlet.java:31)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:459)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
at org.mortbay.jetty.Server.handle(Server.java:303)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:735)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:636)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
</pre>
<p><i><small><a href="http://jetty.mortbay.org/">Powered by Jetty://</a></small></i></p><br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                

</body>
</html>


Does anyone have an idea why this might be happening? I hope someone can help.

Thanks!

-neha

Santiago Suarez Ordoñez

unread,
Jan 9, 2010, 8:20:28 PM1/9/10
to selenium-users
Which version of the RC server do you have?

Santi


--

You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.

Neha Chachra

unread,
Jan 9, 2010, 8:24:30 PM1/9/10
to seleniu...@googlegroups.com
Hi Santi, I'm using version 1.0.1

Thanks,

Neha

Neha Chachra

unread,
Jan 9, 2010, 8:38:16 PM1/9/10
to seleniu...@googlegroups.com
I'm sorry, I am not getting that error anymore. I didn't realize it was a reply to my older question.

As far as I remember, it was happening because selenium was already stopped (because of some error or my previous call to stop()). Calling Selenium when it's already stopped was throwing out that error. 

Thanks,

Neha

Santiago Suarez Ordoñez

unread,
Jan 9, 2010, 10:05:53 PM1/9/10
to selenium-users
Ah, got it. Glad to hear that.

Santi
Reply all
Reply to author
Forward
0 new messages