Using Java, I have a fillable PDF that when the user submits, the FDF output stream is caught, coverted to string and then written to a file. The problem is, when this output exceeds 5k, whatever data remains is written as junk (repeating characters, more appear when more data is filled on the form). This junk data then causes an FDFException when trying to import back into the PDF. Can anyone help?