karthikeayan_9058

http-tool action failed when downloading remote file

Discussion created by karthikeayan_9058 on Jul 12, 2017
[AE@automic-agent ~]$ java -version
java version "1.8.0_74"
Java(TM) SE Runtime Environment (build 1.8.0_74-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)

[AE@automic-agent ~]$ java -jar automic_agent/resources/0100/http-tool.jar dirfilehandling GetFiles -prc HTTPS -h sonarsource.bintray.com -src Distribution/sonarqube/sonarqube-6.4.zip -tgt sonar.zip
http-tool: http-tool
http-tool: (c) Automic Software GmbH
http-tool: Version: 1.1.2
http-tool: Date: 2016-12-23 11:20

Executing GetFiles started
Started at 2017-07-12 12:32:11
=================================================


http-tool: PARAM: source = Distribution/sonarqube/sonarqube-6.4.zip
http-tool: PARAM: protocol = HTTPS
http-tool: PARAM: target = sonar.zip
http-tool: PARAM: loglevel = 
http-tool: PARAM: recursive = 
http-tool: PARAM: timeout = 
http-tool: PARAM: proxyPort = 
http-tool: PARAM: smbdomainname = 
http-tool: PARAM: overwrite = 
http-tool: PARAM: port = 
http-tool: PARAM: host = sonarsource.bintray.com
http-tool: PARAM: proxyHost = 
http-tool: PARAM: transfermode = 
http-tool: PARAM: username = 
http-tool: PARAM: proxyUsername = 
http-tool: PARAM: preserve = 
Cannot get Port value,  use Default Value: 80(http), 443(https).
Cannot get Timeout value, use Default Value: 5000
Cannot get Proxy Port value, use Default Value: 80


=================================================
Exception NullPointerException occured
Message: null
Detailed Information: 

http-tool: ERROR: null
java.lang.NullPointerException
        at com.uc4.ara.feature.dirfilehandling.CopyHTTP.retrieve(CopyHTTP.java:168)
        at com.uc4.ara.feature.dirfilehandling.GetFiles.run(GetFiles.java:174)
        at com.uc4.ara.feature.AraFileCmd.main(AraFileCmd.java:125)


=================================================
Executing dirfilehandling GetFiles finished
Ended at 2017-07-12 12:32:13
Elapsed Time: 0 min, 2 sec
Return Code: 999

Outcomes