Hi I have this block of code in my program:
The problem I'm facing is in the second line, when fetching the Enumeration of events, the program is throwing
EventList l_EventList = (EventList) PIM.getInstance ().openPIMList (PIM.EVENT_LIST, PIM.READ_ONLY, l_strEventNames[k]);
Enumeration l_EventItems = l_EventList.items (EventList.STARTING, l_startTime, l_startTime+604800000, true);
for EventName "Aniversaries". I'm using Netbeans IDE with S60 2nd ed. FP3 MIDP SDK for this application.
However with Sun WTK 2.5 this is not thrown. Again when using EventList.items() instead, this Exception is also not occuring. Is this an issue with the emulator or I'm doing it wrong somewhere ??