Cactus
  1. Cactus
  2. CACTUS-212

running cactus report before junit report causes exception

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: Maven Integration
    • Labels:
      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>

        Activity

        Hide
        Nicolas Chalumeau added a comment -

        It seems to be more a maven issue here !

        The first reports section didn't have a cactus report tag and the failure is for the junit report

        Show
        Nicolas Chalumeau added a comment - It seems to be more a maven issue here ! The first reports section didn't have a cactus report tag and the failure is for the junit report

          People

          • Assignee:
            Unassigned
            Reporter:
            Steffen Pingel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development