500 Internal Server Error:sun.io.CharToByteUTF-8

Hi… i am trying a program which converts the given xml file to html using an xsl stylesheet, and I am getting this error. I am using the JavaWebserver 2.0 currently. CAn anyone tell me how i can fix this? I am going to use the same xml file for my database…
Please let me know.

Parth, can you give any more details about your setup, programs involved, what you are trying to do in detail, at which step does the error occur, etc.?