Re: CruiseControl log file errors

Julian Simpson <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hi,

On 23 March 2011 12:44, kenundrum <[email protected]> wrote:

>
>
> 2011-03-23 08:18:21,360 [Thread-21] ERROR HTMLEmailPublisher - error
> transforming with xslFile header.xsl
> net.sf.saxon.trans.XPathException: java.io.FileNotFoundException:
> C:\Program
> Files\CruiseControl\logs\Project1\log20110323081615Lbuild.1.xml (The system
> cannot find the path specified)
>        at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:384)
>        at net.sf.saxon.event.Sender.send(Sender.java:185)
>




I'd be prepared to bet that it's the space in 'program files' causing the
publish to fail.  I guess you'll need to mess around with quotes to tell the
OS the proper path, or give the 8.3 version of the filename.  Not sure if
'PROGRA~1' would resolve correctly - my understanding of Windows Long File
Name support is pretty vague these days.

J.



>      at net.sf.saxon.event.Sender.send(Sender.java:49)
>        at net.sf.saxon.Controller.transform(Controller.java:1550)
>        at
>
> net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.transformFile(HTMLEmailPublisher.java:547)
>        at
>
> net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.appendTransform(HTMLEmailPublisher.java:531)
>        at
>
> net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.transform(HTMLEmailPublisher.java:490)
>        at
>
> net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.createMessage(HTMLEmailPublisher.java:459)
>        at
>
> net.sourceforge.cruisecontrol.publishers.EmailPublisher.publish(EmailPublisher.java:342)
>        at net.sourceforge.cruisecontrol.Project.publish(Project.java:761)
>        at net.sourceforge.cruisecontrol.Project.build(Project.java:265)
>        at net.sourceforge.cruisecontrol.Project.execute(Project.java:148)
>        at
> net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:408)
>        at
> net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.FileNotFoundException: C:\Program
> Files\CruiseControl\logs\Project1\log20110323081615Lbuild.1.xml (The system
> cannot find the path specified)
>        at java.io.FileInputStream.open(Native Method)
>        at java.io.FileInputStream.<init>(FileInputStream.java:106)
>        at java.io.FileInputStream.<init>(FileInputStream.java:66)
>        at
>
> sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
>        at
>
> sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
>        at
> org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
> Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
> Source)
>        at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:371)
>        ... 14 more
> ---------
> java.io.FileNotFoundException: C:\Program
> Files\CruiseControl\logs\Project1\log20110323081615Lbuild.1.xml (The system
> cannot find the path specified)
>        at java.io.FileInputStream.open(Native Method)
>        at java.io.FileInputStream.<init>(FileInputStream.java:106)
>        at java.io.FileInputStream.<init>(FileInputStream.java:66)
>        at
>
> sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
>        at
>
> sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
>        at
> org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
> Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
> Source)
>        at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:371)
>        at net.sf.saxon.event.Sender.send(Sender.java:185)
>        at net.sf.saxon.event.Sender.send(Sender.java:49)
>        at net.sf.saxon.Controller.transform(Controller.java:1550)
>        at
>
> net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.transformFile(HTMLEmailPublisher.java:547)
>        at
>
> net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.appendTransform(HTMLEmailPublisher.java:531)
>        at
>
> net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.transform(HTMLEmailPublisher.java:490)
>        at
>
> net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.createMessage(HTMLEmailPublisher.java:459)
>        at
>
> net.sourceforge.cruisecontrol.publishers.EmailPublisher.publish(EmailPublisher.java:342)
>        at net.sourceforge.cruisecontrol.Project.publish(Project.java:761)
>        at net.sourceforge.cruisecontrol.Project.build(Project.java:265)
>        at net.sourceforge.cruisecontrol.Project.execute(Project.java:148)
>        at
> net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:408)
>        at
> net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
>        at java.lang.Thread.run(Thread.java:619)
> 2011-03-23 08:18:21,626 [Thread-21] ERROR HTMLEmailPublisher - error
> transforming with xslFile buildresults.xsl
> net.sf.saxon.trans.XPathException: java.io.FileNotFoundException:
> C:\Program
> Files\CruiseControl\logs\Project1\log20110323081615Lbuild.1.xml (The system
> cannot find the path specified)
>        at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:384)
>        at net.sf.saxon.event.Sender.send(Sender.java:185)
>        at net.sf.saxon.event.Sender.send(Sender.java:49)
>        at net.sf.saxon.Controller.transform(Controller.java:1550)
>        at
>
> net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.transformFile(HTMLEmailPublisher.java:547)
>        at
>
> net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.appendTransform(HTMLEmailPublisher.java:531)
>        at
>
> net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.transform(HTMLEmailPublisher.java:490)
>        at
>
> net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.createMessage(HTMLEmailPublisher.java:459)
>        at
>
> net.sourceforge.cruisecontrol.publishers.EmailPublisher.publish(EmailPublisher.java:342)
>        at net.sourceforge.cruisecontrol.Project.publish(Project.java:761)
>        at net.sourceforge.cruisecontrol.Project.build(Project.java:265)
>        at net.sourceforge.cruisecontrol.Project.execute(Project.java:148)
>        at
> net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:408)
>        at
> net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.FileNotFoundException: C:\Program
> Files\CruiseControl\logs\Project1\log20110323081615Lbuild.1.xml (The system
> cannot find the path specified)
>        at java.io.FileInputStream.open(Native Method)
>        at java.io.FileInputStream.<init>(FileInputStream.java:106)
>        at java.io.FileInputStream.<init>(FileInputStream.java:66)
>        at
>
> sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
>        at
>
> sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
>        at
> org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
> Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
> Source)
>        at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:371)
>        ... 14 more
> ---------
> java.io.FileNotFoundException: C:\Program
> Files\CruiseControl\logs\Project1\log20110323081615Lbuild.1.xml (The system
> cannot find the path specified)
>        at java.io.FileInputStream.open(Native Method)
>        at java.io.FileInputStream.<init>(FileInputStream.java:106)
>        at java.io.FileInputStream.<init>(FileInputStream.java:66)
>        at
>
> sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
>        at
>
> sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
>        at
> org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
> Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
> Source)
>        at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:371)
>        at net.sf.saxon.event.Sender.send(Sender.java:185)
>        at net.sf.saxon.event.Sender.send(Sender.java:49)
>        at net.sf.saxon.Controller.transform(Controller.java:1550)
>        at
>
> net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.transformFile(HTMLEmailPublisher.java:547)
>        at
>
> net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.appendTransform(HTMLEmailPublisher.java:531)
>        at
>
> net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.transform(HTMLEmailPublisher.java:490)
>        at
>
> net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.createMessage(HTMLEmailPublisher.java:459)
>        at
>
> net.sourceforge.cruisecontrol.publishers.EmailPublisher.publish(EmailPublisher.java:342)
>        at net.sourceforge.cruisecontrol.Project.publish(Project.java:761)
>        at net.sourceforge.cruisecontrol.Project.build(Project.java:265)
>        at net.sourceforge.cruisecontrol.Project.execute(Project.java:148)
>        at
> net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:408)
>        at
> net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
>        at java.lang.Thread.run(Thread.java:619)
>
> It appears, and this is just a quick guess on my part, that the location
> for
> the log files in regards to the HTML Email tag is possibly not getting the
> new value supplied? Does this need to get set someplace else as well so it
> knows to look in the correct spot for the log XML files?
> --
> View this message in context:
> http://old.nabble.com/CruiseControl-log-file-errors-tp31219391p31219391.html
> Sent from the CruiseControl - User mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>



-- 
Julian Simpson
The Build Doctor Ltd.
http://www.build-doctor.com
[email protected]
(+44) 207 183 0323

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar

_______________________________________________
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.