Issue Details (XML | Word | Printable)

Key: CACTUS-260
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Petar Tahchiev
Reporter: Marcio Marchini
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Cactus

Error org/apache/commons/codec/DecoderException does not print stack trace

Created: 30/Aug/08 03:01 AM   Updated: 02/Sep/08 08:29 PM
Return to search
Component/s: Ant Integration
Affects Version/s: 1.8
Fix Version/s: 1.8

Time Tracking:
Not Specified

Environment: Win XP, Cactus 1.8 unde Ant 1.7.1, Tomcat 5.5.

Resolution Date: 02/Sep/08 08:28 PM


 Description  « Hide
My sample project works under Cactus 1.7.2. But under 1.8 it prints this:

   [cactus] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.469

I ran ant-debug and I can see this:

   [cactus] Running com.foo.continuousbuild.example.tests.cactus.TestHello
   [cactus] junit.framework.TestListener: tests to run: 1
   [cactus] junit.framework.TestListener: startTest(testSaveToSessionOK)
   [cactus] Tomcat 5.5.26 started on port [7080]
   [cactus] junit.framework.TestListener: addError(testSaveToSessionOK, org/apache/commons/codec/DecoderException)
   [cactus] junit.framework.TestListener: endTest(testSaveToSessionOK)
   [cactus] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.547 sec


There's nothing to help the user diagnose why org/apache/commons/codec/DecoderException

This was all done following the web page docs, and keep in mind that it works under Cactus 1.7.2.





 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Petar Tahchiev added a comment - 30/Aug/08 08:43 AM
Hi Marcio,

what does the junit reports say?

Also can you attach the build.xml (or pom.xml) & and your JUnit tests, so that I can try to execute the tests myself.

Thanks.

Petar Tahchiev added a comment - 02/Sep/08 08:28 PM
The solution would be to place commons-decoder in your classpath. I will close this issue, because as spoken with Marcio, this solves the problem.