I don't know for this error.
but from javadoc API you can read this:
StringTokenizer is a legacy class that is retained for compatibility
reasons although its use is discouraged in new code. It is recommended
that anyone seeking this functionality use the split method of String
or the java.util.regex package instead.
So, try other method.
I'm sucessfully using split method.
Vincent