Re: [Ivyplugins-user] Cruise 2.6 throws NullPointerException - Bug in documentation
Brought to you by:
ulsa
|
From: Francis B. <fra...@us...> - 2007-01-30 14:33:17
|
is this backward compatible ?
Francis
Le 07-01-21, =E0 17:36, Ulrik Sandberg a =E9crit :
> Excellent. Thanks for the investigation.
>
> --
> Ulrik
>
>
> On Jan 21, 2007, at 11:24 PM, Daniel Schwager wrote:
>
>> Hi,
>>
>> i installed cruisecontrol-2.6 which works
>> very well. Because we own a big ivy-repository,
>> i want to integrate ivypublisher to cruise - but
>> it failed with the error below.
>>
>> - Modifications to cruisecontrol.sh
>> CRUISE_PATH=3D$CRUISE_PATH:$HOME/ivypublisher/lib/ivy.jar:$HOME/
>> ivypublisher/dist/ivypublisher-1.0.jar
>>
>> - modifications to config.xml (like described in the documentation)
>> <!-- Preconfigure our plugins -->
>> <property name=3D"projectdir" value=3D"${env.WORK_DIR}/
>> checkout/${project.name}" />
>> <plugin name=3D"ivypublisher"
>>
>> class=3D"net.sf.ivyplugins.ivypublisher.IvySuccessPublisher"
>> ivyfile=3D"ivy.xml"
>> rmiport=3D"1099"
>> config=3D"config.xml"
>> project=3D"${project.name}"
>> basedir=3D"${projectdir}" />
>> - Exception:
>>
>> [cc]Jan-21 22:45:23 Main - CruiseControl Version 2.6
>> Compiled on January 11 2007 2059
>> [cc]Jan-21 22:45:23 LConfigManager- reading settings from config
>> file [/srv/cruise/work/config.xml]
>> java.lang.NullPointerException
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:164)
>> at
>> net.sourceforge.cruisecontrol.PluginRegistry.instanciatePluginClass
>> (PluginRegistry.java:234)
>> at
>> net.sourceforge.cruisecontrol.CruiseControlConfig.isProjectTemplate
>> (CruiseControlConfig.java:166)
>> at
>> net.sourceforge.cruisecontrol.CruiseControlConfig.handleRootPlugin
>> (CruiseControlConfig.java:183)
>> at net.sourceforge.cruisecontrol.CruiseControlConfig.parse
>> (CruiseControlConfig.java:101)
>> 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.<init>
>> (XMLConfigManager.java:70)
>> at
>> net.sourceforge.cruisecontrol.CruiseControlController.setConfigFile
>> (CruiseControlController.java:94)
>> at net.sourceforge.cruisecontrol.Main.startController
>> (Main.java:104)
>> at net.sourceforge.cruisecontrol.Main.start(Main.java:91)
>> at net.sourceforge.cruisecontrol.launch.Launcher.run
>> (Launcher.java:244)
>> at net.sourceforge.cruisecontrol.launch.Launcher.main
>> (Launcher.java:108)
>> at CruiseControlWithJetty$2.run
>> (CruiseControlWithJetty.java:101)
>> at java.lang.Thread.run(Thread.java:595)
>>
>>
>> Solution ("classname" instead of "class"):
>> <plugin name=3D"ivypublisher"
>>
>> classname=3D"net.sf.ivyplugins.ivypublisher.IvySuccessPublisher"
>> ....
>>
>> TODO: Can somebody fix this in the ivypublisher documentation ?
>>
>> regards
>>
>> Danny
>>
>>
>> ------------------------------------------------------------
>> DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart
>> Tel: +49-711-849910-32 Fax: +49-711-849910-932
>> WEB: http://www.dtnet.de/ email: dan...@dt...
>>
>> =
----------------------------------------------------------------------
>> ---
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> opinions on IT & business topics through brief surveys - and earn =
cash
>> http://www.techsay.com/default.php?
>> page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV
>> _______________________________________________
>> ivyplugins-user mailing list
>> ivy...@li...
>> https://lists.sourceforge.net/lists/listinfo/ivyplugins-user
>>
>
>
> =
-----------------------------------------------------------------------=20=
> --
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to =20
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?=20
> page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV
> _______________________________________________
> ivyplugins-user mailing list
> ivy...@li...
> https://lists.sourceforge.net/lists/listinfo/ivyplugins-user
>
>
--=20
Francis Bouchard, Analyste
Laboratoire DOMUS de l'Universit=E9 de Sherbrooke
Domotique et informatique mobile
http://domus.usherbrooke.ca
T=E9l=E9phone : +1 (819) 821-8000 poste 65174
T=E9l=E9copieur : +1 (819) 821-8200
----------------------------------------
|