com.thoughtworks.xstream.converters.ConversionException: Cannot convert type org.robolectric.internal.dependency.CachedDependencyResolver to type org.robolectric.internal.dependency.DependencyResolver ---- Debugging information ---- message : Cannot convert type org.robolectric.internal.dependency.CachedDependencyResolver to type org.robolectric.internal.dependency.DependencyResolver class : org.robolectric.RobolectricGradleTestRunner required-type : org.robolectric.RobolectricGradleTestRunner converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter path : /org.powermock.modules.junit4.rule.PowerMockStatement$1/outer-class/fNext/outer-class/outer-class/dependencyResolver line number : 283 class[1] : org.robolectric.RobolectricTestRunner$HelperTestRunner class[2] : org.robolectric.RobolectricTestRunner$HelperTestRunner$1 class[3] : org.powermock.modules.junit4.rule.PowerMockStatement class[4] : org.powermock.modules.junit4.rule.PowerMockStatement$1 version : not available -------------------------------

GitHub | 51systems | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 680#229249509

    GitHub | 9 months ago | 51systems
    com.thoughtworks.xstream.converters.ConversionException: Cannot convert type org.robolectric.internal.dependency.CachedDependencyResolver to type org.robolectric.internal.dependency.DependencyResolver ---- Debugging information ---- message : Cannot convert type org.robolectric.internal.dependency.CachedDependencyResolver to type org.robolectric.internal.dependency.DependencyResolver class : org.robolectric.RobolectricGradleTestRunner required-type : org.robolectric.RobolectricGradleTestRunner converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter path : /org.powermock.modules.junit4.rule.PowerMockStatement$1/outer-class/fNext/outer-class/outer-class/dependencyResolver line number : 283 class[1] : org.robolectric.RobolectricTestRunner$HelperTestRunner class[2] : org.robolectric.RobolectricTestRunner$HelperTestRunner$1 class[3] : org.powermock.modules.junit4.rule.PowerMockStatement class[4] : org.powermock.modules.junit4.rule.PowerMockStatement$1 version : not available -------------------------------
  2. 0

    GitHub comment 680#229248986

    GitHub | 9 months ago | 51systems
    com.thoughtworks.xstream.converters.ConversionException: Cannot convert type org.apache.tools.ant.Project to type org.apache.tools.ant.Project ---- Debugging information ---- message : Cannot convert type org.apache.tools.ant.Project to type org.apache.tools.ant.Project class : org.apache.tools.ant.Project$1 required-type : org.apache.tools.ant.Project$1 converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter path : /org.powermock.modules.junit4.rule.PowerMockStatement$1/outer-class/fNext/outer-class/outer-class/dependencyResolver/dependencyResolver/project/isLoggingMessage/outer-class line number : 199 class[1] : org.apache.tools.ant.Project class[2] : org.robolectric.internal.dependency.MavenDependencyResolver class[3] : org.robolectric.internal.dependency.CachedDependencyResolver class[4] : org.robolectric.RobolectricGradleTestRunner class[5] : org.robolectric.RobolectricTestRunner$HelperTestRunner class[6] : org.robolectric.RobolectricTestRunner$HelperTestRunner$1 class[7] : org.powermock.modules.junit4.rule.PowerMockStatement class[8] : org.powermock.modules.junit4.rule.PowerMockStatement$1 version : not available -------------------------------
  3. 0

    Xstream incorrectly interpreting a list item as part of another list item

    Stack Overflow | 3 years ago | Xynariz
    com.thoughtworks.xstream.converters.ConversionException: Element user of type shared.model.User is not defined as field in type shared.model.User ---- Debugging information ---- class : shared.model.User required-type : shared.model.User converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter path : /data/users/user line number : 19 class[1] : indexer.shared.model.Model version : null -------------------------------
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error loading fresh starter Oracle

    GitHub | 5 years ago | dotjorgeu
    com.thoughtworks.xstream.converters.ConversionException: Cannot parse date 2012-03-01 00:00:00.0 ---- Debugging information ---- class : java.util.ArrayList required-type : java.util.Date path : /list/com.dotmarketing.portlets.contentlet.model.ContentletVersionInfo/lockedOn line number : 5 -------------------------------
  6. 0

    Java Reading XML with XStream

    Stack Overflow | 4 years ago | user2686811
    com.thoughtworks.xstream.converters.ConversionException: Authors : Authors ---- Debugging information ---- message : Authors cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException cause-message : Authors class : java.util.ArrayList required-type : java.util.ArrayList converter-type : com.thoughtworks.xstream.converters.collections.CollectionConverter path : /ListOfDBook/DBook/Authors class[1] : com.test.books.ListOfDBook converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter version : null -------------------------------

  1. Kelly O'Hair 1 times, last 7 months ago
6 unregistered visitors
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.ConversionException

    Cannot convert type org.robolectric.internal.dependency.CachedDependencyResolver to type org.robolectric.internal.dependency.DependencyResolver ---- Debugging information ---- message : Cannot convert type org.robolectric.internal.dependency.CachedDependencyResolver to type org.robolectric.internal.dependency.DependencyResolver class : org.robolectric.RobolectricGradleTestRunner required-type : org.robolectric.RobolectricGradleTestRunner converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter path : /org.powermock.modules.junit4.rule.PowerMockStatement$1/outer-class/fNext/outer-class/outer-class/dependencyResolver line number : 283 class[1] : org.robolectric.RobolectricTestRunner$HelperTestRunner class[2] : org.robolectric.RobolectricTestRunner$HelperTestRunner$1 class[3] : org.powermock.modules.junit4.rule.PowerMockStatement class[4] : org.powermock.modules.junit4.rule.PowerMockStatement$1 version : not available -------------------------------

    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal()
  2. XStream Core
    XStream.fromXML
    1. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:456)
    2. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:281)
    3. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    4. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
    5. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    6. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:503)
    7. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:429)
    8. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:281)
    9. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    10. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
    11. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    12. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:503)
    13. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:429)
    14. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:281)
    15. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    16. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
    17. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    18. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:503)
    19. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:429)
    20. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:281)
    21. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    22. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
    23. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    24. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:503)
    25. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:429)
    26. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:281)
    27. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    28. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
    29. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    30. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
    31. com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
    32. com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
    33. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1230)
    34. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1214)
    35. com.thoughtworks.xstream.XStream.fromXML(XStream.java:1085)
    36. com.thoughtworks.xstream.XStream.fromXML(XStream.java:1076)
    36 frames
  3. powermock-classloading-base
    AbstractClassloaderExecutor.execute
    1. org.powermock.classloading.DeepCloner.clone(DeepCloner.java:55)
    2. org.powermock.classloading.AbstractClassloaderExecutor.executeWithClassLoader(AbstractClassloaderExecutor.java:56)
    3. org.powermock.classloading.SingleClassloaderExecutor.execute(SingleClassloaderExecutor.java:67)
    4. org.powermock.classloading.AbstractClassloaderExecutor.execute(AbstractClassloaderExecutor.java:43)
    4 frames
  4. Powermock
    PowerMockStatement.evaluate
    1. org.powermock.modules.junit4.rule.PowerMockStatement.evaluate(PowerMockRule.java:75)
    1 frame
  5. Roboelectric
    RobolectricTestRunner.runChild
    1. org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:265)
    2. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:191)
    3. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:56)
    3 frames
  6. JUnit
    ParentRunner$2.evaluate
    1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    5 frames
  7. Roboelectric
    RobolectricTestRunner$1.evaluate
    1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:157)
    1 frame
  8. JUnit
    JUnitCore.run
    1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    2. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    2 frames
  9. IntelliJ junit4 module
    JUnit4IdeaTestRunner.startRunnerWithArgs
    1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
    1 frame
  10. IDEA
    JUnitStarter.main
    1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
    2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
    2 frames
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  12. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame