RuntimeException: Firefox refused shutdown while preparing a profile

19 views
Skip to first unread message

Kevin

unread,
Oct 7, 2008, 6:29:33 PM10/7/08
to selenium-users...@googlegroups.com
*I'm getting the following run time exception below, has anyone seen this before? Any help resolving this error would be greatly appreciated!*

*>C:\Sun\SDK5_5\jdk\jre\bin\java -jar C:\SeleniumJarFiles\selenium-server.jar -htmlSuite "*firefox" "http://www.blockbuster.com" "C:\SeleniumTestCases\TestCase2.html" "c:\output.txt" -firefoxProfileTemplate "c:\FireFoxProfile" \\ 19:48.202 INFO - Java: Sun Microsystems Inc. 10.0-b22 \\ 19:48.202 INFO - OS: Windows XP 5.1 x86 \\ 19:48.202 INFO - v1.0-beta-1 [2201], with Core v1.0-beta-1 [1994] \\ 19:48.265 INFO - Version Jetty/5.1.x \\ 19:48.265 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver] \\ 19:48.265 INFO - Started HttpContext[/selenium-server,/selenium-server] \\ 19:48.265 INFO - Started HttpContext[/,/] \\ 19:48.281 INFO - Started SocketListener on 0.0.0.0:4444 \\ 19:48.281 INFO - Started org.mortbay.jetty.Server@6d084b \\ 19:48.468 INFO - Preparing Firefox profile... \\ L suite exception seen: \\ a.lang.RuntimeException: Firefox refused shutdown while preparing a profile \\ at org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLauncher.waitForFullProfileToBeCreated(FirefoxCustomProfileLauncher.java:277) \\ at org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLauncher.launch(FirefoxCustomProfileLauncher.java:147) \\ at org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher.launchHTMLSuite(AbstractBrowserLauncher.java:20) \\ at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:93) \\ at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:141) \\ at org.openqa.selenium.server.SeleniumServer.runHtmlSuite(SeleniumServer.java:1138) \\ at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:386) \\ sed by: org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLauncher$FileLockRemainedException: Lock file still present! C:\DOCUME~1\KEVINC~1\LOCALS~1\Temp\customProfileDir988296\parent.lock \\ at org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLauncher.waitForFileLockToGoAway(FirefoxCustomProfileLauncher.java:235) \\ at org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLauncher.waitForFullProfileToBeCreated(FirefoxCustomProfileLauncher.java:275) \\ ... 6 more \\ 20:09.187 INFO - Shutting down...*

Kevin

unread,
Oct 7, 2008, 7:00:59 PM10/7/08
to selenium-users...@googlegroups.com
I actually figured it out myself, but I thought it might be good to leave to post up in case someone else has the same problem. It seems that the RC doesn't like FireFox 3. I down graded to Firefox 2 and the problem went away. I of course have a new problem but I will work on that one some more before posting on it.
Reply all
Reply to author
Forward
0 new messages