New Selenium Marionette connections will no longer be accepted

When I run my java program, I get this error message:

1494797744010   geckodriver INFO    Listening on 127.0.0.1:5968
1494797744672   geckodriver::marionette INFO    Starting browser \\?\C:\Program Files\Mozilla Firefox\firefox.exe with args ["-marionette"]
1494797744951   addons.manager  ERROR   startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.create]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource://gre/modules/FileUtils.jsm J::a FvialSecUrtiiplts _egrertoDri:r  r:e:s oluirncee 70://gre/modul"e s /dAadtdao:n Mnaon]a gSetra.cjks mt,r alcien:e  F165i7l:e UNtSi_lEsR_RgOeRt_DNiOrT(_)I@NrIeTsIoAuLrIcZeE:D/:/ gAre/moddduolneMsa/nFaigleerU tiisl sn.ojts mi:n7i0t i<a lFiizleedU
tils_getFile()@resource://gre/modules/FileUtils.jsm:42 < validateBlocklist()@resource://gre/modules/AddonManager.jsm:671 < startup()@resource://gre/modules/AddonManager.jsm:834 < startup()@resource://gre/modules/AddonManager.jsm:3129 < observe()@resource://gre/components/addonManager.js:65
1494797746182   Marionette  INFO    Listening on port 50911
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
maj 14, 2017 11:35:46 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C

      

Some new errors appear while the program is running:

JavaScript error: resource://gre/modules/FileUtils.jsm, line 70: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.create]
JavaScript error: resource://app/modules/WindowsJumpLists.jsm, line 403: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIJumpListShortcut.app]
JavaScript error: resource://app/modules/WindowsJumpLists.jsm, line 403: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIJumpListShortcut.app]
JavaScript error: https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.pl.LabDolPUOAM.O/m=gapi_iframes,gapi_iframes_style_common/rt=j/sv=1/d=1/ed=1/am=AQ/rs=AGLTcCNgJpGnsPOpCNGmcIvZ9rnqApDcrQ/cb=gapi.loaded_0, line 52: TypeError: a is null
JavaScript error: https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.pl.LabDolPUOAM.O/m=gapi_iframes,gapi_iframes_style_common/rt=j/sv=1/d=1/ed=1/am=AQ/rs=AGLTcCNgJpGnsPOpCNGmcIvZ9rnqApDcrQ/cb=gapi.loaded_0, line 52: TypeError: a is null

      

Eventually I get this information and the program stops working:

1494798016809   Marionette  INFO    New connections will no longer be accepted

      

What could be causing this error and how can I fix it? I am using Firefox 53.0.2 and geckodriver 0.16.1

+3


source to share


1 answer


Here is the answer to your question:

  • The first set of errors you see as 1494797744951 addons.manager ERROR startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE)

    is that you haven't configured the geckodriver to suppress / ignore these errors in the console. But they are harmless, and if not ignored / suppressed, you should live well with them.
  • The second set of errors that you see JavaScript error: resource://gre/modules/FileUtils.jsm

    are JavaScript errors, which again reflect that you haven't configured the geckodriver properly to ignore or suppress JavaScript errors appearing in the console. Again, they are harmless, and if not ignored / suppressed, you should live well with them.

  • The last set of errors you see New connections will no longer be accepted

    is something serious Marionette

    , complaining, which essentially means that you are trying to execute a test step that geckodriver cannot reach. Hence, you may need to change your geckodriver code to accomplish this task.



Let me know if this answers your question.

+1


source







All Articles