Advertisement
Guest User

Untitled

a guest
Feb 21st, 2012
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.09 KB | None | 0 0
  1. Tests in error:
  2. deserialize_shouldDeserializeStringToClassInstance(org.openmrs.serialization.SimpleXStreamSerializerTest)
  3.  
  4. Tests run: 2008, Failures: 0, Errors: 1, Skipped: 23
  5.  
  6. [INFO] ------------------------------------------------------------------------
  7. [INFO] Reactor Summary:
  8. [INFO]
  9. [INFO] OpenMRS ........................................... SUCCESS [1.141s]
  10. [INFO] openmrs-tools ..................................... SUCCESS [1.951s]
  11. [INFO] openmrs-test ...................................... SUCCESS [0.015s]
  12. [INFO] openmrs-api ....................................... FAILURE [7:10.462s]
  13. [INFO] openmrs-web ....................................... SKIPPED
  14. [INFO] openmrs-webapp .................................... SKIPPED
  15. [INFO] openmrs-release-test .............................. SKIPPED
  16. [INFO] ------------------------------------------------------------------------
  17. [INFO] BUILD FAILURE
  18.  
  19. -------------------------------------------------------------------------------
  20. Test set: org.openmrs.serialization.SimpleXStreamSerializerTest
  21. -------------------------------------------------------------------------------
  22. Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.017 sec <<< FAILURE!
  23. deserialize_shouldDeserializeStringToClassInstance(org.openmrs.serialization.SimpleXStreamSerializerTest) Time elapsed: 0.001 sec <<< ERROR!
  24. org.openmrs.serialization.SerializationException: Unable to deserialize class: org.openmrs.serialization.Foo
  25. at org.openmrs.serialization.SimpleXStreamSerializer.deserialize(SimpleXStreamSerializer.java:104)
  26. at org.openmrs.serialization.SimpleXStreamSerializerTest.deserialize_shouldDeserializeStringToClassInstance(SimpleXStreamSerializerTest.java:81)
  27. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  28. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  29. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  30. at java.lang.reflect.Method.invoke(Method.java:601)
  31. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  32. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  33. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  34. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  35. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
  36. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  37. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  38. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  39. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  40. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  41. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  42. at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  43. at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
  44. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
  45. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
  46. at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
  47. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  48. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  49. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  50. at java.lang.reflect.Method.invoke(Method.java:601)
  51. at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
  52. at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
  53. Caused by: com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.openmrs.serialization.Foo as it does not have a no-args constructor : Cannot construct org.openmrs.serialization.Foo as it does not have a no-args constructor
  54. ---- Debugging information ----
  55. message : Cannot construct org.openmrs.serialization.Foo as it does not have a no-args constructor
  56. cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
  57. cause-message : Cannot construct org.openmrs.serialization.Foo as it does not have a no-args constructor
  58. class : org.openmrs.serialization.Foo
  59. required-type : org.openmrs.serialization.Foo
  60. path : /org.openmrs.serialization.Foo
  61. -------------------------------
  62. at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89)
  63. at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
  64. at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
  65. at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
  66. at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
  67. at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
  68. at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)
  69. at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909)
  70. at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)
  71. at com.thoughtworks.xstream.XStream.fromXML(XStream.java:845)
  72. at org.openmrs.serialization.SimpleXStreamSerializer.deserialize(SimpleXStreamSerializer.java:101)
  73. ... 27 more
  74. Caused by: com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Cannot construct org.openmrs.serialization.Foo as it does not have a no-args constructor
  75. at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.newInstance(PureJavaReflectionProvider.java:71)
  76. at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:308)
  77. at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:161)
  78. at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
  79. ... 37 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement