Cactus
  1. Cactus
  2. CACTUS-260

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8
    • Component/s: Ant Integration
    • Labels:
      None
    • Environment:
      Win XP, Cactus 1.8 unde Ant 1.7.1, Tomcat 5.5.

      Description

      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.

        Activity

        Marcio Marchini created issue -
        Petar Tahchiev made changes -
        Field Original Value New Value
        Assignee Petar Tahchiev [ paranoiabla ]
        Hide
        Petar Tahchiev added a comment -

        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.

        Show
        Petar Tahchiev added a comment - 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.
        Hide
        Petar Tahchiev added a comment -

        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.

        Show
        Petar Tahchiev added a comment - 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.
        Petar Tahchiev made changes -
        Fix Version/s 1.8 [ 12310167 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Petar Tahchiev made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Petar Tahchiev
            Reporter:
            Marcio Marchini
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development