PriyaranjanMohapatra / rest-client

Automatically exported from code.google.com/p/rest-client
Apache License 2.0
0 stars 0 forks source link

File not in supported encoding (UTF-8) #105

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Enter http://www.google.com
2. Choose GET method
3. Open URL

What is the expected output? What do you see instead?
Expected to get the response from server and a set of response headers.
Instead getting a window with diagnostics message.

What version of the product are you using? On what operating system?
restclient-ui-2.3-jar-with-dependencies.jar
on Windows XP

Please provide any additional information below.

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(HTTPClientRequestExecu
ter.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(CoderResult.java:260)
    at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:781)
    at org.wiztools.restclient.Util.inputStream2String(Util.java:85)
    ... 2 more

Original issue reported on code.google.com by p1m...@gmail.com on 24 Feb 2010 at 1:33

GoogleCodeExporter commented 8 years ago
Version 2.3.1 fixes this issue.

Original comment by subwiz on 29 Jun 2010 at 9:34