DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Hybrid View

  1. #1
    Ms. Ami Choksi Guest

    Error about Frames


    Hello,
    Has anyone come across the following error? If any solution or reason
    for the error is known. Please send me reply.

    Exception in thread "AWT-Windows" java.lang.ArrayIndexOutOfBoundsException:
    -1 < 0
    Stack trace is disabled. Set JAVA_COMPCMD=STA(CKTRACE) to enable.

    From:-

    Ami Choksi


  2. #2
    Volker Held Guest

    Re: Error about Frames

    Hi,

    obviously you use an array and try to access an non-exitant element -
    you need to make sure you remain within your array´s boundaries and you
    must catch that exception - either by throwing it to your catch routine
    or by nesting the code statements that are responsible in the try/catch
    clause.....

    Hope that helps




    Ms. Ami Choksi wrote:
    > Hello,
    > Has anyone come across the following error? If any solution or reason
    > for the error is known. Please send me reply.
    >
    > Exception in thread "AWT-Windows" java.lang.ArrayIndexOutOfBoundsException:
    > -1 < 0
    > Stack trace is disabled. Set JAVA_COMPCMD=STA(CKTRACE) to enable.
    >
    > From:-
    >
    > Ami Choksi
    >




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links