buildloop error
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <OFB810EB4F.52E7F053-ON48257727.000FB046-48257727.0011F03C@staff.9you.com> |
Hello,
I'm new to cruisecontrol and already very impressed by it's efficacity.
But I
have some problem on it that you can maybe help me to resolve.
1.
The first problem is that I have an error message showing in the console
each 5 seconds (the message is shown later).
My server environment is:
FreeBSD 6.3
Java 1.6.0.07.02 (Diablo Java)
CruiseControl 2.8.3
The error message:
===============================================================
2010-05-18 10:52:00.060::WARN: /dashboard/buildloop/listener
com.thoughtworks.xstream.converters.ConversionException: Cannot construct
net.sourceforge.cruisecontrol.BuildLoopInformation as it does not have a
no-args constructor
---- Debugging information ----
message : Cannot construct
net.sourceforge.cruisecontrol.BuildLoopInformation as it does not have a
no-args constructor
cause-exception :
com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message : Cannot construct
net.sourceforge.cruisecontrol.BuildLoopInformation as it does not have a
no-args constructor
class : net.sourceforge.cruisecontrol.BuildLoopInformation
required-type : net.sourceforge.cruisecontrol.BuildLoopInformation
path : /buildloop
line number : 1
-------------------------------
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:63)
at
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
at
com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:846)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:833)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:781)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:773)
at
net.sourceforge.cruisecontrol.util.BuildInformationHelper.toObject(BuildInformationHelper.java:32)
at
net.sourceforge.cruisecontrol.dashboard.web.BuildLoopController.handleRequestInternal(BuildLoopController.java:28)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:858)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
Caused by:
com.thoughtworks.xstream.converters.reflection.ObjectAccessException:
Cannot construct net.sourceforge.cruisecontrol.BuildLoopInformation as it
does not have a no-args constructor
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.newInstance(PureJavaReflectionProvider.java:59)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:257)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:124)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
... 35 more
2.
Another problem is that how could I configure to make CruiseControl to
trigger build each commit for svn.
I tried to use <modificationset> and <schedule> element and failed.
Here is my config.xml:
==========================================================
<project name="MFO_JAPAN">
<listeners>
<currentbuildstatuslistener
file="logs/${project.name}/status.txt"/>
</listeners>
<bootstrappers>
<svnbootstrapper
localWorkingCopy="/usr/home/build/ccproject/mfo/japan"/>
</bootstrappers>
<modificationset quietperiod="30">
<svn localWorkingCopy="/usr/home/build/ccproject/mfo/japan" />
</modificationset>
<schedule interval="43200">
<ant anthome="apache-ant-1.8.1"
buildfile="/usr/home/build/ccproject/mfo/japan/build.xml"/>
</schedule>
<log>
<merge dir="projects/${project.name}/target/test-results"/>
</log>
<publishers>
</publishers>
</project>
------------------------------------------------------------------------------
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user