From: Ronald B. <rb...@rb...> - 2013-11-21 19:55:51
|
Please open a issue including the whole stack trace. Having the page source or the application url will help also. RBRi On Fri, 22 Nov 2013 01:02:13 +0530 sridhar kura wrote: > >Hi Team, > >I'm using htmlunit 2.13 for testing one of my website. >HTMLUnit is crashing with the below exceptions. I'm getting these exception >for a select element . The same is working fine in all the browsers with >out any javascript errors. Can you guys let me know what could be the exact >reason for this. I'm not able to find the root cause from the exception >logs. > >2013-11-21 19:29:36,454 INFO >[com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine] Caught script >exception >======= EXCEPTION START ======== >Exception class=[java.lang.RuntimeException] >com.gargoylesoftware.htmlunit.ScriptException: Exception invoking setValue > at >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:677) > at >net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602) > at >net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507) > at >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:609) > at >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:584) > at >com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:985) > at >com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventHandler(EventListenersContainer.java:210) > at >com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:230) > at >com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:804) > at >com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:738) > at >com.gargoylesoftware.htmlunit.html.HtmlElement$1.run(HtmlElement.java:865) > at >net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602) > at >net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507) > at >com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:870) > at >com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:841) > at >com.gargoylesoftware.htmlunit.html.HtmlPage.setFocusedElement(HtmlPage.java:1965) > at >com.gargoylesoftware.htmlunit.html.HtmlPage.setFocusedElement(HtmlPage.java:1906) > at >com.gargoylesoftware.htmlunit.html.HtmlSelect.setSelectedAttribute(HtmlSelect.java:309) > at >com.gargoylesoftware.htmlunit.html.HtmlSelect.setSelectedAttribute(HtmlSelect.java:287) > at >com.gargoylesoftware.htmlunit.html.HtmlSelect.setSelectedAttribute(HtmlSelect.java:261) > at >com.gargoylesoftware.htmlunit.javascript.host.html.HTMLSelectElement.setValue(HTMLSelectElement.java:370) > at sun.reflect.GeneratedMethodAccessor178.invoke(Unknown Source) > at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at >net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:120) > at >net.sourceforge.htmlunit.corejs.javascript.ScriptableObject$GetterSlot.setValue(ScriptableObject.java:295) > at >net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.putImpl(ScriptableObject.java:2796) > at >net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.put(ScriptableObject.java:521) > at >net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.putProperty(ScriptableObject.java:2479) > at >net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1569) > at >net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1564) > at >net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1253) > at >net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) > at >net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) > at >com.gargoylesoftware.htmlunit.javascript.host.EventHandler.call(EventHandler.j > |