-
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
-
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
Forum Rules
|
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
|
Bookmarks