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® OS Smartphones

Reply
Contributor
Posts: 15
Registered: ‎07-24-2009
My Device: Tour 9630
My Carrier: Verizon
Accepted Solution

java.lang.NullPointerException

Do any of you ever get this Exception Error?  It seems I am getting it more frequently when look at pics on twitter. My research thus far says not to worry that it is a Java problem and not a device or software issue. Do you agree?
Regular Contributor
Posts: 63
Registered: ‎08-10-2009
My Device: Not Specified

Re: java.lang.NullPointerException

Overview of problem:

Java.lang.NullPointerException


Cause

The folder ID is corrupt.


Resolution

Disable wireless reconciliation, clear the Folders database, delete the Desktop [CMIME] service book, and send a new service book to the BlackBerry device.

To disable wireless reconciliation

  1. In the Messages screen on the device, click the trackwheel and select Options.
  2. Select Email Reconciliation and click the trackwheel.
  3. On the Email Reconciliation screen, change Wireless Reconcile to Off.

Note: After sending the new service book, follow the three steps above to turn wireless reconciliation on again. At step 3, change the option to On.

To clear the Folders database

  1. After disabling the wireless reconciliation, connect your BlackBerry device to the computer and open the BlackBerry Desktop Manager.
  2. Double-click Backup and Restore. ClickAdvanced.
  3. From the right pane, select the Folders database. To back up the database, click the arrow to transfer the database to the left pane. Select File > Save As and save the file to the personal computer.
  4. With Folders selected in the right pane, clickClear.

To delete the Desktop [CMIME] service book

  1. From the BlackBerry device Options, selectService Book and click the trackwheel.
  2. Select Desktop [CMIME]. Click the trackwheel and select Delete. In the warning dialog, select Delete again.

To send the service book again

If you have a user account on the BlackBerry Enterprise Server, connect the BlackBerry device to the computer. The service book is sent to the BlackBerry device.

 

if you need any help just ask.....

 

 

 SOCIALBLACKBERRY.COM

Regular Contributor
Posts: 63
Registered: ‎08-10-2009
My Device: Not Specified

Re: java.lang.NullPointerException

I would re-load the software into the device though.

 

Do a web based upgrade of the OS from VZW website: 

 

http://www.vzam.net/blackberry 

 

it will give you 2 options... choose the  webbased upgrade

after the upgrade you should not have these java.lang.NullPointerException anymore Smiley Happy

 

www.socialblackberry.com

Highlighted
Contributor
Posts: 15
Registered: ‎07-24-2009
My Device: Tour 9630
My Carrier: Verizon

Re: java.lang.NullPointerException

Sorry it took me so long to reply. Out of town on business. I found that my call log was corrupt. So I cleared it in the Desktop manager. The new version updated my device and I have not had a problem since. Thanks for pointing me to a corrupt folder. I did not have a clue where to start. Have not had this  java.lang.NullPointerException since that time and device now works better than ever.