jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From T.Rademac...@CEYONIQ.COM
Subject StreamCorruptedException
Date Wed, 31 Oct 2001 14:26:37 GMT
Hi Folks,

I got this exception, using a Cactus Test (DocViewerServletTest):

.......E
Time: 2,984
There was 1 error:
1) testDocViewTest(com.ceyoniq.healthcare.viewer.test.DocViewerServletTest)
java.io.StreamCorruptedException: InputStream does not contain a serialized
object
        at
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:849)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:168)
        at
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java:1
48)
        at
org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:422)
        at
org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:130)
        at
org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:371)
        at com.ceyoniq.healthcare.viewer.test.AllTest.main(AllTest.java:40)
 
FAILURES!!!
Tests run: 9,  Failures: 0,  Errors: 1

My Configuration is:

Servlet Container: Tomcat 4.0
WAR = application.jar's, junit.jar, cactus.jar
Client-TestCase: using Netbeans 3.2.1 (External Execution), 
	          cactus.properties is set in classpath
                servlet.jar (from tomcat 4.0)
		    log4j.jar 
                junit.jar
	          cactus.jar
		    httpunit.jar
		    httpclient.jar		

What did I wrong?
My testcase is very simple (beginxxx sets a parameter, testXXX initalizing
the servlet and call a method, endXXX use httpunit to check the result(very
simple)).

Any ideas?

Thx

Mit freundlichen Grüßen	
Best regards

Tobias Rademacher

----------------------------------------------------------------------------
------
Tobias Rademacher				 	 
Software Development
CEYONIQ Healthcare		Fon: +49 (0)821 44490-0
GmbH & Co. KG		    	Fax: +49 (0)821 44490-60 
Kurzes Geländ 6		    	mailto:t.rademacher@ceyoniq.com
86156 Augsburg		    	www.ceyoniq.com
Germany			   
----------------------------------------------------------------------------
-----------



--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message