BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-25-2009, 08:44 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Feb 2009
Model: 8800
PIN: N/A
Carrier: c
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default BlackBerryToDo

Please Login to Remove!

Hello.

When I create a new BlackBerryToDo object and just set needed fields everything works fine, I mean commit() doesn't throws any exception.

The problems are when I want to remove some field, say I set RepeatRule null,
or I want to remove a due date, then when commit() is called, it throws NullPointerException (which I think is related to RepeatRule).
Though the todo gets saved, when I try to open it in native bb-tasks application, it is only shows on the tasks list, but doesn't get opened.
In addition, EventLog has the following entry:

NullPointerException:
net_rim_bb_task_app.TaskDataModel.getRecurrenceFie ld

What is the way to remove fields?
Now I use removeDate() (or something like this) and setRepeat(null),
but seems like it's not the right way :(
Offline  
Old 06-13-2009, 10:03 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Feb 2009
Model: 8800
PIN: N/A
Carrier: c
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Any idea?
How do I create BlackBerryToDo without Due Date set?
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LOT of 13 GENUINE OEM IBM EASYSTRIKE LIFT OFF TAPE CASSETTES #1337765
$45.0
LOT of 13 GENUINE OEM IBM EASYSTRIKE LIFT OFF TAPE CASSETTES #1337765  pictureEE8: Genuine OEM IBM 16V 4.5A Laptop AC Power Adapter 02K6749 02K6756
$15.99
EE8: Genuine OEM IBM 16V 4.5A Laptop AC Power Adapter 02K6749 02K6756  pictureOEM IBM SurePOS 700 4800-743/783 250W Power Supply DPS-250AB-45A 46N1999 46N1998
$32.0
OEM IBM SurePOS 700 4800-743/783 250W Power Supply DPS-250AB-45A 46N1999 46N1998 pictureLOT OF 10 x OEM IBM ANPOS POS Keyboard PS/2 Y-Cables FRU 42M5596 J89127 E89980
$99.99
LOT OF 10 x OEM IBM ANPOS POS Keyboard PS/2 Y-Cables FRU 42M5596 J89127 E89980 pictureIBM / Infoprint 2000 Toner, Version 2, 69G7382, 2 Bottles, 2.5kg (OEM / NEW)
$149.95
IBM / Infoprint 2000 Toner, Version 2, 69G7382, 2 Bottles, 2.5kg (OEM / NEW) picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.