The following comment has been added to this issue:
Author: Tom Cunningham
Created: Fri, 8 Oct 2004 1:16 PM
Body:
I've tried patching 1.2.1 and 1.2.2rc1 with this and I still get the following NPE.
I'm sure I included all of the required jars.
[webdoclet] java.lang.NullPointerException
[webdoclet] at xdoclet.DocletTask.getConfigParams(DocletTask.java:439)
[webdoclet] at xdoclet.DocletTask.createContext(DocletTask.java:615)
[webdoclet] at xdoclet.DocletTask.validateSubTasks(DocletTask.java:517)
[webdoclet] at xdoclet.DocletTask.validateOptions(DocletTask.java:491)
[webdoclet] at
xdoclet.modules.web.WebDocletTask.validateOptions(WebDocletTask.java:24)
[webdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:94)
[webdoclet] at org.apache.tools.ant.Task.perform(Task.java:364)
[webdoclet] at org.apache.tools.ant.Target.execute(Target.java:341)
[webdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[webdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
[webdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
[webdoclet] at org.apache.tools.ant.Main.runBuild(Main.java:673)
[webdoclet] at org.apache.tools.ant.Main.startAnt(Main.java:188)
[webdoclet] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
[webdoclet] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-879?page=comments#action_15071
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-879
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-879
Summary: Fix for "destDir attribute must be present."
Type: Improvement
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
Core
Versions:
1.2.1
Assignee: xdoclet-devel (Use for new issues)
Reporter: Matt Raible
Created: Sun, 25 Apr 2004 11:57 PM
Updated: Fri, 8 Oct 2004 1:16 PM
Environment: Windows XP, JDK 1.4.2, Ant 1.6.1
Description:
When I do an "ant clean" and try to run "webdoclet" on my project, I get the following
error:
"destDir attribute must be present."
According to the following Ant bug report:
It is a bug in the xdoclet code.
At the end of the execute method, it cleans up (nulls)
some internal variables. This code also incorrectly nulls the
destdir attribute.
http://issues.apache.org/bugzilla/show_bug.cgi?id=26310
I'll attach a patch that seems to fix this problem. Note that it only happens when I
do a clean checkout and the first build on my project.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel