Error about Frames


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Error about Frames

  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
    >




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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center