
You’re working with a BlackBerry application, when, all of a sudden, a dialog box pops up with the message:
“Unexpected error: java.lang.RuntimeException:PushModalScreen called by a non-event thread”.
What gives?
The error message is an indication from the system, that the app you are working with is trying to display a popup screen to show you some information, but it’s doing it in an inappropriate way. In a nutshell, this is caused by poor programming on the part of the app developers.
This isn’t something that’s “fixable” by you. There is no general setting or configuration option that you can toggle in your system that would resolve the issue. You would need to contact the makers of the app directly for support, and they would need to fix the issue in their application, and release a patch update.
When you contact the developers, they may ask you to change a configurable option or toggle a setting to resolve the issue. If this helps, it’s because the developers are probably aware of the problem, and know of a temporary workaround. Their suggestion would get you around the immediate issue, but wouldn’t resolve the underlying cause of the error. For that, there is no getting around having the developers fix the issue in their application, and release a proper patch.