I've had no error messages since, and it never caught any exceptions, so perhaps the nasty error was Java's way of complaining that it was forced to display something that MAY not work in all situations. Dumb Java.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop