carrotsearch/randomizedtesting — Issue #32: Description is not serializable in older JUnit4 versions?
Author: dweiss
Created: 2011-12-02 10:08:37+00:00
State: open
Labels: ant-junit4, bug, refactoring

java.io.NotSerializableException: org.junit.runner.Description
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
at com.carrotsearch.ant.tasks.junit4.events.Serializer.serialize(Serializer.java:16)
at com.carrotsearch.ant.tasks.junit4.slave.RunListenerEmitter.testRunStarted(RunListenerEmitter.java:29)
at com.carrotsearch.ant.tasks.junit4.slave.NoExceptionRunListenerDecorator.testRunStarted(NoExceptionRunListenerDecorator.java:23)
at com.carrotsearch.ant.tasks.junit4.slave.BeforeAfterRunListenerDecorator.testRunStarted(BeforeAfterRunListenerDecorator.java:24)
at org.junit.runner.notification.RunNotifier$1.notifyListener(RunNotifier.java:55)
at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:38)
at org.junit.runner.notification.RunNotifier.fireTestRunStarted(RunNotifier.java:52)
at org.junit.runner.JUnitCore.run(JUnitCore.java:156)
at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
at com.carrotsearch.ant.tasks.junit4.slave.SlaveMain.execute(SlaveMain.java:114)
at com.carrotsearch.ant.tasks.junit4.slave.SlaveMain.main(SlaveMain.java:182)
at com.carrotsearch.ant.tasks.junit4.slave.SlaveMainSafe.main(SlaveMainSafe.java:6)