running cactus report before junit report causes exception
----------------------------------------------------------

         Key: CACTUS-212
         URL: http://issues.apache.org/jira/browse/CACTUS-212
     Project: Cactus
        Type: Bug
  Components: Maven Integration  
    Versions: 1.7    
    Reporter: Steffen Pingel


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>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to