CC 异常: net.sourceforge.cruisecontrol.CruiseControlException: Encountered an IO exception while attem
Posted yexianyi
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CC 异常: net.sourceforge.cruisecontrol.CruiseControlException: Encountered an IO exception while attem相关的知识,希望对你有一定的参考价值。
Issue:
When you start Cruise Control, you may encounter following exception.
2009-12-15 15:42:38,671 [Thread-22] ERROR Project - exception attempting build in project MY_PROJECT_1
net.sourceforge.cruisecontrol.CruiseControlException: Encountered an IO exception while attempting to execute 'net.sourceforge.cruisecontrol.builders.AntScript@8905bd'. CruiseControl cannot continue.
at net.sourceforge.cruisecontrol.builders.ScriptRunner.runScript(ScriptRunner.java:133)
at net.sourceforge.cruisecontrol.builders.AntBuilder.runScript(AntBuilder.java:236)
at net.sourceforge.cruisecontrol.builders.AntBuilder.build(AntBuilder.java:208)
at net.sourceforge.cruisecontrol.Schedule.build(Schedule.java:169)
at net.sourceforge.cruisecontrol.Project.build(Project.java:226)
at net.sourceforge.cruisecontrol.Project.execute(Project.java:147)
at net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:402)
at net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: CreateProcess: E:/Thrid-part/apache-ant-1.7.1/bin -logger net.sourceforge.cruisecontrol.builders.AntProgressXmlLogger -listener net.sourceforge.cruisecontrol.builders.AntProgressXmlListener -DXmlLogger.file=log.xml -listener net.sourceforge.cruisecontrol.builders.AntOutputLogger -lib C:/cruisecontrol-bin-2.8.2/lib/cruisecontrol-antprogresslogger.jar -Dcclastbuildtimestamp=20091215000000 -Dbuildforced=true -Dlabel=build.1 -Dcclastgoodbuildtimestamp=20091215000000 -Dlastbuildsuccessful=true "-Dcvstimestamp=2009-12-15 07:42:38 GMT" -Dprojectname=MY_PROJECT_1 -Dcctimestamp=20091215154238 -buildfile build-MY_PROJECT_1.xml build error=5
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.
(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:464)
at net.sourceforge.cruisecontrol.util.CruiseRuntime.exec(CruiseRuntime.java:14)
at net.sourceforge.cruisecontrol.util.Commandline.execute(Commandline.java:591)
at net.sourceforge.cruisecontrol.builders.ScriptRunner.runScript(ScriptRunner.java:131)
... 8 more
2009-12-15 15:42:38,703 [Project MY_PROJECT_1 thread] INFO Project - Project MY_PROJECT_1: next build in 1 minutes
2009-12-15 15:42:38,703 [Project MY_PROJECT_1 thread] INFO Project - Project MY_PROJECT_1: waiting for next time to build
2009-12-15 15:42:38,703 [Project MY_PROJECT_1 thread] INFO ProjectController - MY_PROJECT_1 Controller: build progress event: waiting for next time to build
Solution:
Try to change the value of the antscript attribute in ‘config.xml’ to include the .bat extension: "X:/ant/bin/ant.bat".
Incorrect case:
<schedule interval="60"> <ant antscript="E:/Thrid-part/apache-ant-1.7.1/bin" buildfile="build-MY_PROJECT_1.xml" target="build" uselogger="true" usedebug="false"/> schedule>
Correct Case should be:
<schedule interval="60"> <ant antscript="E:/Thrid-part/apache-ant-1.7.1/bin/ant.bat" buildfile="build-MY_PROJECT_1.xml" target="build" uselogger="true" usedebug="false"/> schedule>
以上是关于CC 异常: net.sourceforge.cruisecontrol.CruiseControlException: Encountered an IO exception while attem的主要内容,如果未能解决你的问题,请参考以下文章
怎么解决?颤振(6629):[错误:颤振/lib/ui/ui_dart_state.cc(209)]未处理的异常:NoSuchMethodError
无法将车辆信息保存到 firebase [VERBOSE-2:ui_dart_state.cc(186)] 未处理异常:无效参数:“TextEditingController”实例
错误:flutter/lib/ui/ui_dart_state.cc(177) 未处理的异常:NoSuchMethodError:方法“插入”在 null 上调用
CC 异常: net.sourceforge.cruisecontrol.CruiseControlException: Encountered an IO exception while attem
如何解决此问题 [错误:flutter/lib/ui/ui_dart_state.cc(199)] 未处理的异常:NoSuchMethodError:getter 'phone' 被调用为 null。
如何解决此问题 [错误:flutter/lib/ui/ui_dart_state.cc(199)] 未处理的异常:NoSuchMethodError:在 null 上调用了 getter 'insta