Module with handle [xxxx] and index [x] has no application entry point
I'm having a problem with calling:
Hom开发者_如何学编程eScreen.updateIcon(_Icon);
or
HomeScreen.setName("${app.title}");
This throws an exception "Module with handle [xxxx] and index [x] has no application entry point". Only when the application is first installed, but not subsequent reboots.
What's wrong with .updateIcon()?
Mark Sohm answers this question wonderfully at supportforums.blackberry.com with the resulting answer to:
- Catch the exception,
- Sleep,
- Try updateIcon again.
Reason: "The issue is that the auto start application could run and attempt to set the icon for an entry point that has not been registered with the system (these are happening in parallel)."
精彩评论