Hi,

I'm facing the same problem than the author of a post
from the 15 june 2004... so I need help on this one.
I found no solution to avoid this:

"Hi
 
 I have a tapestry app that Im testing using jwebunit.
For no obvious 
 reason, Im getting an ArrayIndexOutOfBoundsException
while submitting a 
 form. All my tests always fail at the same point
(while clicking a Next 
 submit button on a page). I know its not jwebunit
thats throwing the 
 exception. But I"m just shooting in the air. Any
feedback is appreciated.
 
 
 Regards
 Srini
 
 
 
 
 java.lang.RuntimeException:
java.lang.ArrayIndexOutOfBoundsException: 2048
     at
org.cyberneko.html.HTMLScanner.skipMarkup(Unknown
Source)
     at 

org.cyberneko.html.HTMLScanner$ContentScanner.scanAttribute(Unknown
Source)
     at 

org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(Unknown

 Source)
     at
org.cyberneko.html.HTMLScanner$ContentScanner.scan(Unknown
Source)
     at
org.cyberneko.html.HTMLScanner.scanDocument(Unknown
Source)
     at
org.cyberneko.html.HTMLConfiguration.parse(Unknown
Source)
     at
org.cyberneko.html.HTMLConfiguration.parse(Unknown
Source)
     at
org.apache.xerces.parsers.XMLParser.parse(Unknown
Source)
     at
org.apache.xerces.parsers.DOMParser.parse(Unknown
Source)
     at
com.meterware.httpunit.NekoHTMLParser.parse(NekoHTMLParser.java:49)
     at
com.meterware.httpunit.HTMLPage.parse(HTMLPage.java:249)
     at 

com.meterware.httpunit.WebResponse.getReceivedPage(WebResponse.java:918)
     at
com.meterware.httpunit.WebResponse.access$100(WebResponse.java:49)
     at 

com.meterware.httpunit.WebResponse$Scriptable.load(WebResponse.java:572)
     at 

com.meterware.httpunit.javascript.JavaScript$Window.initialize(JavaScript.java:390)
     at
com.meterware.httpunit.javascript.JavaScript.run(JavaScript.java:80)
     at 

com.meterware.httpunit.javascript.JavaScriptEngineFactory.associate(JavaScriptEngineFactory.java:46)
     at
com.meterware.httpunit.FrameHolder.updateFrames(FrameHolder.java:82)
     at 

com.meterware.httpunit.WebWindow.updateFrameContents(WebWindow.java:184)
     at 

com.meterware.httpunit.WebClient.updateFrameContents(WebClient.java:472)
     at
com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:167)
     at
com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:111)
     at
com.meterware.httpunit.WebWindow.sendRequest(WebWindow.java:99)
     at 

com.meterware.httpunit.WebRequestSource.submitRequest(WebRequestSource.java:204)
     at
com.meterware.httpunit.WebForm.submit(WebForm.java:65)
     at
com.meterware.httpunit.SubmitButton.click(SubmitButton.java:48)
     at
net.sourceforge.jwebunit.HttpUnitDialog.submit(Unknown
Source)
     at
net.sourceforge.jwebunit.WebTester.submit(Unknown
Source)
     at
net.sourceforge.jwebunit.WebTestCase.submit(Unknown
Source)
     at 

au.com.aiaa.claims.web.record.RecordClaimUITest.testSimpleRecordClaim(RecordClaimUITest.java:190)
     at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
     at 

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
     at 

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
     at
java.lang.reflect.Method.invoke(Method.java:386)
     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
junit.framework.TestSuite.runTest(TestSuite.java:208)
     at
junit.framework.TestSuite.run(TestSuite.java:203)
     at 

org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
     at 

org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
     at 

org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)
 
     at
net.sourceforge.jwebunit.HttpUnitDialog.submit(Unknown
Source)
     at
net.sourceforge.jwebunit.WebTester.submit(Unknown
Source)
     at
net.sourceforge.jwebunit.WebTestCase.submit(Unknown
Source)
     at 

au.com.aiaa.claims.web.record.RecordClaimUITest.testSimpleRecordClaim(RecordClaimUITest.java:190)
     at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
     at 

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
     at 

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
     at
java.lang.reflect.Method.invoke(Method.java:386)
     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
junit.framework.TestSuite.runTest(TestSuite.java:208)
     at
junit.framework.TestSuite.run(TestSuite.java:203)
     at 

org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
     at 

org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
     at 
 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)"


                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to