Ok it's fixed. You were right, there was something else going on within one of the functions that was throwing the exception, but it was nearly impossible to figure out which one. I finally downloaded the source and stuck a e.printStackTrace() in the try/catch that you showed above, which led me to the culprit.
I can also confirm that the long string test is working fine now, so this is resolved as far as I'm concerned.
Ok it's fixed. You were right, there was something else going on within one of the functions that was throwing the exception, but it was nearly impossible to figure out which one. I finally downloaded the source and stuck a e.printStackTrace() in the try/catch that you showed above, which led me to the culprit.
I can also confirm that the long string test is working fine now, so this is resolved as far as I'm concerned.
Thanks for the help!