Closed
Bug 306584
Opened 20 years ago
Closed 20 years ago
crashes parsing .jsp page with javascripts
Categories
(Rhino Graveyard :: Core, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: igorv, Assigned: igor)
Details
Attachments
(1 file)
|
1.27 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Build Identifier:
The page could be reflected correctly in MS IE 6.0.29 as well as Mozilla
FireFox
the complete stacktrace below :
java.lang.ArrayIndexOutOfBoundsException: -1
[java] at org.mozilla.javascript.Interpreter.getIndex
(Interpreter.java:1752)
[java] at org.mozilla.javascript.Interpreter.getPatchedStack
(Interpreter.java:2197)
[java] at org.mozilla.javascript.RhinoException.generateStackTrace
(RhinoException.java:206)
[java] at org.mozilla.javascript.RhinoException.printStackTrace
(RhinoException.java:223)
[java] at java.lang.Throwable.printStackTrace(Throwable.java:451)
[java] at
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.handleScriptExcep
tion(JavaScr
ipt.java:201)
[java] at
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.performEvent
(JavaScript.java:
175)
[java] at com.meterware.httpunit.scripting.ScriptableDelegate.doEvent
(ScriptableDelegate.java:56)
[java] at com.meterware.httpunit.WebResponse$Scriptable.load
(WebResponse.java:689)
[java] at com.meterware.httpunit.javascript.JavaScript.load
(JavaScript.java:89)
[java] at
com.meterware.httpunit.javascript.JavaScriptEngineFactory.load
(JavaScriptEngineFactory.java
:58)
[java] at com.meterware.httpunit.RequestContext.runScripts
(RequestContext.java:44)
[java] at com.meterware.httpunit.WebWindow.getResponse
(WebWindow.java:122)
[java] at com.meterware.httpunit.WebClient.getResponse
(WebClient.java:113)
[java] at bughost.bughostLoginTest.testLogin(bughostLoginTest.java:90)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
[java] at bughost.bughostLoginTest.main(bughostLoginTest.java:17)
Reproducible: Always
| Reporter | ||
Comment 1•20 years ago
|
||
rhino version used : rhino1_6R2
| Assignee | ||
Comment 2•20 years ago
|
||
| Assignee | ||
Comment 3•20 years ago
|
||
I committed the fix
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•