-
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
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|