From: Tommaso M. <tom...@gm...> - 2020-06-10 06:37:40
|
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 |