Skip to Content

Javascript error while invoking applet method

Hi All,

I am using some javascript to handle the applet in an irpt file. When I invoke the method getRowCount() on an applet(document.appletname.getRowCount()) I am getting the below error. But this error comes only when my network bandwidth is low. When my network bandwidht is high I am not getting this error. Does anyone know how to handle this error .

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

Timestamp: Wed, 6 Jul 2011 03:31:28 UTC

Message: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

Line: 192

Char: 2

Code: 0

Thanks in advance

Shaji

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 06, 2011 at 06:17 AM

    Hi,

    Have you tried following code:

    document.AppletName.getGridObject().getRowCount()

    also test on IE.

    hope this helps!!

    Regards,

    Manoj Bilthare

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.