PriyaranjanMohapatra / rest-client

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

a request which causes a response with http status 404 and an empty response body causes an IllegalArgumentException #122

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
--------------------------------------
Do a request which causes a response with http status 404 (not found)

What is the expected output? What do you see instead?
-----------------------------------------------------
I see a pop screen with 
Null charset name
java.lang.IllegalArgumentException: Null charset name
    at java.nio.charset.Charset.lookup(Unknown Source)
    at java.nio.charset.Charset.forName(Unknown Source)
    at org.wiztools.restclient.HTTPClientRequestExecuter.execute(HTTPClientRequestExecuter.java:314)
    at org.wiztools.restclient.ui.RESTView$25.run(RESTView.java:1007)

What version of the product are you using? On what operating system?
--------------------------------------------------------------------
restclient-ui-2.3.2-jar-with-dependencies on windows 7

Original issue reported on code.google.com by desmeth...@gmail.com on 15 Oct 2010 at 1:21

GoogleCodeExporter commented 8 years ago
I think I fixed this issue. Please let me know if this issue is present in the 
latest build also:

http://dl.dropbox.com/u/2505020/restclient-ui-2.3.3-SNAPSHOT-jar-with-dependenci
es.jar

Original comment by subwiz on 18 Oct 2010 at 4:01

GoogleCodeExporter commented 8 years ago
Tried it out with 2.3.3 snapshot
Problem is solved, thanks !

Original comment by desmeth...@gmail.com on 19 Oct 2010 at 7:14

GoogleCodeExporter commented 8 years ago
Thanks for confirming :-)

Original comment by subwiz on 20 Oct 2010 at 6:14