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

BlackBerry® Bold™

Reply
New Contributor
Plorenzo
Posts: 5
Registered: ‎03-24-2013
My Device: Bold 9900
My Carrier: Claro Dominican Republic
Accepted Solution

Uncaught exception: java.lang.NullPointerException

Hello, I need help with my bb 9900, OS 7.1 paquete 1424 (v7.1.0428, platform 5.1.0338). Some of the apps keeps saying this error, like SMS, BBM, and email. The other apps are still working. This problem start happening when I erased all the messages from one of my email accounts. After I erased it, I did a shut down with ctrl alt del, and when it came up it wasn't doing anything so I reboot it several times by pulling out the battery and it started to respond after that I realized that the emails icons were gone. Right now with the last reboot, the BBM is apparently working, but with the email account I tried erasing and adding them several times, but I can't see any email icon, only the general one but when I try to open it doesn't do anything, but I can see that I have emails. Now the BBM just give me this error: uncaught exception : application net_rim_bb_qm_peer(320) is not responding; process terminated., and now the phone is freeze. I'm going to reboot it again :smileysad: Need help!
Please use plain text.
Hall of Famer II
sdgardne
Posts: 46,979
Registered: ‎11-28-2008
My Device: Z30, Z10 & Q10 (10.2.1.3247), Playbook (2.1.0.1526)
My Carrier: TMobile USA

Re: Uncaught exception: java.lang.NullPointerException

Hi and Welcome to the Community!!

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
Please use plain text.
New Contributor
Plorenzo
Posts: 5
Registered: ‎03-24-2013
My Device: Bold 9900
My Carrier: Claro Dominican Republic

Re: Uncaught exception: java.lang.NullPointerException

Hi sdgardne, thank you very much for your help. I'm going to try your suggestions in the same order, I already reboot it several times and the BBM is now working properly, I also found out that
there is a new version for the BBM, , so I'm going to do the up date too., the thing is that I don't know when to do it, now or after I solve the problem. Well, I'm going to try the safe mode and see what happens. I already know that the app that is not working is the emails, because I configure my accounts but I can't see them in the phone, well I will keep trying, and I'll come back to tell you how it works.
Please use plain text.
Hall of Famer II
sdgardne
Posts: 46,979
Registered: ‎11-28-2008
My Device: Z30, Z10 & Q10 (10.2.1.3247), Playbook (2.1.0.1526)
My Carrier: TMobile USA

Re: Uncaught exception: java.lang.NullPointerException

I really think you need to focus first on the Uncaught Exception errors...make sure that those are cleared up before you worry about anything else. I say that because the most drastic fix for those is to reload your OS cleanly from scratch...and that'll likely fix several of the other problems at the same time. But it's a drasitc fix, which is why I recommend the less drastic things first.

 

But do focus on clearing up the Uncaught Exceptions first.

 

Good luck!


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
Please use plain text.
New Contributor
Plorenzo
Posts: 5
Registered: ‎03-24-2013
My Device: Bold 9900
My Carrier: Claro Dominican Republic

Re: Uncaught exception: java.lang.NullPointerException

[ Edited ]
Hi everyone, especially sdgardne,. My BB is finally fixed. I tried everything you told me to do, I was trying to avoid to re-install the OS from scratch, but I had to, and look for help to do it, because i was tired and didnt have time either. couldn't do a back up! because the phone didn't want to do it. But I was using bb protect, so I'm restoring my data right now, up to date, the last copy was from march 20. I am very happy about that!!
Please use plain text.
Hall of Famer II
sdgardne
Posts: 46,979
Registered: ‎11-28-2008
My Device: Z30, Z10 & Q10 (10.2.1.3247), Playbook (2.1.0.1526)
My Carrier: TMobile USA

Re: Uncaught exception: java.lang.NullPointerException

Excellent! Sometimes the OS reload is the only fix. Enjoy!

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
Please use plain text.