We are getting a similar exception now with one job at fingerprinting.
I think it is caused by an unmasked special character in the XML file.
We have an ampersand character in the fileName tag.

This causes the following exception:

Zeichne Fingerabrücke auf
ERROR: Aufzeichnen der Fingerabdrücke fehlgeschlagen
hudson.util.IOException2: Unable to read /var/lib/jenkins/fingerprints/ad/e6/834fc0dc20875dcc2c88635d6b37.xml
at hudson.XmlFile.read(XmlFile.java:147)
at hudson.model.Fingerprint.load(Fingerprint.java:981)
at hudson.model.Fingerprint.load(Fingerprint.java:969)
at hudson.model.FingerprintMap.load(FingerprintMap.java:94)
at hudson.model.FingerprintMap.load(FingerprintMap.java:45)
at hudson.util.KeyedDataStorage.get(KeyedDataStorage.java:154)
at hudson.model.FingerprintMap.get(FingerprintMap.java:79)
at hudson.model.FingerprintMap.get(FingerprintMap.java:45)
at hudson.util.KeyedDataStorage.getOrCreate(KeyedDataStorage.java:108)
at hudson.model.FingerprintMap.getOrCreate(FingerprintMap.java:65)
at hudson.tasks.Fingerprinter$1Record.addRecord(Fingerprinter.java:210)
at hudson.tasks.Fingerprinter.record(Fingerprinter.java:254)
at hudson.tasks.Fingerprinter.perform(Fingerprinter.java:121)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
at hudson.model.Run.execute(Run.java:1601)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:241)
Caused by: com.thoughtworks.xstream.converters.ConversionException: : entity reference name can not contain character <' (position: START_TAG seen ...<fileName>REC1R&E.DAT<... @5:25) : : entity reference name can not contain character <' (position: START_TAG seen ...<fileName>REC1R&E.DAT<... @5:25)
---- Debugging information ----
message : : entity reference name can not contain character <' (position: START_TAG seen ...<fileName>REC1R&E.DAT<... @5:25)
cause-exception : com.thoughtworks.xstream.io.StreamException
cause-message : : entity reference name can not contain character <' (position: START_TAG seen ...<fileName>REC1R&E.DAT<... @5:25)
class : java.lang.String
required-type : java.lang.String
converter-type : com.thoughtworks.xstream.converters.SingleValueConverterWrapper
wrapped-converter : com.thoughtworks.xstream.converters.basic.StringConverter
path : /fingerprint/fileName
line number : 5
class[1] : hudson.model.Fingerprint
converter-type[1] : hudson.util.RobustReflectionConverter
version : null
-------------------------------
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:333)
at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:275)
at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061)
at hudson.util.XStream2.unmarshal(XStream2.java:109)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:925)
at hudson.XmlFile.read(XmlFile.java:143)
... 21 more
Caused by: com.thoughtworks.xstream.io.StreamException: : entity reference name can not contain character <' (position: START_TAG seen ...<fileName>REC1R&E.DAT<... @5:25)
at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:124)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:135)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.getValue(AbstractPullReader.java:180)
at com.thoughtworks.xstream.io.ReaderWrapper.getValue(ReaderWrapper.java:48)
at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.unmarshal(SingleValueConverterWrapper.java:49)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
... 37 more
Caused by: org.xmlpull.v1.XmlPullParserException: entity reference name can not contain character <' (position: START_TAG seen ...<fileName>REC1R&E.DAT<... @5:25)
at org.xmlpull.mxp1.MXParser.parseEntityRef(MXParser.java:2222)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1275)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:109)
... 43 more
Build step 'Fingerabdrücke von Dateien aufzeichnen, um deren Verwendung zu verfolgen' changed build result to FAILURE

Change By: Daniel Fischer (14/Jun/13 7:25 AM)
Attachment: 834fc0dc20875dcc2c88635d6b37.xml
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to