-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Platform: All, OS: All
After updating to Hudson 1.334 I got an JSONException running an Ant task on a
Windows Server 2003 slave. (Hudson is installed as a service).
Console output is:
FATAL: A JSONObject text must end with '}' at character 352 of {"list": [
{"url": "http://archive.apache.org/dist/ant/binaries/apache-ant-1.7.1-bin.zip", "name": "1.7.1", "id": "1.7.1"},
{"url": "http://archive.apache.org/dist/ant/binaries/apache-ant-1.7.0-bin.zip", "name": "1.7.0", "id": "1.7.0"},
{"url": "http://archive.apache.org/dist/ant/binaries/apache-ant-1.6.5-bin.zip", "name": "1.6.5", "id": "1.6.5"},
{ net.sf.json.JSONException: A JSONObject text must end with '}' at character 352
of {"list": [
,
{"url": "http://archive.apache.org/dist/ant/binaries/apache-ant-1.7.0-bin.zip", "name": "1.7.0", "id": "1.7.0"},
{"url": "http://archive.apache.org/dist/ant/binaries/apache-ant-1.6.5-bin.zip", "name": "1.6.5", "id": "1.6.5"}, {
at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512)
at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:828)
at net.sf.json.JSONObject.fromObject(JSONObject.java:170)
at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:355)
at net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:917)
at net.sf.json.JSONArray.fromObject(JSONArray.java:139)
at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:358)
at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:850)
at net.sf.json.JSONObject._fromString(JSONObject.java:1039)
at net.sf.json.JSONObject.fromObject(JSONObject.java:176)
at net.sf.json.JSONObject.fromObject(JSONObject.java:147)
at hudson.model.DownloadService$Downloadable.getData(DownloadService.java:194)
at
hudson.tools.DownloadFromUrlInstaller$DescriptorImpl.getInstallables(DownloadFromUrlInstaller.java:149)
at
hudson.tools.DownloadFromUrlInstaller.getInstallable(DownloadFromUrlInstaller.java:54)
at
hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:63)
at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
at
hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:99)
at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:155)
at hudson.tasks.Ant$AntInstallation.forNode(Ant.java:385)
at hudson.tasks.Ant.perform(Ant.java:138)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:516)
at hudson.model.Build$RunnerImpl.build(Build.java:194)
at hudson.model.Build$RunnerImpl.doRun(Build.java:133)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:383)
at hudson.model.Run.run(Run.java:1176)
at hudson.matrix.MatrixRun.run(MatrixRun.java:130)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:123)
Any idea how to solve this?
Thanks
Pingus
- duplicates
-
JENKINS-4841 Auto-install of ant breaks builds
- Closed