com.thoughtworks.xstream.converters.reflection.MissingFieldException: No field 'comments' found in class 'org.tap4j.model.TestResult'

Jenkins JIRA | Brent Duffy | 3 years ago
  1. 0

    I get this "old daata" warning after update. Can't finy any word about this in the changelogs. Is this ok to be removed? The error's stacktrace for a Free-Style Project: {quote} Apr 07, 2014 8:02:38 AM hudson.util.RobustReflectionConverter doUnmarshal WARNING: Skipping a non-existent field targetType com.thoughtworks.xstream.converters.reflection.MissingFieldException: No field 'targetType' found in class 'hudson.plugins.jobConfigHistory.JobConfigBadgeAction' at com.thoughtworks.xstream.converters.reflection.FieldDictionary.field(FieldDictionary.java:94) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldType(PureJavaReflectionProvider.java:157) at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:399) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:271) 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.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71) at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:85) at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61) at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:76) 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 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 hudson.XmlFile.unmarshal(XmlFile.java:166) at hudson.model.Run.reload(Run.java:310) at hudson.model.Run.<init>(Run.java:299) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:180) at hudson.model.Build.<init>(Build.java:103) at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41) at sun.reflect.GeneratedConstructorAccessor105.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1129) at hudson.model.AbstractProject$1.create(AbstractProject.java:325) at hudson.model.AbstractProject$1.create(AbstractProject.java:323) at hudson.model.RunMap.retrieve(RunMap.java:225) at hudson.model.RunMap.retrieve(RunMap.java:59) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:674) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:657) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:499) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:533) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:379) at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:321) at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:1066) at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:144) at hudson.plugins.disk_usage.DiskUsageThread.calculateWorkspaceDiskUsage(DiskUsageThread.java:124) at hudson.plugins.disk_usage.DiskUsageThread.execute(DiskUsageThread.java:64) at hudson.model.AsyncPeriodicWork$1.run(AsyncPeriodicWork.java:53) at java.lang.Thread.run(Thread.java:724) {quote} The sample JobConfigBadgeAction from build.xml: {quote} <hudson.plugins.jobConfigHistory.JobConfigBadgeAction plugin="jobConfigHistory@2.4"> <targetType>hudson.model.AbstractBuild</targetType> <configDates> <string>2013-09-18_13-06-58</string> <string>2013-05-27_06-38-21</string> </configDates> <build class="build" reference="../../.."/> </hudson.plugins.jobConfigHistory.JobConfigBadgeAction> {quote}

    Jenkins JIRA | 3 years ago | cforce
    com.thoughtworks.xstream.converters.reflection.MissingFieldException: No field 'targetType' found in class 'hudson.plugins.jobConfigHistory.JobConfigBadgeAction'
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    ConversionException when using Spring with Powermock

    Stack Overflow | 12 months ago | user1883212
    com.thoughtworks.xstream.converters.ConversionException: Could not call java.util.concurrent.ConcurrentHashMap.readObject() : No field 'segmentMask' found in class 'java.util.concurrent.ConcurrentHashMap' ---- Debugging information ---- message : Could not call java.util.concurrent.ConcurrentHashMap.readObject() cause-exception : com.thoughtworks.xstream.converters.reflection.MissingFieldException cause-message : No field 'segmentMask' found in class 'java.util.concurrent.ConcurrentHashMap' class : java.util.concurrent.ConcurrentHashMap required-type : java.util.concurrent.ConcurrentHashMap converter-type : com.thoughtworks.xstream.converters.reflection.SerializableConverter path : /org.powermock.modules.junit4.rule.PowerMockStatement$1/outer-class/fNext/next/testContextManager/testContext/cacheAwareContextLoaderDelegate/contextCache/contextMap/java.util.concurrent.ConcurrentHashMap/default/segmentMask line number : 28 class[1] : org.springframework.test.context.cache.DefaultContextCache converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter class[2] : org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate class[3] : org.springframework.test.context.support.DefaultTestContext class[4] : org.springframework.test.context.TestContextManager class[5] : org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks class[6] : org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks class[7] : org.powermock.modules.junit4.rule.PowerMockStatement class[8] : org.powermock.modules.junit4.rule.PowerMockStatement$1 version : null -------------------------------
  4. 0

    Import/Export of pipeline is not working between odn1.0.3 to 1.1.0

    GitHub | 1 year ago | Jan-Marcek
    cz.cuni.mff.xrg.odcs.commons.app.pipeline.transfer.ImportException: Missing or wrong pipeline file

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.thoughtworks.xstream.converters.reflection.MissingFieldException

      No field 'comments' found in class 'org.tap4j.model.TestResult'

      at com.thoughtworks.xstream.converters.reflection.FieldDictionary.field()
    2. XStream Core
      FieldDictionary.field
      1. com.thoughtworks.xstream.converters.reflection.FieldDictionary.field(FieldDictionary.java:94)
      1 frame