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

BlackBerry® OS Smartphones

New Member
Posts: 1
Registered: ‎09-16-2012
My Device: style
My Carrier: sprint

I need help with an error message

Has anyone run across this error   java.lang.class cast exception ? I dont know what caused it and how to fix it. It also seems to be killing my battery life. Any suggestions?  Thanks


Guru I
Posts: 16,194
Registered: ‎07-23-2008
My Device: Torch 9850/ Playbook
My Carrier: VerizonWireless

Re: I need help with an error message

Hi and welcome to the forums!


Read user sgardne'spost on how to troubleshoot the cause of the error message.

Let me know if you agree with the steps and how you want to proceed.




uncaught exception java lang classcastexception dated 06-11-2012


Click Accept as Solution for posts that have solved your issue(s)!
Be sure to click Like! for those who have helped you.

Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

Follow Bifocals on Twitter