Re: Standard Error message displayed eventhough HttpUnitOptions.setExceptionsThrownOnScriptError (false)
Pushpinder Rattan <[email protected]>
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
--- [email protected] wrote: > Send Httpunit-develop mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, > visit > > https://lists.sourceforge.net/lists/listinfo/httpunit-develop > or, via email, send a message with subject or body > 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it > is more specific > than "Re: Contents of Httpunit-develop digest..." > > try HttpUnitOptions.setExceptionsThrownOnErrorStatus(false); alongwith that statement. thanks Pushpinder > Today's Topics: > > 1. Standard Error message displayed eventhough > > HttpUnitOptions.setExceptionsThrownOnScriptError > (false) > (Harry Soehalim) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 1 Jul 2006 14:07:31 -0700 > From: "Harry Soehalim" <[email protected]> > Subject: [Httpunit-develop] Standard Error message > displayed > eventhough > HttpUnitOptions.setExceptionsThrownOnScriptError > (false) > To: [email protected] > Message-ID: > > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > 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) > ------------- ---------------- --------------- > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://sourceforge.net/mailarchive/forum.php?forum=httpunit-develop/attachments/20060701/f8334645/attachment.html > > > ------------------------------ > > 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 > > > End of Httpunit-develop Digest, Vol 2, Issue 1 > ********************************************** > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com 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