ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Troy Bull <troy.b...@gmail.com>
Subject Re: JavaDoc problem
Date Tue, 03 Mar 2009 17:11:37 GMT
I am not sure if this is my problem or not..  The stack trace looks to me
like it is trying to scan for some files or something:

BUILD FAILED
java.lang.NullPointerException
        at
org.apache.tools.ant.types.AbstractFileSet.setupDirectoryScanner(AbstractFileSet.java:477)
        at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:442)
        at org.apache.tools.ant.types.FileSet.iterator(FileSet.java:69)
        at
org.apache.tools.ant.taskdefs.Javadoc.addSourceFiles(Javadoc.java:2268)
        at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:1641)
        at
org.ifmc.enterprise.build.project.ReportsGenerator.generateJavaDocs(ReportsGenerator.java:152)
        at
org.ifmc.enterprise.build.project.ReportsGenerator.generatePostCompileReports(ReportsGenerator.java:53)
        at
org.ifmc.enterprise.build.project.AbstractEnterpriseProject.build(AbstractEnterpriseProject.java:224)
        at
org.ifmc.enterprise.build.EnterpriseBuildTask.execute(EnterpriseBuildTask.java:35)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.Main.runBuild(Main.java:758)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Any help would be greatly appreciated.

Thanks
troy

On Tue, Mar 3, 2009 at 10:37 AM, Martin Gainty <mgainty@hotmail.com> wrote:

>
> Troy-
>
> I found javadoc had a hard dependency on ../etc/common.xml which I solved
> with
>
>    <available file="../etc/common.xml" property="isFileAvail"/>
>
>    <!-- Module targets -->
>    <target name="com.hp.mwlabs.ts.product.orbportability.compile"
> if="isFileAvail">
>      <javadoc....>
>
> HTH
> Martin
> ______________________________________________
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and Sender
> does not endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
>
>
>
>
> > Date: Tue, 3 Mar 2009 09:52:04 -0600
> > Subject: JavaDoc problem
> > From: troy.bull@gmail.com
> > To: user@ant.apache.org
> >
> > Greetings
> >
> > I have a "build system" built around ant.  It was originally written with
> > ant 1.6.5, recently I tried to upgrade to 1.7.1 and my javadoc task
> started
> > failing with a NullPointer exception.  Does anyone know if this is a
> known
> > issue or is there something I can do?  Switching back to 1.6.5 caused the
> > problem to go away..
> >
> > Thanks
> > troy
>
> _________________________________________________________________
> Windows Liveā„¢ Contacts: Organize your contact list.
>
> http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009<http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns%21503D1D86EBB2B53C%212285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message