Hi,

I am trying to create a PIM Event but as I load the MIDlet into a Phone ( Nokia 3500c ) I am getting Security Exception when OpenPIMList(PIM.EVENT_LIST, ... ) is called . As far as I understand, for using PIM the MIDlet need not be signed ( though there might be prompts to the user ) so can someone help me as to why the Security Exception is being thrown.
Following is the code that I am using
When I load the jar file into Series 40 Emulator I am getting the error "Uncaught Exception java/lang/NoClassDefFoundError : javax/microedition/pim/PIMList." which seems to indicate that it could not find PIM classes

public void startApp()
{
System.out.println("App Started");
try
{
System.out.println("Opening PIMList ");
events = (EventList) PIM.getInstance().openPIMList(PIM.EVENT_LIST, PIM.READ_WRITE);
System.out.println("Opened PIMList ");
}
catch (PIMException e)
{
// An error occurred
return;
}

- Rakesh