https://issues.apache.org/bugzilla/show_bug.cgi?id=46731
Summary: Javadoc creation crashes on Sun JDK 1.4.x with
NullPointerException in ValueTaglet
Product: Ant
Version: 1.7.1
Platform: PC
URL: https://bugs.gentoo.org/show_bug.cgi?id=217102
OS/Version: All
Status: NEW
Keywords: PatchAvailable
Severity: minor
Priority: P2
Component: Build Process
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=23277)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23277)
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 (
https://svn.apache.org/viewcvs.cgi?view=rev&rev=393282 )and
r405523 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=405523 )
The attached patch solves the issue. It also adds failonerror to the javadoc
tasks in the main build.xml file.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.