ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject java.lang.NullPointerException at .XMLJUnitResultFormatter.formatOutput(
Date Tue, 17 Jan 2006 16:20:10 GMT
I'm trying to get the jUnit task to show the results in a xml format, 
however, when I add  "<formatter type="xml" />" in the Ant build script I 
get java.lang.NullPointerException at 

Error Output: 
    [junit] java.lang.NullPointerException 
    [junit] at 
    [junit] at 
    [junit] at 
    [junit] at 
    [junit] at 
    [junit] at 
    [junit] Exception in thread "main" 

Here's what I have in the ant build file: 

                <junit printsummary="yes" fork="yes" haltonfailure="yes" 
                                <path refid="compile.classpath" /> 
                         <formatter type="xml" /> 
                        <test name="" 
outfile="result" > 
                                <formatter type="xml" /> 
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message