Standard Error message displayed eventhough HttpUnitOptions.setExceptionsThrownOnScriptError (false)

"Harry Soehalim" <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
Hi all,

I was wondering why am I still getting the standard error message eventhough
I have set HttpUnitOptions.setExceptionsThrownOnScriptError (false). Any
ideas?

thanks,
Harry

Here's the error message:
------------- Standard Error -----------------
com.meterware.httpunit.NoSuchFrameException: No frame named frm_top is
currently active
    at org.mozilla.javascript.WrappedException.<init>(WrappedException.java
:56)
    at org.mozilla.javascript.WrappedException.wrapException(
WrappedException.java:111)
    at org.mozilla.javascript.ScriptableObject.setBySetter(
ScriptableObject.java:296)
    at org.mozilla.javascript.ScriptableObject.put(ScriptableObject.java
:256)
    at com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.put(
JavaScript.java:273)
    at org.mozilla.javascript.ScriptableObject.putProperty(
ScriptableObject.java:1476)
    at org.mozilla.javascript.ScriptRuntime.setProp(ScriptRuntime.java:842)
    at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2046)
    at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2163)
    at org.mozilla.javascript.InterpretedFunction.call(
InterpretedFunction.java:58)
    at
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.performEvent(
JavaScript.java:172)
    at com.meterware.httpunit.scripting.ScriptableDelegate.doEvent(
ScriptableDelegate.java:56)
    at com.meterware.httpunit.WebResponse$Scriptable.load(WebResponse.java
:689)
    at com.meterware.httpunit.javascript.JavaScript.load(JavaScript.java:89)
    at com.meterware.httpunit.javascript.JavaScriptEngineFactory.load(
JavaScriptEngineFactory.java:58)
    at com.meterware.httpunit.RequestContext.runScripts(RequestContext.java
:44)
    at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:122)
    at com.meterware.httpunit.WebWindow.sendRequest(WebWindow.java:110)
    at com.meterware.httpunit.WebRequestSource.submitRequest(
WebRequestSource.java:253)
    at com.meterware.httpunit.WebRequestSource.submitRequest(
WebRequestSource.java:232)
    at com.meterware.httpunit.WebForm.submitRequest(WebForm.java:96)
    at com.meterware.httpunit.WebForm.doFormSubmit(WebForm.java:107)
    at com.meterware.httpunit.WebForm.submit(WebForm.java:69)
    at com.meterware.httpunit.WebForm.submit(WebForm.java:58)
    at
com.real.qa.rpiws.usersignup.UserSignupServiceTestBase.createGamePassUser(
UserSignupServiceTestBase.java:458)
    at
com.real.qa.rpiws.usersignup.OfferRequestGamePassTest.testExistingGamePassUser
(OfferRequestGamePassTest.java:1444)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(
JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(
JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(
JUnitTestRunner.java:567)
------------- ---------------- ---------------

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Httpunit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/httpunit-develop
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.