h-tadagawa / rest-client

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

If there is no "Content-Type" header, it throws "Null charset name" Exception #123

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

When the server does not set "Content-Type" header, restclient throws "Null 
charset name" exception.

java.lang.IllegalArgumentException: Null charset name
    at java.nio.charset.Charset.lookup(Charset.java:429)
    at java.nio.charset.Charset.forName(Charset.java:502)
    at org.wiztools.restclient.HTTPClientRequestExecuter.execute(HTTPClientRequestExecuter.java:314)
    at org.wiztools.restclient.ui.RESTView$25.run(RESTView.java:1007)

I think, it should show an alert message or process the data as 
utf-8/iso-8859-1.

What version of the product are you using? On what operating system?
2.3.2

Original issue reported on code.google.com by kwon3...@gmail.com on 29 Nov 2010 at 8:45

GoogleCodeExporter commented 8 years ago
Can u let me know if the issue persists in the latest development build:

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

Original comment by subwiz on 30 Nov 2010 at 4:58

GoogleCodeExporter commented 8 years ago
This issue disapeared in 2.3.3-SNAPSHOT.
Thanks.

Original comment by kwon3...@gmail.com on 1 Dec 2010 at 6:36

GoogleCodeExporter commented 8 years ago
Thanks for confirming.

Original comment by subwiz on 2 Dec 2010 at 2:31