[Ivyplugins-user] CruiseControl 2.6.1
Brought to you by:
ulsa
|
From: Klaas P. <kp...@bl...> - 2007-05-08 11:28:15
|
Hi,
I have some problems making the Ivypublisher work with CC-2.6.1. I already read the emails regarding the NPE in
classForName and for the changed syntax configuring the plugin (class -> classname). No I get the aforementioned
ClassCastException (see Log below). The code is casting to a "Project" class. I have no idea what changed between
version 2.5 and 2.6 of CruiseControl and cannot guess how long a fix may take.
To make it work this far I had to set the jmxavailable=false. If I used jmx within the plugin no builds where executed
and the webfrontend did not work via JMX. Are there any solution to this two problems?
best Regards
Klaas
Log:
2007-05-08 11:58:54,876 [Project Ivy thread] ERROR BuildQueue - exception notifying listener before project queued
java.lang.ClassCastException: net.sourceforge.cruisecontrol.ProjectConfig
at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.getModuleDescriptor(IvySuccessPublisher.java:374)
at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.validate(IvySuccessPublisher.java:256)
at net.sourceforge.cruisecontrol.publishers.ConditionalPublisher.validate(ConditionalPublisher.java:72)
at net.sourceforge.cruisecontrol.ProjectConfig$Publishers.validate(ProjectConfig.java:255)
at net.sourceforge.cruisecontrol.ProjectConfig.validate(ProjectConfig.java:116)
at net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseControlConfig.java:294)
at net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:112)
at net.sourceforge.cruisecontrol.CruiseControlConfig.<init>(CruiseControlConfig.java:124)
at net.sourceforge.cruisecontrol.CruiseControlConfig.handleIncludedProjects(CruiseControlConfig.java:139)
at net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:104)
at net.sourceforge.cruisecontrol.CruiseControlConfig.<init>(CruiseControlConfig.java:92)
at net.sourceforge.cruisecontrol.config.XMLConfigManager.loadConfig(XMLConfigManager.java:76)
at net.sourceforge.cruisecontrol.config.XMLConfigManager.reloadIfNecessary(XMLConfigManager.java:97)
at
net.sourceforge.cruisecontrol.CruiseControlController.parseConfigFileIfNecessary(CruiseControlController.java:197)
at
net.sourceforge.cruisecontrol.CruiseControlController$BuildQueueListener.buildRequested(CruiseControlController.java:266)
at net.sourceforge.cruisecontrol.BuildQueue.notifyListeners(BuildQueue.java:186)
at net.sourceforge.cruisecontrol.BuildQueue.requestBuild(BuildQueue.java:73)
at net.sourceforge.cruisecontrol.Project.run(Project.java:292)
at java.lang.Thread.run(Thread.java:595)
|