How to Avoid TimeOut Exceptions?

258 views
Skip to first unread message

saorabh singh

unread,
Aug 20, 2012, 8:29:52 AM8/20/12
to fighting-l...@googlegroups.com
Hi,

I am new to this FLB, so while trying this feature i got a Exception (fyi, this Exception is not observed in Debug MODE of application):

org.openqa.selenium.WebDriverException: waiting for evaluate.js load failed; duration or timeout: 10.28 seconds
Build info: version: '2.13.0', revision: '14793', time: '2011-11-18 13:17:39'
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.6.0_27'
Driver info: driver.version: RemoteWebDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:147)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:113)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:416)
at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:332)
at com.googlecode.fightinglayoutbugs.WebPage.executeJavaScript(WebPage.java:306)
at com.googlecode.fightinglayoutbugs.WebPage.stopJavaScriptAnimations(WebPage.java:74)
at com.googlecode.fightinglayoutbugs.WebPage.<init>(WebPage.java:70)
at Selenium.main(Selenium.java:30)
Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: waiting for evaluate.js load failed
Build info: version: '2.13.0', revision: '14793', time: '2011-11-18 13:17:39'
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.6.0_27'
Driver info: driver.version: unknown
at <anonymous class>.<anonymous method>(file:///C:/DOCUME~1/sinsa17/LOCALS~1/Temp/anonymous6193977195014900414webdriver-profile/extensions/fxdr...@googlecode.com/components/driver-component.js -> file:///C:/DOCUME~1/sinsa17/LOCALS~1/Temp/anonymous6193977195014900414webdriver-profile/extensions/fxdr...@googlecode.com/components/firefoxDriver.js:214)
at <anonymous class>.<anonymous method>(resource://fxdriver/modules/utils.js:9522)
at <anonymous class>.<anonymous method>(resource://fxdriver/modules/utils.js:9516)
Aug 20, 2012 5:43:11 PM org.openqa.selenium.os.CommandLine destroy
INFO: Process destruction entered a last-ditch phase that shouldn't happen. File an issue if you see this message

Regards,
Saorabh Singh

Michael Tamm

unread,
Aug 21, 2012, 2:22:48 AM8/21/12
to fighting-l...@googlegroups.com
I have not seen this before. Looks like the stopJavaScriptAnimations method interferes with WebDriver :(

Do you get this error often? Always on the same page? If so, could you please provide the URL of that page?

Kind regards, Michael 

2012/8/20 saorabh singh <kun...@gmail.com>

saorabh singh

unread,
Aug 22, 2012, 3:42:09 AM8/22/12
to fighting-l...@googlegroups.com, michae...@googlemail.com
Hi,
No, This is a random issue.

Regards,
Saorabh Singh
Kind regards, Michael 

2012/8/20 saorabh singh <kun...@gmail.com>
at <anonymous class>.<anonymous method>(file:///C:/DOCUME~1/sinsa17/LOCALS~1/Temp/anonymous6193977195014900414webdriver-profile/extensions/fxdri...@googlecode.com/components/driver-component.js -> file:///C:/DOCUME~1/sinsa17/LOCALS~1/Temp/anonymous6193977195014900414webdriver-profile/extensions/fxdri...@googlecode.com/components/firefoxDriver.js:214)
at <anonymous class>.<anonymous method>(resource://fxdriver/modules/utils.js:9522)
at <anonymous class>.<anonymous method>(resource://fxdriver/modules/utils.js:9516)
Aug 20, 2012 5:43:11 PM org.openqa.selenium.os.CommandLine destroy
INFO: Process destruction entered a last-ditch phase that shouldn't happen. File an issue if you see this message

Regards,
Saorabh Singh

Innokenty Shuvalov

unread,
May 18, 2013, 4:54:55 PM5/18/13
to fighting-l...@googlegroups.com, michae...@googlemail.com
Proudly reopening a thread with a message that this error is not connected to this FLB-project. I just ended up here while googling this exception. It is somehow connected with running javascript with selenium though. So, don't worry about your code I guess..
Reply all
Reply to author
Forward
0 new messages