Subj : Keep getting initialization error
To : netscape.public.mozilla.jseng
From : ritesh.trivedi
Date : Wed Oct 12 2005 11:52 am
Hi,
I have this HTML response, which is very simple. But I keep getting
array initialization exception. This is really urgent, any help will be
greatly appreciated. Error happens when SetEvents javascript function
is called.
The error stacktrace:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[testSpec] INFO (com.canoo.webtest.engine.Context) - Current form set
to none
[testSpec] INFO (com.canoo.webtest.steps.Step) - Start Step:
setselectfield "S
et consumer type to BESTest" (3/18)
[testSpec] INFO (com.canoo.webtest.engine.Context) - Current form set
to (acti
on=3DBESConsole)
[testSpec] ERROR (com.gargoylesoftware.htmlunit.ScriptEngine) -
runtimeError: m
essage=3D[Failed to initialize collection: Expected: ]]
sourceName=3D[Embedded scrip
t] line=3D[7] lineSource=3D[null] lineOffset=3D[0]
[testSpec] org.mozilla.javascript.EvaluatorException: Failed to
initialize coll
ection: Expected: ] (Embedded script#7)
[testSpec] at
com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter.
runtimeError(StrictErrorReporter.java:114)
[testSpec] at
org.mozilla.javascript.Context.reportRuntimeError(Context.jav
a:1054)
[testSpec] at
org.mozilla.javascript.Context.reportRuntimeError(Context.jav
a:1110)
[testSpec] at
com.gargoylesoftware.htmlunit.javascript.host.Document.get(Do
cument.java:708)
[testSpec] at
org.mozilla.javascript.ScriptableObject.getProperty(Scriptabl
eObject.java:1263)
[testSpec] at
org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRunt
ime.java:1332)
[testSpec] at
org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRunt
ime.java:1321)
[testSpec] at
org.mozilla.javascript.Interpreter.interpret(Interpreter.java
:2744)
The HTML document:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Business Events Console
 | V3 Business Events
Console
Host:
C-BESAPP-02/10.17.71.190 |