解决org.openqa.selenium.WebDriverException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms org.springframework.beans.BeanInstantiation

解决方法为将selenium-server-standalone-2.37.0.jar升级至selenium-server-standalone-2.41.0.jar即可。

下载地址:http://selenium-release.storage.googleapis.com/2.41/selenium-server-standalone-2.41.0.jar

这里是因为更新firefox所导致的问题,从27更新到28.0所致。

错误如下:

WARN <init>, HHH000409: Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values; consider using org.hibernate.id.UUIDGenerator instead
ERROR prepareTestInstance, Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@619eb7] to prepare test instance [com.infomorrow.AllUnitStory@fb182b]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:312)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:284)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sendReportPageStep' defined in file [D:\develop\webtest\target\classes\com\infomorrow\Step\SendReportPageStep.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.infomorrow.Step.SendReportPageStep]: Constructor threw exception; nested exception is java.lang.RuntimeException: org.openqa.selenium.WebDriverException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
addons.xpi-utils: XPI Database saved, setting schema version preference to 15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
System JS : ERROR resource://ntab/NTabDB.jsm:224 - NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAppShellService.hiddenDOMWindow]
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: C:\Users\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: Directory state JSON differs: cache [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788},"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000}}}] state [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000},"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\Users\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions.json
*** LOG addons.xpi-utils: Successfully read XPI database
*** LOG addons.xpi: No changes found
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** LOG addons.repository: No addons.json found.
*** LOG DeferredSave/addons.json: Save changes
*** LOG DeferredSave/addons.json: Starting timer
*** LOG DeferredSave/addons.json: Starting write
*** LOG DeferredSave/addons.json: Write succeeded

Command duration or timeout: 54.75 seconds
Build info: version: '2.37.0', revision: 'a7c61cbd68657e133ae96672cf995890bad2ee42', time: '2013-10-18 09:51:02'
System info: host: 'Abby-PC', ip: '169.254.126.2', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_15'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1007)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:953)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
... 25 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.infomorrow.Step.SendReportPageStep]: Constructor threw exception; nested exception is java.lang.RuntimeException: org.openqa.selenium.WebDriverException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
addons.xpi-utils: XPI Database saved, setting schema version preference to 15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
System JS : ERROR resource://ntab/NTabDB.jsm:224 - NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAppShellService.hiddenDOMWindow]
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: C:\Users\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: Directory state JSON differs: cache [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788},"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000}}}] state [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000},"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\Users\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions.json
*** LOG addons.xpi-utils: Successfully read XPI database
*** LOG addons.xpi: No changes found
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** LOG addons.repository: No addons.json found.
*** LOG DeferredSave/addons.json: Save changes
*** LOG DeferredSave/addons.json: Starting timer
*** LOG DeferredSave/addons.json: Starting write
*** LOG DeferredSave/addons.json: Write succeeded

Command duration or timeout: 54.75 seconds
Build info: version: '2.37.0', revision: 'a7c61cbd68657e133ae96672cf995890bad2ee42', time: '2013-10-18 09:51:02'
System info: host: 'Abby-PC', ip: '169.254.126.2', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_15'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1000)
... 41 more
Caused by: java.lang.RuntimeException: org.openqa.selenium.WebDriverException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
addons.xpi-utils: XPI Database saved, setting schema version preference to 15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
System JS : ERROR resource://ntab/NTabDB.jsm:224 - NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAppShellService.hiddenDOMWindow]
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: C:\Users\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: Directory state JSON differs: cache [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788},"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000}}}] state [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000},"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\Users\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions.json
*** LOG addons.xpi-utils: Successfully read XPI database
*** LOG addons.xpi: No changes found
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** LOG addons.repository: No addons.json found.
*** LOG DeferredSave/addons.json: Save changes
*** LOG DeferredSave/addons.json: Starting timer
*** LOG DeferredSave/addons.json: Starting write
*** LOG DeferredSave/addons.json: Write succeeded

Command duration or timeout: 54.75 seconds
Build info: version: '2.37.0', revision: 'a7c61cbd68657e133ae96672cf995890bad2ee42', time: '2013-10-18 09:51:02'
System info: host: 'Abby-PC', ip: '169.254.126.2', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_15'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
at com.infomorrow.help.WebDriverHelp.getWebDriver(WebDriverHelp.java:45)
at com.infomorrow.Step.SendReportPageStep.<init>(SendReportPageStep.java:259)
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.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
... 43 more
Caused by: org.openqa.selenium.WebDriverException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
addons.xpi-utils: XPI Database saved, setting schema version preference to 15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
System JS : ERROR resource://ntab/NTabDB.jsm:224 - NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAppShellService.hiddenDOMWindow]
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: C:\Users\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: Directory state JSON differs: cache [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788},"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000}}}] state [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000},"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\Users\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions.json
*** LOG addons.xpi-utils: Successfully read XPI database
*** LOG addons.xpi: No changes found
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** LOG addons.repository: No addons.json found.
*** LOG DeferredSave/addons.json: Save changes
*** LOG DeferredSave/addons.json: Starting timer
*** LOG DeferredSave/addons.json: Starting write
*** LOG DeferredSave/addons.json: Write succeeded

Command duration or timeout: 54.75 seconds
Build info: version: '2.37.0', revision: 'a7c61cbd68657e133ae96672cf995890bad2ee42', time: '2013-10-18 09:51:02'
System info: host: 'Abby-PC', ip: '169.254.126.2', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_15'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
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:193)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:111)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:129)
at com.infomorrow.help.WebDriverHelp.getWebDriver(WebDriverHelp.java:21)
... 49 more
Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
addons.xpi-utils: XPI Database saved, setting schema version preference to 15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
System JS : ERROR resource://ntab/NTabDB.jsm:224 - NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAppShellService.hiddenDOMWindow]
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: C:\Users\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: Directory state JSON differs: cache [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788},"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000}}}] state [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000},"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\Users\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions.json
*** LOG addons.xpi-utils: Successfully read XPI database
*** LOG addons.xpi: No changes found
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** LOG addons.repository: No addons.json found.
*** LOG DeferredSave/addons.json: Save changes
*** LOG DeferredSave/addons.json: Starting timer
*** LOG DeferredSave/addons.json: Starting write
*** LOG DeferredSave/addons.json: Write succeeded

Build info: version: '2.37.0', revision: 'a7c61cbd68657e133ae96672cf995890bad2ee42', time: '2013-10-18 09:51:02'
System info: host: 'Abby-PC', ip: '169.254.126.2', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_15'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:108)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:250)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:197)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:190)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:108)
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.server.DefaultDriverFactory.callConstructor(DefaultDriverFactory.java:62)
at org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:56)
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(FutureTask.java:262)
at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:169)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

上一篇:SSIS 调试和故障排除


下一篇:windows上安装python3里没有pip问题,解决办法!