File Download Error

6 views
Skip to first unread message

emile

unread,
Mar 22, 2010, 11:05:52 AM3/22/10
to rest-client
Hi,

I am receiving the content of a PDF file through the rest resource we
have developed. However I am unable to test the same since the rest-
client gives me the following error -

File not in supported encoding (UTF-8)
java.io.IOException: File not in supported encoding (UTF-8)
at org.wiztools.restclient.Util.inputStream2String(Util.java:88)
at
org.wiztools.restclient.HTTPClientRequestExecuter.execute(HTTPClientRequestExecuter.java:
300)
at org.wiztools.restclient.ui.RESTView$25.run(RESTView.java:1012)
Caused by: java.nio.charset.MalformedInputException: Input length = 1
at java.nio.charset.CoderResult.throwException(Unknown Source)
at java.nio.charset.CharsetDecoder.decode(Unknown Source)
at org.wiztools.restclient.Util.inputStream2String(Util.java:85)
... 2 more

Any pointers in this regard are appreciated.

TIA,
Emile

Reply all
Reply to author
Forward
0 new messages