https://issues.apache.org/bugzilla/show_bug.cgi?id=48833
Summary: NPE in <get>
Product: Ant
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: [email protected]
ReportedBy: [email protected]
Seeing an NPE in <get>. clearly I'm setting up the connection string wrong, but
an NPE is overkill
[mkdir] Created dir:
/home/slo/Projects/SmartFrog/Forge/core/components/cloudfarmer/build/hadoop-config
[echo] fetching http:localhost:8081/hadoop.site.xml to
/home/slo/Projects/SmartFrog/Forge/core/components/cloudfarmer/build/hadoop-config/hadoop-site.xml
[get] Getting: http:localhost:8081/hadoop.site.xml
[get] To:
/home/slo/Projects/SmartFrog/Forge/core/components/cloudfarmer/build/hadoop-config/hadoop-site.xml
[get] Exception in thread "Thread-2" java.lang.NullPointerException
[get] at sun.net.www.ParseUtil.toURI(ParseUtil.java:261)
[get] at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:795)
[get] at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
[get] at
org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:661)
[get] at
org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:581)
[get] at
org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:571)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.