DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39809>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39809

           Summary: ant task fails in fop-trunk
           Product: Fop
           Version: 1.0dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: [EMAIL PROTECTED]


I have Fop version built from source checked out from svn on 13-JUN-2006
When using the fop ant task, it errors with java.lang.NullPointerException

It worked with previous builds from svn, latest test approx 20-MAY-2006.
It works with fop 0.92.
Happens with ant 1.6.5 and ant 1.7alpha.

build.xml extract:
------------------
      <!-- generate the resulting pdf output file -->
      <taskdef name="fop"
         classname="org.apache.fop.tools.anttasks.Fop" 
classpathref="${__fop.path}">
      </taskdef>
      <fop format="application/pdf" 
          fofile="${temp.dir}/book.fo"
          outfile="@{reportdir}/book.pdf"/>


Stack trace:
------------

java.lang.NullPointerException
        at 
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.buildFrom
File(DefaultConfigurationBuilder.java:186)
        at org.apache.fop.apps.FopFactory.setUserConfig(FopFactory.java:487)
        at org.apache.fop.tools.anttasks.FOPTaskStarter.<init>(Fop.java:341)
        at org.apache.fop.tools.anttasks.Fop.execute(Fop.java:294)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to