From: Tommaso M. <tom...@gm...> - 2020-06-12 12:59:53
|
Figured it out: eclipse was using the 64bit JVM, in the system Path was set the 32bit version. Thank you for the support. Kind regards. On Fri, Jun 12, 2020 at 8:49 AM Tommaso Morello <tom...@gm...> wrote: > Hi, > thank you for your answer. Nothing more than (IE browser): > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'AcroPDF.PDF'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'Adodb.Stream'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'AgControl.AgControl'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'DevalVRXCtrl.DevalVRXCtrl.1'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'MacromediaFlashPaper.MacromediaFlashPaper'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'PDF.PdfCtrl'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'QuickTime.QuickTime'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'QuickTimeCheckObject.QuickTimeCheck.1'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'RealPlayer'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)'.giu 10, 2020 9:11:25 > AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'RealVideo.RealVideo(tm) ActiveX Control (32-bit)'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'Scripting.Dictionary'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'SWCtl.SWCtl'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'Shell.UIHelper'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'ShockwaveFlash.ShockwaveFlash'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'Skype.Detection'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'TDCCtl.TDCCtl'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'WMPlayer.OCX'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'rmocx.RealPlayer G2 Control'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'rmocx.RealPlayer G2 Control.1'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.canvas.CanvasRenderingContext2D > isPointInPathINFORMATION: CanvasRenderingContext2D.isPointInPath() not yet > implementedgiu 10, 2020 9:11:26 AM > com.akabana.AntonioliWebScraper.AntonioliWebScrapeMain mainSEVERE: An error > occourred: elementName=[*] attributeName=[id] > attributeValue=[new_spree_user]* > > the attribute missing here is the login form. > > > > On Wed, Jun 10, 2020 at 8:44 AM <rb...@rb...> wrote: > >> Am 10. Juni 2020 08:37:14 MESZ schrieb Tommaso Morello < >> tom...@gm...>: >>> >>> Dear Community,first of all, thank you for your work. I developed a >>> simple application in JAVA using the version 2.40, Java 8, Eclipse 2019, >>> windows 7 pc. The application checks some information on an online website, >>> first performs a login action and then goes to the next page. Everything >>> works fine when it run via Eclipse, it is still ok if I generate the >>> executable jar and launch it by the same machine but, I tried to run the >>> executable jar from two other pcs (windows 10 and windows server 2012) and >>> the application fails because the login form element of the login page >>> cannot be found. I was able to install eclipse on one of the pcs (windows >>> 10) and again from Eclipse everything works fine, but the executable jar >>> generated from the new environment on the same windows 10 pc get the same >>> issue. I tried to follow instructions found in the mailing list including >>> all the libraries needed, tried to change the browser version (chrome and >>> IE), tried to select the different options provided by eclipse to generate >>> the executable. >>> Just to understand what is included in the login HtmlPage requested when >>> it fails, I tried to call the method getPageXml as first action and write >>> the result in a local html file, in that point all fail and I get the >>> errors: >>> >>> >>> >>> >>> >>> >>> >>> *INFORMATION: CanvasRenderingContext2D.isPointInPath() not yet >>> implementedgiu 10, 2020 8:34:42 AM >>> com.gargoylesoftware.htmlunit.javascript.background.DefaultJavaScriptExecutor >>> killThreadWARNING: Event loop thread JS executor for >>> com.gargoylesoftware.htmlunit.WebClient@72acb2 still alive at >>> 1591770882648giu 10, 2020 8:34:42 AM >>> com.gargoylesoftware.htmlunit.javascript.background.DefaultJavaScriptExecutor >>> killThreadWARNING: Event loop thread will be stoppedgiu 10, 2020 8:34:42 AM >>> com.akabana.AntonioliWebScraper.AntonioliWebScrapeMain mainSEVERE: An error >>> occourred: null* >>> >>> >>> Do you have any idea about what can cause the issue? >>> Thank you. >>> Kind regards, >>> Tommaso >>> >> >> Any stacktrace? >> > |