h-tadagawa / rest-client

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

NFE in cli when RESTClient cli is run fresh (~/.rest-client/ does not exist) #203

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
We get the exception:

bash-3.2$ java -jar restclient-cli-3.2.2-jar-with-dependencies.jar 
~/wiztools.rcq -o /tmp
Starting: /Users/subhashc/wiztools.rcq
Dec 25, 2013 12:16:26 AM org.wiztools.restclient.GlobalOptions <init>
INFO: Configuration directory does not exist. Creating...
Dec 25, 2013 12:16:26 AM org.wiztools.restclient.ProxyConfig getInstance
INFO: Cannot load Proxy options from properties.
java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:454)
    at java.lang.Integer.parseInt(Integer.java:527)
    at org.wiztools.restclient.ProxyConfig.init(ProxyConfig.java:42)
    at org.wiztools.restclient.ProxyConfig.getInstance(ProxyConfig.java:29)
    at org.wiztools.restclient.HTTPClientRequestExecuter.execute(HTTPClientRequestExecuter.java:127)
    at org.wiztools.restclient.cli.CliMain.main(CliMain.java:141)

Dec 25, 2013 12:16:28 AM org.wiztools.restclient.HTTPClientRequestExecuter 
execute
WARNING: Charset parameter is not available in Content-Type header!
File exists: /tmp/wiztools.rcs
Using alternative: /tmp/wiztools_0.rcs
End: /Users/subhashc/wiztools.rcq

Total tests executed: 1
Total failures:       0
Total errors:         0

Original issue reported on code.google.com by subwiz on 24 Dec 2013 at 6:48

GoogleCodeExporter commented 8 years ago

Original comment by subwiz on 24 Dec 2013 at 7:02