Error forwarding the new session Empty pool of VM for setup {platform=LINUX, browserName=firefox, version=}

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Error forwarding the new session Empty pool of VM for setup {platform=LINUX, browserName=firefox, version=}

Shekhar
When I tried to run latest project file (Session 6), I am getting following error.

FAILED CONFIGURATION: @BeforeMethod launchBrowser("FF")
Error forwarding the new session Empty pool of VM for setup {platform=LINUX, browserName=firefox, version=}

1. yes I did stared grid and confirmed it is running (http://localhost:4444/grid/console)

Not sure what else I am missing in configuration

-SK
Reply | Threaded
Open this post in threaded view
|

Re: Error forwarding the new session Empty pool of VM for setup {platform=LINUX, browserName=firefox, version=}

softwaretestingforum
Administrator
And the node, did you start node as well as described here -

http://code.google.com/p/selenium/wiki/Grid2
~ seleniumtests.com
Reply | Threaded
Open this post in threaded view
|

Re: Error forwarding the new session Empty pool of VM for setup {platform=LINUX, browserName=firefox, version=}

Shekhar
This time I did both on windows machine and I am getting same message.
Not sure why I am getting platform=LINUX even if I am running it on windows.
(it it because you complied it on Linux and some entries in config about your env?)

When Accessing http://localhost:4444/wd/hub I am getting following information in browser

{"status":13,"value":{"class":"java.lang.NullPointerException","stackTrace":[{"fileName":"ExternalSessionKey.java","lineNumber":73,"className":"org.openqa.grid.internal.ExternalSessionKey","methodName":"fromWebDriverRequest"},{"fileName":"WebDriverRequest.java","lineNumber":60,"className":"org.openqa.grid.web.servlet.handler.WebDriverRequest","methodName":"extractSession"},{"fileName":"RequestHandler.java","lineNumber":233,"className":"org.openqa.grid.web.servlet.handler.RequestHandler","methodName":"getSession"},{"fileName":"RequestHandler.java","lineNumber":116,"className":"org.openqa.grid.web.servlet.handler.RequestHandler","methodName":"process"},{"fileName":"DriverServlet.java","lineNumber":84,"className":"org.openqa.grid.web.servlet.DriverServlet","methodName":"process"},{"fileName":"DriverServlet.java","lineNumber":62,"className":"org.openqa.grid.web.servlet.DriverServlet","methodName":"doGet"},{"fileName":"HttpServlet.java","lineNumber":707,"className":"javax.servlet.http.HttpServlet","methodName":"service"},{"fileName":"HttpServlet.java","lineNumber":820,"className":"javax.servlet.http.HttpServlet","methodName":"service"},{"fileName":"ServletHolder.java","lineNumber":565,"className":"org.seleniumhq.jetty7.servlet.ServletHolder","methodName":"handle"},{"fileName":"ServletHandler.java","lineNumber":479,"className":"org.seleniumhq.jetty7.servlet.ServletHandler","methodName":"doHandle"},{"fileName":"SessionHandler.java","lineNumber":225,"className":"org.seleniumhq.jetty7.server.session.SessionHandler","methodName":"doHandle"},{"fileName":"ContextHandler.java","lineNumber":1031,"className":"org.seleniumhq.jetty7.server.handler.ContextHandler","methodName":"doHandle"},{"fileName":"ServletHandler.java","lineNumber":406,"className":"org.seleniumhq.jetty7.servlet.ServletHandler","methodName":"doScope"},{"fileName":"SessionHandler.java","lineNumber":186,"className":"org.seleniumhq.jetty7.server.session.SessionHandler","methodName":"doScope"},{"fileName":"ContextHandler.java","lineNumber":965,"className":"org.seleniumhq.jetty7.server.handler.ContextHandler","methodName":"doScope"},{"fileName":"ScopedHandler.java","lineNumber":117,"className":"org.seleniumhq.jetty7.server.handler.ScopedHandler","methodName":"handle"},{"fileName":"HandlerWrapper.java","lineNumber":111,"className":"org.seleniumhq.jetty7.server.handler.HandlerWrapper","methodName":"handle"},{"fileName":"Server.java","lineNumber":349,"className":"org.seleniumhq.jetty7.server.Server","methodName":"handle"},{"fileName":"AbstractHttpConnection.java","lineNumber":452,"className":"org.seleniumhq.jetty7.server.AbstractHttpConnection","methodName":"handleRequest"},{"fileName":"BlockingHttpConnection.java","lineNumber":47,"className":"org.seleniumhq.jetty7.server.BlockingHttpConnection","methodName":"handleRequest"},{"fileName":"AbstractHttpConnection.java","lineNumber":884,"className":"org.seleniumhq.jetty7.server.AbstractHttpConnection","methodName":"headerComplete"},{"fileName":"AbstractHttpConnection.java","lineNumber":938,"className":"org.seleniumhq.jetty7.server.AbstractHttpConnection$RequestHandler","methodName":"headerComplete"},{"fileName":"HttpParser.java","lineNumber":634,"className":"org.seleniumhq.jetty7.http.HttpParser","methodName":"parseNext"},{"fileName":"HttpParser.java","lineNumber":230,"className":"org.seleniumhq.jetty7.http.HttpParser","methodName":"parseAvailable"},{"fileName":"BlockingHttpConnection.java","lineNumber":66,"className":"org.seleniumhq.jetty7.server.BlockingHttpConnection","methodName":"handle"},{"fileName":"SocketConnector.java","lineNumber":254,"className":"org.seleniumhq.jetty7.server.bio.SocketConnector$ConnectorEndPoint","methodName":"run"},{"fileName":"QueuedThreadPool.java","lineNumber":599,"className":"org.seleniumhq.jetty7.util.thread.QueuedThreadPool","methodName":"runJob"},{"fileName":"QueuedThreadPool.java","lineNumber":534,"className":"org.seleniumhq.jetty7.util.thread.QueuedThreadPool$3","methodName":"run"},{"lineNumber":-1,"className":"java.lang.Thread","methodName":"run"}]}}
-SK
Reply | Threaded
Open this post in threaded view
|

Re: Error forwarding the new session Empty pool of VM for setup {platform=LINUX, browserName=firefox, version=}

Shekhar
In reply to this post by softwaretestingforum
changed
driver = new RemoteWebDriver(new URL("http://192.168.1.5:5555/wd/hub"), capabilities);

Got this from
http://localhost:4444/grid/console?config=true&configDebug=true
listening on http://192.168.1.5:5555

Now it is opening browser. However it is not running test. It is not taking appURL to launch.

Error :
FAILED CONFIGURATION: @BeforeMethod launchBrowser("FF")
org.openqa.selenium.WebDriverException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
-SK
Reply | Threaded
Open this post in threaded view
|

Re: Error forwarding the new session Empty pool of VM for setup {platform=LINUX, browserName=firefox, version=}

softwaretestingforum
Administrator
Which version of Selenium and FF are you using?
~ seleniumtests.com
Reply | Threaded
Open this post in threaded view
|

Re: Error forwarding the new session Empty pool of VM for setup {platform=LINUX, browserName=firefox, version=}

Shekhar
selenium 2.26 (which came with your project) and FF 17.0.1
-SK
Reply | Threaded
Open this post in threaded view
|

Re: Error forwarding the new session Empty pool of VM for setup {platform=LINUX, browserName=firefox, version=}

softwaretestingforum
Administrator
You could update selenium dependency in pom to 2.28
and downgrade FF to 16. Last time I checked FF 17 had issues.
~ seleniumtests.com