Hi ALL :)
My application has following call:
Display.getInstance().getAllContacts(false);
During invocation of this statement, my J2ME phone displays dialog with a request to an user to grant permission to the application to read contacts.
In case when user rejects the request the application code catches NullPointerException. I think this is a bug in Codename framework that should be fixed (or at least documented).
Regards,
Dmitry