I am receiving the following exception when calling a JavaScript method from a Java applet using JSObject call mechanism.
netscape.javascript.JSException: Unspecified error invoking method or accessing property "handOver"
at sun.plugin2.main.client.MessagePassingJSObject.newJSException(Unknown Source)
at sun.plugin2.main.client.MessagePassingJSObject.waitForReply(Unknown Source)
at sun.plugin2.main.client.MessagePassingJSObject.call(Unknown Source)
at Screen.Canvas.Pen.handleCall(Canvas.java:359)
The JavaScript method handOver
contains code which may take longer to execute. Is it possible that this exception is raised since there is a time limit for Java to JavaScript calls ? Is there any way to avoid this time-limit?