Hi Alex,

No worries re. the delay =)

Finally I managed to reproduce this stack trace. Here's the steps required:

1) create simple job, with at least one TAP file and with ok/not ok's and comments
2) execute the job (I have 2 builds)
3) open build.xml and look for an entry similar to: <org.tap4j.model.Comment reference="../../tapLines/org.tap4j.model.TestResult[3]/comments/org.tap4j.model.Comment
4) replace the [3] by any higher random number (here I used 5)
5) as the objects have already been loaded in memory, stop/start jenkins
6) open the build in Jenkins WEB UI
7) watch the log for an error similar to the following (windows box, that's why the stack trace is word-wrapped)

Caused by: com.thoughtworks.xstream.converters.ConversionException: Invalid refe
rence
---- Debugging information ----
reference : ../../tapLines/org.tap4j.model.TestResult[5]/comments/org.
tap4j.model.Comment
class : hudson.model.FreeStyleBuild
required-type : java.util.LinkedList
path : /build/actions/org.tap4j.plugin.TapTestResultAction/tapRes
ult/testSets/org.tap4j.plugin.model.TestSetMap/testSet/comments/org.tap4j.model.
Comment[3]
line number : 132
-------------------------------
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(A
bstractReferenceUnmarshaller.java:56)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnm
arshaller.java:76)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnm
arshaller.java:60)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionCon
verter.readItem(AbstractCollectionConverter.java:71)
at hudson.util.RobustCollectionConverter.populateCollection(RobustCollec
tionConverter.java:85)

I looked again at tap4j versions, as well as previous releases of the plug-in and couldn't spot a reason for this error happen in your environment. I'm seeing if the plug-in can do some sanity check or if I can find why your build.xml causes this error.

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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to