From: RBRi <rb...@us...> - 2018-10-08 17:34:46
|
- **status**: open --> closed - **assigned_to**: RBRi --- ** [bugs:#1988] ScriptException: TypeError: Cannot find function resolvedOptions in object [object DateTimeFormat]** **Status:** closed **Group:** 2.32 **Created:** Sat Sep 08, 2018 09:04 AM UTC by Franco Qualcuno **Last Updated:** Mon Oct 08, 2018 05:34 PM UTC **Owner:** RBRi **Attachments:** - [IGPLogin.java](https://sourceforge.net/p/htmlunit/bugs/1988/attachment/IGPLogin.java) (1.6 kB; application/octet-stream) Hi guys, thanks for your excellent work. I found an issue with javascript in a web page that until yesterday (2018.09.07) works correctly. I attached the simple code that doesn't work anymore. This is the exception thrown: ~~~ Exception in thread "main" java.lang.RuntimeException: com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function resolvedOptions in object [object DateTimeFormat]. (https://igpmanager.com/app/merged.min.js?2018-09-04-1725-13231323123#65) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:305) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:539) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:399) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:316) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:483) at z_old.IGPLogin_very_smal.autenticate(IGPLogin_very_smal.java:48) at z_old.IGPLogin_very_smal.main(IGPLogin_very_smal.java:58) Caused by: com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function resolvedOptions in object [object DateTimeFormat]. (https://igpmanager.com/app/merged.min.js?2018-09-04-1725-13231323123#65) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:892) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:616) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:532) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:772) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:748) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:104) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:992) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:371) at com.gargoylesoftware.htmlunit.html.HtmlScript$2.execute(HtmlScript.java:246) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:298) ... 6 more Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find function resolvedOptions in object [object DateTimeFormat]. (https://igpmanager.com/app/merged.min.js?2018-09-04-1725-13231323123#65) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:4276) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:4254) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:4287) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:4306) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:4382) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2607) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2589) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1514) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:1002) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:111) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:422) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:330) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3570) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:122) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$2.doRun(JavaScriptEngine.java:763) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:877) ... 15 more ~~~ Thanks --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |