Tag Archives: blackberry

Uncaught exception: java.lang.error on BlackBerry

Tweet about this on TwitterShare on Google+Share on RedditShare on LinkedInShare on FacebookBuffer this page

I've been downloading applications for my BlackBerry as though they were going out of style. However, since my BlackBerry Bold 9700 takes almost 8 minutes to come up from a full reboot (like a battery pull, not simply from standby, which is nearly instantaneous) I don't do it very often.

Recently, after installing a number of applications, I saw an error message on boot:

Uncaught exception: java.lang.error

Where could this be coming from?

I asked Google but all he had to offer was a list of people with similar problems, caused by third-party applications, and some users offering solutions like "Wipe your blackberry and re-install each app one at a time." Well, at 8 minutes per full boot, plus 30 minutes to wipe and reinstall the OS, we're talking about an entire afternoon of mucking about with applications just to debug someone else's error.

I wanted a better solution.

The second place I went after Google was to the Crackberry Forums, where I asked directly: But from which app? "Uncaught exception: java.lang.error" Being a former Linux system administrator and a current developer, I wanted to see logs. I specifically wanted to know if there was an error console available to the (power) user which would allow me to identify the application throwing the error since the error dialogue box does not. I instantly discovered that it was LastPassBB.

For those power-users out there who would like to know, there is an error console for the BlackBerry 5.0 OS: from the home screen, type <ALT>lglg

Good luck deciphering the logs though; you might have luck if you ever had to configure sendmail.cf manually.

For a select few non-sensitive sites, I've been trying out LastPass, a web-based password management service with a mobile companion application suite for almost every major smartphone OS, including BlackBerry. The service is free to use, though there is a premium version for 12 $ per year which will allow you to use the mobile companion application past the 2-week trial period. I submitted a bug report with detailed error logs hoping to get a response later in the week, or perhaps the following week, especially given it was a civic holiday.

I got a reply within an hour containing a custom build that solved the error. I'm not even a paying customer yet!

I think the folks at LastPass deserve big kudos for this type of customer attention. Not only is their service pretty darn great but the LastPass folks clearly attend to the needs of their customers.