It looks like you encountered a bug that existed only in Ant 1.9.3:
Bugzilla Report 55949: NPE in javadoc when using a custom doclet
You have several options:
- Upgrade to a newer version of Ant, such as Ant 1.9.4.
- Downgrade to an older version of Ant, such as Ant 1.9.2.
- Edit the
build.xml
file in the hadoop 0.20.0 source code.
If you go with the "Edit the build.xml
" option, open the file in a text editor and change line 981 from...
<javadoc>
...to...
<javadoc postProcessGeneratedJavadocs="false">