IELaunchURL() returned HRESULT 80070012...what could be causing this?

3,223 views
Skip to first unread message

Jeff

unread,
Nov 6, 2014, 6:26:19 PM11/6/14
to seleniu...@googlegroups.com
Odd exception running on IE11/Win8.1 via RemoteWebDriver.  Anyone know what this means?  It only happens occasionally but it seems to happen more after running a few test runs against the selenium grid node.

Unexpected error launching Internet Explorer. IELaunchURL() returned HRESULT 80070012 ('There are no more files.') for URL 'http://localhost:26916/' (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 30.71 seconds
Build info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:33'
System info: host: 'selenium-hub', ip: '10.131.10.150', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.7.0_71'
Driver info: org.openqa.selenium.ie.InternetExplorerDriver
Command duration or timeout: 32.95 seconds
Build info: version: '2.43.1', revision: '5163bceef1bc36d43f3dc0b83c88998168a363a0', time: '2014-09-10 09:43:55'
System info: host: 'PBTALYY-1', ip: '10.130.0.121', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_71'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
org.openqa.selenium.WebDriverException
Command duration or timeout: 30.71 seconds
Build info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:33'
System info: host: 'selenium-hub', ip: '10.131.10.150', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.7.0_71'
Driver info: org.openqa.selenium.ie.InternetExplorerDriver
Command duration or timeout: 32.95 seconds
Build info: version: '2.43.1', revision: '5163bceef1bc36d43f3dc0b83c88998168a363a0', time: '2014-09-10 09:43:55'
System info: host: 'PBTALYY-1', ip: '10.130.0.121', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_71'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:240)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:126)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:153)
at com.bluecoat.webpulse.qa.selenium.SeleniumBase.initRemoteDriver(SeleniumBase.java:137)
at com.bluecoat.webpulse.qa.selenium.SeleniumBase.getDriver(SeleniumBase.java:89)
at com.bluecoat.webpulse.qa.selenium.SeleniumDriverFactory.get(SeleniumDriverFactory.java:87)
at com.bluecoat.webpulse.qa.selenium.SeleniumTestBase.init(SeleniumTestBase.java:37)
at com.bluecoat.webpulse.qa.threatexplorer.TestLogin.init(TestLogin.java:48)
Caused by: org.openqa.selenium.remote.SessionNotFoundException: Unexpected error launching Internet Explorer. IELaunchURL() returned HRESULT 80070012 ('There are no more files.') for URL 'http://localhost:26916/' (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 30.71 seconds
Build info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:33'
System info: host: 'selenium-hub', ip: '10.131.10.150', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.7.0_71'
Driver info: org.openqa.selenium.ie.InternetExplorerDriver
Build info: version: '2.43.1', revision: '5163bceef1bc36d43f3dc0b83c88998168a363a0', time: '2014-09-10 09:43:55'
System info: host: 'PBTALYY-1', ip: '10.130.0.121', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_71'
Driver info: driver.version: InternetExplorerDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:162)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:240)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:225)
at org.openqa.selenium.ie.InternetExplorerDriver.run(InternetExplorerDriver.java:182)
at org.openqa.selenium.ie.InternetExplorerDriver.<init>(InternetExplorerDriver.java:174)
at org.openqa.selenium.ie.InternetExplorerDriver.<init>(InternetExplorerDriver.java:150)
at sun.reflect.GeneratedConstructorAccessor31.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.server.DefaultDriverProvider.callConstructor(DefaultDriverProvider.java:59)
at org.openqa.selenium.remote.server.DefaultDriverProvider.newInstance(DefaultDriverProvider.java:53)
at org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:54)
at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:215)
at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:1)
at java.util.concurrent.FutureTask.run(Unknown Source)
at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:169)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


--
Jeff Vincent
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent

Krishnan Mahadevan

unread,
Nov 6, 2014, 11:44:34 PM11/6/14
to Selenium Users
Jeff,

Please take a look at the workaround suggested by Jim on this bug : http://code.google.com/p/selenium/issues/detail?id=7045#c2
and see if that helps you get past the problem.

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAPJK9%3DK5i-e6%3D%3DOvy_tubYcQivjos_fP9SEf7bjFePWz4oFSpw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Jeff

unread,
Nov 7, 2014, 1:21:07 AM11/7/14
to seleniu...@googlegroups.com
I tried that earlier and it didn't work.  I'll get the exact error in the morning, though I think it was similar.


For more options, visit https://groups.google.com/d/optout.

Arthy

unread,
Feb 12, 2015, 9:57:03 AM2/12/15
to seleniu...@googlegroups.com
I am seeing the same issue" Unexpected error launching Internet Explorer. IELaunchURL() returned HRESULT 80070012 ('There are no more files.') for URL 'http://localhost:62409/' (NoSuchDriver)" 

I tried ie.setCapability(InternetExplorerDriver.FORCE_CREATE_PROCESS, true); and its not fixing the issue.  

Can anyone help?

Amit

unread,
Aug 24, 2015, 3:31:09 AM8/24/15
to Selenium Users
Refer link: -
If you upgrade or degrade the native IE browser which was installed during OS installation it will not allow opening the spoon browsers. Every time we need to make the default IE browser then it will work.
Suppose while you installed the OS the default IE version is IE8 and you upgraded to IE9 for some purpose. In this case it won’t allow navigating any application in the Spoon browsers (only browser will open up) and it will simply throw the error message like “Unexpected error launching internet explorer IELaunchURL error returned 80070012”.

Amit

unread,
Aug 24, 2015, 3:31:09 AM8/24/15
to Selenium Users
Refer link: -

If you upgrade or degrade the native IE browser which was installed during OS installation it will not allow opening the spoon browsers. Every time we need to make the default IE browser then it will work.
Suppose while you installed the OS the default IE version is IE8 and you upgraded to IE9 for some purpose. In this case it won’t allow navigating any application in the Spoon browsers (only browser will open up) and it will simply throw the error message like “Unexpected error launching internet explorer IELaunchURL error returned 80070012”.


Jim Evans

unread,
Aug 24, 2015, 8:25:30 AM8/24/15
to Selenium Users
Note that the solution referred to here would only apply if you're using the product from Spoon that claims to allow you to run multiple versions of IE from the same Windows OS installation. This configuration is entirely unsupported for use with the IE driver, and I would personally go a different route.

To be perfectly clear, the IE driver works just fine on installs where the browser has been upgraded to a newer version.

Christian

unread,
May 9, 2017, 12:38:07 PM5/9/17
to Selenium Users
For me this very same message appeared when trying to execute the Selenium tests from a "psexec -i 0" environment. Tests with Chrome were running fine, but IE11 was not able to open a window. This was fixed by using "psexec \\localhost -i 0"! I cannot tell the actual reason or what the difference in the resulting environment actually is, but maybe it helps someone else as well.
Reply all
Reply to author
Forward
0 new messages