View Single Post
Old 04-01-2008, 02:08 AM   #1
pa4o85
Thumbs Must Hurt
 
Join Date: May 2007
Location: Bulgaria
Model: none
PIN: N/A
Carrier: Mtel
Posts: 150
Default Big problem: ArrayIndexOutOfBoundsException !?!?!

Please Login to Remove!

I have made an application and have opened a new page that contains a lot of ui components i.e. about 50 - 60 ui components like label fields, text fields, number fields etc. So I build my application with net.rim library with JDE 4.2.0. When I run the application on 8120, 8300 and 8800 simulator it is running and everything is ok. When I tried to run it in 8100 simulator and 8100 handheld in this exact page it throws java.lang.ArrayIndexOutOfBoundsException. I tried so many possibilities to catch the exception. I just don't know where exactly it is thrown. In fact when i surround the code where it possibly crashes with try-catch the exception is not catched at all. But it just makes no sence because on the other simulators it has not crashed. Has someone had a problem like this ? I am very confused.

P.S. I am almost sure that i have not had a code where i pass over the size of an array. Otherwise it would not run on the 8120, 8300 or 8800 simulators. Thanks!
Offline   Reply With Quote