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

Java Development

Posts: 69
Registered: ‎08-13-2008
My Device: Not Specified

Exception when i try to update phone number in addressbook

Hi when i try to update phones of one contact in the addressbook a exception is thrown(indexoutofbounds), i read in this forum that there is a bug that is solved in 4.6




i want to know if in the 4.2 exists this bug. 


If i create a new contact with phones it is saved ok but if i update one it throws an exception. Any idea?

BlackBerry Development Advisor
Posts: 15,809
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Exception when i try to update phone number in addressbook

Have you verified (using the isSupported method) that the number you are adding is supported in BlackBerry handheld software version 4.2? Note that additional fields (i.e. new phone number fields) are made available as the BlackBerry handheld software version increments.


You can see an example of the isSupported method being used in the JavaDocs for the javax.microedition.pim.Contact interface.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.