Uploaded image for project: 'Cactus'
  1. Cactus
  2. CACTUS-212

running cactus report before junit report causes exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7
    • None
    • Maven Integration
    • None

    Description

      After running the tests, the maven-junit-report plugin fails. The problem looks similiar to this report: http://jira.codehaus.org/browse/MPJUNITREPORT-5.

      Here is part of the Maven output:

      test:test:
      [...]

      BUILD FAILED
      File...... /usr/local/maven-repository/cache/maven-xdoc-plugin-1.8/plugin.jelly
      Element... j:include
      Line...... 130
      Column.... 55
      file:/usr/local/maven-repository/cache/maven-junit-report-plugin-1.5/plugin-resources/junit.jsl:30:16: <jsl:stylesheet> file:/usr/local/maven-repository/cache/maven-junit-report-plugin-1.5/plugin-resources/junit.jsl:214:56: <junit:displayImage> java.lang.NullPointerException

      My project.xml has the following reports:

      <reports>
      <report>maven-changes-plugin</report>
      <report>maven-javadoc-plugin</report>
      <report>maven-jdepend-plugin</report>
      <report>maven-jcoverage-plugin</report>
      <report>maven-jxr-plugin</report>
      <report>maven-junit-report-plugin</report>
      </reports>

      Reversing the order of the junit and cactus plugin acctually solved the problem:

      <report>maven-junit-report-plugin</report>
      <report>maven-cactus-plugin</report>

      Attachments

        Activity

          People

            Unassigned Unassigned
            stp Steffen Pingel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: