hi, i m not sure if this topic can be discussed here,but i've got no other options. while working with jakarta cactus(framework for testing server side applications,including ejbs),i got the following error. RUNNING THE TESTCASES [junit] Running TestAll [junit] ,.............................Inside TestAll.java [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.162 sec [junit] Testsuite: TestAll [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.162 sec [junit] [junit] Testcase: testConvert took 1.142 sec [junit] Caused an ERROR [junit] InputStream does not contain a serialized object [junit] java.io.StreamCorruptedException: InputStream does not contain a seriali zed object [junit] at java.io.ObjectInputStream.readStreamHeader(Unknown Source) [junit] at java.io.ObjectInputStream.<init>(Unknown Source) [junit] at org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpCl ient.java:148) [junit] at org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCas e.java:422) [junit] at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:13 0) [junit] at org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java: 371) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run( JUnitTestRunner.java:202) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main (JUnitTestRunner.java:326) [junit]
Can anyone tell me what has gone wrong here ? thanks in adv :-)
Thomas Paul
mister krabs
Ranch Hand
Joined: May 05, 2000
Posts: 13974
posted
0
Moving this to the Jakarta Projects forum. ------------------ Tom Sun Certified Programmer for the Java� 2 Platform Moderator of the forums: J2EE and EJB Other Java APIs