This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I think it is extremely likely that your CharArrayWriter got stuck in a loop, filled the largest char array it could create, and then tried to write more. Find that loop and fix it. Bill ------------------ author of: