com.thoughtworks.xstream.converters.ConversionException: QTestLibType on Jenkins 1.524 and later

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: xunit-plugin
    • None

      If I upgrade beyond Jenkins 1.523, jobs fail to load if they have xUnit publishers of type QTestlib.

      In the log, I get this:

      Failed Loading job myjob
      hudson.util.IOException2: Unable to read /home/jenkins/Home/jobs/myjob/config.xml
      [...]
      Caused by: com.thoughtworks.xstream.converters.ConversionException: QTestLibType : QTestLibType
      ---- Debugging information ----
      message             : QTestLibType
      cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
      cause-message       : QTestLibType
      class               : [Lcom.thalesgroup.dtkit.metrics.hudson.api.type.TestType;
      required-type       : [Lcom.thalesgroup.dtkit.metrics.hudson.api.type.TestType;
      converter-type      : com.thoughtworks.xstream.converters.collections.ArrayConverter
      path                : /project/publishers/xunit/types/QTestLibType
      line number         : 574
      class[1]            : org.jenkinsci.plugins.xunit.XUnitPublisher
      converter-type[1]   : hudson.util.RobustReflectionConverter
      class[2]            : hudson.util.DescribableList
      converter-type[2]   : hudson.util.DescribableList$ConverterImpl
      class[3]            : hudson.model.FreeStyleProject
      version             : not available
      -------------------------------
      [...]
      

            Assignee:
            Gregory Boissinot
            Reporter:
            Steve Mokris
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: