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 -------------------------------

GitHub | 51systems | 11 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#229248986

    GitHub | 11 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 -------------------------------
  2. 0

    GitHub comment 680#229249509

    GitHub | 11 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 -------------------------------
  3. 0

    mockito+realm: Cannot convert type DeferredElementImpl to type org.w3c.dom.Node

    GitHub | 3 months ago | drofnnuD
    com.thoughtworks.xstream.converters.ConversionException: Cannot convert type com.sun.org.apache.xerces.internal.dom.DeferredElementImpl to type org.w3c.dom.Node ---- Debugging information ---- message : Cannot convert type com.sun.org.apache.xerces.internal.dom.DeferredElementImpl to type org.w3c.dom.Node class : org.robolectric.manifest.AndroidManifest required-type : org.robolectric.manifest.AndroidManifest converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter path : /org.powermock.modules.junit4.rule.PowerMockStatement$1/outer-class/fNext/next/val$roboMethod/appManifest/applicationNode line number : 760 class[1] : org.robolectric.RobolectricTestRunner$RobolectricFrameworkMethod class[2] : org.robolectric.RobolectricTestRunner$HelperTestRunner$1 class[3] : org.junit.internal.runners.statements.RunBefores class[4] : org.powermock.modules.junit4.rule.PowerMockStatement class[5] : org.powermock.modules.junit4.rule.PowerMockStatement$1 version : not available -------------------------------
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 2749#284047529

    GitHub | 3 months ago | benmarten
    com.thoughtworks.xstream.converters.ConversionException: Cannot convert type com.sun.org.apache.xerces.internal.dom.DeferredElementImpl to type org.w3c.dom.Node ---- Debugging information ---- message : Cannot convert type com.sun.org.apache.xerces.internal.dom.DeferredElementImpl to type org.w3c.dom.Node class : org.robolectric.manifest.AndroidManifest required-type : org.robolectric.manifest.AndroidManifest converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter path : /org.powermock.modules.junit4.rule.PowerMockStatement$1/outer-class/fNext/next/val$roboMethod/appManifest/applicationNode line number : 5978 class[1] : org.robolectric.RobolectricTestRunner$RobolectricFrameworkMethod class[2] : org.robolectric.RobolectricTestRunner$HelperTestRunner$1 class[3] : org.junit.internal.runners.statements.RunBefores class[4] : org.powermock.modules.junit4.rule.PowerMockStatement class[5] : org.powermock.modules.junit4.rule.PowerMockStatement$1 version : not available -------------------------------
  6. 0

    GitHub comment 2749#284050262

    GitHub | 3 months ago | jongerrish
    com.thoughtworks.xstream.converters.ConversionException: Cannot convert type com.sun.org.apache.xerces.internal.dom.DeferredElementImpl to type org.w3c.dom.Node ---- Debugging information ---- message : Cannot convert type com.sun.org.apache.xerces.internal.dom.DeferredElementImpl to type org.w3c.dom.Node class : org.robolectric.manifest.AndroidManifest required-type : org.robolectric.manifest.AndroidManifest converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter path : /org.powermock.modules.junit4.rule.PowerMockStatement$1/outer-class/fNext/next/val$roboMethod/appManifest/applicationNode line number : 5978 class[1] : org.robolectric.RobolectricTestRunner$RobolectricFrameworkMethod class[2] : org.robolectric.RobolectricTestRunner$HelperTestRunner$1 class[3] : org.junit.internal.runners.statements.RunBefores class[4] : org.powermock.modules.junit4.rule.PowerMockStatement class[5] : org.powermock.modules.junit4.rule.PowerMockStatement$1 version : not available -------------------------------

  1. Kelly O'Hair 1 times, last 9 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.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 -------------------------------

    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.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:503)
    31. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:429)
    32. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:281)
    33. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    34. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
    35. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    36. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:503)
    37. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:429)
    38. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:281)
    39. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    40. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
    41. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    42. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:503)
    43. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:429)
    44. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:281)
    45. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    46. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
    47. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    48. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:503)
    49. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:429)
    50. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:281)
    51. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    52. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
    53. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    54. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
    55. com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
    56. com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
    57. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1230)
    58. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1214)
    59. com.thoughtworks.xstream.XStream.fromXML(XStream.java:1085)
    60. com.thoughtworks.xstream.XStream.fromXML(XStream.java:1076)
    60 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