Problem with CMSynergyBaselinepublisher in CruiseControl 2.8.2

Charles Wahlin <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hi all,
after that we have upgraded to CruiseControl to 2.8.2 we ran into  problem 
with the CMSynergyBaselinePublisher.
Exception were raised when running the publisher. (See below).
What is the problem and how can I solve it?

net.sourceforge.cruisecontrol.publishers.CMSynergyBaselinePublisher for 
project HMIIOM
java.lang.NullPointerException
        at 
net.sourceforge.cruisecontrol.publishers.CMSynergyPublisher.getNewTasks(CMSynergyPublisher.java:231)
        at 
net.sourceforge.cruisecontrol.publishers.CMSynergyPublisher.shouldPublish(CMSynergyPublisher.java:258)
        at 
net.sourceforge.cruisecontrol.publishers.CMSynergyBaselinePublisher.publish(CMSynergyBaselinePublisher.java:151)
        at net.sourceforge.cruisecontrol.Project.publish(Project.java:742)
        at net.sourceforge.cruisecontrol.Project.build(Project.java:264)
        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(Unknown Source)

It happened after a successful build and I don't know on what occasions it 
might happen. 
The publisher worked fine in previously version 2.7.2 and I never noticed 
this problem

I would be very happy if anyone else have seen this and can tell me why it 
happened. 
We are running CruiseControl on a windows xp professional (sp 3) 
workstation and are using CMSynergy 6.5 (build 4096)

My config.xml looks like this
<cruisecontrol>
  <project buildafterfailed="False" requireModification="True" 
name="HMIIOM">
    <listeners>
      <cmsynergysessionmonitor ccmexe="C:\Program 
Files\Telelogic\Telelogic Synergy 6.5\bin\ccm.exe" 
sessionfile=".ccmsessionmap">
        <session name="hmiiom_session" 
attributefile="C:\CruiseControl\hmiiom_session.properties" />
      </cmsynergysessionmonitor>
      <currentbuildstatuslistener file="logs/HMIIOM/status.txt" />
    </listeners>
    <bootstrappers />
    <modificationset quietperiod="120">
      <cmsynergy project="HMIIOM~1" sessionName="hmiiom_session" 
sessionFile="C:\CruiseControl\.ccmsessionmap" instance="mec_volv#1" 
reconfigure="true" usebindtime="True" />
    </modificationset>
    <schedule>
      <!--always-make -k all"-->
      <exec time="2300" args="--always-make --keep-going all_clean_lint" 
command="make" workingDir="C:\cmsynergy\prep\HMIIOM\SW\MSW" />
    </schedule>
    <log dir="logs\HMIIOM">
      <merge dir="C:\cmsynergy\prep\HMIIOM\SW\MSW\out\unit_test" />
      <merge dir="C:\cmsynergy\prep\HMIIOM\SW\MSW\out\lint" />
      <!--<delete every="10" unit="WEEK" ignoreSuffix="True" />-->
      <!--
      <deleteartifacts every="10" unit="WEEK" />
-->
    </log>
    <publishers>
      <cmsynergybaselinepublisher 
baselineName="10019691-002-FP3.2DSC-@{cctimestamp}" project="HMIIOM~1" 
sessionName="hmiiom_session" sessionFile="C:\CruiseControl\.ccmsessionmap" 
/>
      <artifactspublisher dest="artifacts\HMIIOM" 
file="C:\cmsynergy\prep\HMIIOM\SW\MSW\out\coverage.txt" />
      <!--
      <artifactspublisher dest="artifacts\HMIIOM" 
file="C:\cmsynergy\prep\HMIIOM\SW\MSW\out\coverage.xml" />
-->
      <!-- 
      <artifactspublisher dest="artifacts\HMIIOM" 
file="c:\cmsynergy\prep\HMIIOM\SW\MSW\antBuilderOutput.log" />
-->
      <email returnAddress="[email protected]" 
buildResultsURL="http://meg-874:8080/buildresults/HMIIOM?tab=buildResults" 
mailHost="semegot-ln01">
        <always address="[email protected]" />
      </email>
      <!--      <execute command="cmd /C 
c:\cmsynergy\prep\HMIIOM\SW\tools\scripts\runDeliveryNoClean.bat 
c:\cmsynergy\prep\HMIIOM smoketest >c:\cruisecontrol\smoketest.log" /> -->
      <execute Command="ccm reconf /p HMIIOM~1" />
    </publishers>
  </project>
<dashboard />
</cruisecontrol>

Charles Wahlin, M.Sc.E.E. 
Systems Engineer 
Mecel
We make vehicles communicate 

Phone +46 31 7204481
Visiting address: Mölndalsvägen 36, Göteborg
www.mecel.se 

Registred Office Göteborg, Sweden
Registration No 556258-8896

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.