Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Other BlackBerry® Smartphones

Reply
Contributor
wills7802
Posts: 20
Registered: ‎07-05-2009
My Device: Not Specified

Re: uncaught exception java lang classcastexception

Hi mate,

 

Progress.. i think. lol.....unzipped, and ran program, it changed the screen on BB to black, now i have a white screen on the BB, with a square box in it. Inside the square box i have a circle, triangle, and a square. and under that i have the figs 507...........

Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: uncaught exception java lang classcastexception

Ok. Now, do the following.

 

Connect device to the computer.

 

Launch internet explorer and open this address: http://na.blackberry.com/eng/services/devices/

 

Hit "Update Now" button.

 

And wait until the process finished.

 

Do not disconnect device until the process finished.

 

 

Contributor
wills7802
Posts: 20
Registered: ‎07-05-2009
My Device: Not Specified

Re: uncaught exception java lang classcastexception

Ok mate, will do. Thanks, will let you know how it goes.

Mark

Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: uncaught exception java lang classcastexception

Ok.

 

Post here how it is going.

Contributor
wills7802
Posts: 20
Registered: ‎07-05-2009
My Device: Not Specified

Re: uncaught exception java lang classcastexception

Gday Mate,

 

Thank you so much. It appears to have defaulted the handset back to factory settings. That is amazing. Your a genious..Thanks again.

 Kind Regards

 

Mark

Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: uncaught exception java lang classcastexception

That's good to know that device is working now :smileyhappy:
New Member
butt07
Posts: 2
Registered: ‎05-06-2010
My Device: 8900Curve,8900Bold,Storm2

Re: uncaught exception java lang classcastexception

Thank You very much, I had the same problem on my 8900Curve youve saved my life!:smileyvery-happy:

Contributor
falcotec
Posts: 15
Registered: ‎09-21-2010
My Device: Curve 8310

Re: uncaught exception java lang classcastexception

Even if the thread is old, the problem is with me!

Have the

uncaught exception index 663 >= 505 and

uncaught exception java lang classcastexception

when starting after a battery pull,

on a Blackberry Bold 9900 not right, but a week after upgrading to 7.1.0 Build 1149 (T-Mobile Germany) with empty contacts list (even if it shows the numer of entries in the summary of the contact list) and I think the problem that ist did not show SMS notification nor WhatsApp notifiction in the "status line" until the screen touched or the trackpad was touched.

Any ideas at RIM?

Hall of Famer II
sdgardne
Posts: 48,792
Registered: ‎11-28-2008
My Device: Z30, Z10 & Q10 (10.2.2.1531), Playbook (2.1.0.1526)

Re: uncaught exception java lang classcastexception

Hello,

 

First...


falcotec wrote:

Any ideas at RIM?


This site is a user-to-user community, not a user-to/from-RIM channel for any formal communication.

 

Next...


falcotec wrote:

 

uncaught exception index 663 >= 505 and

uncaught exception java lang classcastexception


 

There's pretty much no diagnosing those -- they are the equivalent of the random errors in Windows for which tracing the root cause is fruitless. Basically, these are the last out in the programming code -- some event occurred for which there is no handler in the code. The fix is a code update that handles the event...but, again, knowing what the event is is pretty much impossible. So, there are a few things to try:

 

Sometimes, the code simply becomes corrupt and needs to be refreshed -- just like a reboot:

  • Anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.


If it won't boot up cleanly, then you may need to try Safe Mode:

 

    • KB17877 How to start a BlackBerry smartphone in safe mode

There might be an updated code set from the carrier -- check them via this portal:

 

The toughest possible cause is a badly behaving app. To find it, there are a couple of options. One is to see if you can read the log file:

Go to the home screen. Hold down the "alt" key and type 'lglg'. (You will not see anything while you type).This will bring up the log file. Scroll down (probably many pages) untill you see a line that says 'uncaught execption'. Click on this line. The name of the app will be in the info. Alternative methods for bringing up the logs are in this KB:


  • KB05349How to enable, access, and extract the event logs on a BlackBerry smartphone

The other method is to remove apps one at a time, waiting a while in between (I usually recommend a week), until the problem ceases...thereby discovering the offending app. Still another method is to reload the BB OS cleanly, leaving some time between adding other apps onto the BB so as to be able to determine exactly which one is the cause.

 

 Good luck and let us know!




Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4   Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA   Display/Scan Bar Code
Contributor
falcotec
Posts: 15
Registered: ‎09-21-2010
My Device: Curve 8310

Re: uncaught exception java lang classcastexception

Hi,


This site is a user-to-user community, not a user-to/from-RIM channel for any formal communication.


Is there such a possibility to contact RIM or send logs or ...?

 


There's pretty much no diagnosing those -- they .......... etty much impossible. So, there are a few things to try:


 So why is there some logs or Error codes, or... where could we put those info and for example screenshots as I do have strange screens when using the search field.

Or other debugging: how could I find out if the hardware is broken? For example RAM is defect or something...