You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2014/01/03 07:37:19 UTC

Re: javadoc custom doclet regression bug in 1.9.3?

On 2014-01-02, Earl Hood wrote:

> On Sat, Dec 28, 2013 at 11:47 PM, Antoine Levy Lambert wrote:

>> The Apache Ant Team is proud to announce the 1.9.3 release of Ant.
>   [snip]

> I think I may have encountered a regression bug.

This is the only change between 1.9.2 and 1.9.3 in javadoc:

<http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java?r1=1504315&r2=1536161>

> BUILD FAILED
> java.lang.NullPointerException
>         at org.apache.tools.ant.taskdefs.Javadoc.postProcessGeneratedJavadocs(Javadoc.java:2450)

So in your case destdir is null, something I didn't account for, sorry.

I'll open a bugzilla issue so it is properly tracked and fix it in
trunk.  Maybe you can set destdir to some non-null value as a
workaround?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: javadoc custom doclet regression bug in 1.9.3?

Posted by Earl Hood <ea...@gmail.com>.
On Fri, Jan 3, 2014 at 12:37 AM, Stefan Bodewig wrote:

> <http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java?r1=1504315&r2=1536161>
...
> So in your case destdir is null, something I didn't account for, sorry.
>
> I'll open a bugzilla issue so it is properly tracked and fix it in
> trunk.  Maybe you can set destdir to some non-null value as a
> workaround?

Just tried it, and setting destdir does avoid the NPE.  The doclet in
question does support the -d option that destdir setting maps to.

Thanks for the quick response and subsequent fix.

--ewh

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: javadoc custom doclet regression bug in 1.9.3?

Posted by Stefan Bodewig <bo...@apache.org>.
On 2014-01-03, Stefan Bodewig wrote:

> I'll open a bugzilla issue so it is properly tracked

https://issues.apache.org/bugzilla/show_bug.cgi?id=55949

> and fix it in trunk.

http://svn.apache.org/viewvc?view=revision&revision=1555019

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org