Created attachment 23277 [details] Switch lines, failonerror Building the API reference from source using the Sun JDK 1.4.2_19, javadoc crashes with a NullPointerException in ValueTaglet. As the build script does not fail on javadoc errors, an automated build process is likely to deliver an incomplete API reference. This is especially annoying as there is no API on the official Ant home page. The cause seems to be that src/main/org/apache/tools/ant/MagicNames.java contains a few doc comments which have @since before @value. Switching those lines solves the problem. The offending lines were introduced by r393282 and r405523. The attached patch solves the issue. It also adds failonerror to the javadoc tasks in the main build.xml file.
patch comitted as svn revision 775914 Thanks!