Exception when CMSynergyBaselinepublisher is run

Charles Wahlin <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hi ,
I'm trying to post this again since I wasn't member last time I tried.


Charles Wahlin, M.Sc.E.E. 
Systems Engineer 

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 
----- Forwarded by Charles Wahlin/Mecel/SE on 2010-01-14 10:17 -----

From:   Charles Wahlin/Mecel/SE
To:     [email protected]
Cc:     Hans Lindau/Mecel/SE@Mecel
Date:   2010-01-13 18:00
Subject:        Exception when CMSynergyBaselinepublisher is run


Hi all
after that we have upgraded to CruiseControl to 2.8.2 we ran into this 
problem.

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 sucessful build 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

My config.xml looks like this 

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)

Charles Wahlin, M.Sc.E.E. 
Systems Engineer 

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
(unnamed) (image/gif, 2.4 KB) - not displayed
(unnamed) (image/gif, 2.4 KB) - not displayed
config_modified.xml (application/octet-stream, 4.9 KB)
<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>
  <!--               -->
  <!--               -->
  <!--another project-->
  <!--               -->
  <!--               -->
  <project name="HMIIOM build_check" buildafterfailed="False" requireModification="True">
    <listeners>
      <cmsynergysessionmonitor ccmexe="C:\Program Files\Telelogic\Telelogic Synergy 6.5\bin\ccm.exe" sessionfile=".hmiiom_build_check_ccmsessionmap">
        <session name="hmiiom_build_check_session" attributefile="C:\CruiseControl\hmiiom_build_check_session.properties" />
      </cmsynergysessionmonitor>
      <currentbuildstatuslistener file="logs/HMIIOM_build_check/status.txt" />
    </listeners>
    <bootstrappers />
    <modificationset quietperiod="120">
      <cmsynergy project="HMIIOM~lab1682-0022" sessionName="hmiiom_build_check_session" sessionFile="C:\CruiseControl\.hmiiom_build_check_ccmsessionmap" instance="mec_volv#1" reconfigure="true" usebindtime="True" />
    </modificationset>
    <schedule interval="300">
      <!-- interval is in seconds, 300 is default 1200-->
      <exec args="--always-make --keep-going all_clean" command="make" workingDir="C:\cmsynergy\lab1682-002_2\HMIIOM\SW\MSW" />
      <!-- Seems to be a problem with pause in 2.8.2 version. When paused several log entries are  created every 1/10 second -->
      <!-- Now I try to use twp pause entries instead of one that passes midnight -->
      <pause starttime="2200" endtime="2400" />
      <pause starttime="0000" endtime="0600" />
    </schedule>
    <log dir="logs\HMIIOM_build_check">
      <merge dir="C:\cmsynergy\lab1682-002_2\HMIIOM\SW\MSW\out\unit_test" />
      <merge dir="C:\cmsynergy\lab1682-002_2\HMIIOM\SW\MSW\out\lint" />
      <!--<delete every="10" unit="WEEK" ignoreSuffix="True" />-->
      <!--
      <deleteartifacts every="10" unit="WEEK" />
-->
      <delete every="1" unit="WEEK" ignoreSuffix="True" />
    </log>
    <publishers>
      <artifactspublisher dest="artifacts\HMIIOM_build_check" file="C:\cmsynergy\lab1682-002_2\HMIIOM\SW\MSW\out\coverage.txt" />
      <!--
      <artifactspublisher dest="artifacts\HMIIOM_build_check" file="C:\cmsynergy\lab1682-002_2\HMIIOM\SW\MSW\out\coverage.xml" />
-->
      <!--
      <artifactspublisher dest="artifacts\HMIIOM_build_check" file="C:\cmsynergy\lab1682-002_2\HMIIOM\SW\MSW\antBuilderOutput.log" />
-->
      <email returnAddress="[email protected]" buildResultsURL="http://meg-874:8080/cruisecontrol/buildresults/HMIIOM_build_check?tab=buildResults" mailHost="semegot-ln01">
        <failure address="[email protected]" />
      </email>
    </publishers>
  </project>
  <dashboard />
</cruisecontrol>
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.