You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2006/06/14 01:08:33 UTC

DO NOT REPLY [Bug 39809] New: - ant task fails in fop-trunk

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: j_cumps@yahoo.com


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.

DO NOT REPLY [Bug 39809] - ant task fails in fop-trunk

Posted by bu...@apache.org.
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





------- Additional Comments From j_cumps@yahoo.com  2006-06-14 17:15 -------
Tested with fresh checkout. Works fine.
Thank you.

-- 
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.

DO NOT REPLY [Bug 39809] - ant task fails in fop-trunk

Posted by bu...@apache.org.
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


jeremias@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From jeremias@apache.org  2006-06-14 07:54 -------
Thanks for the report. I've fixed it:
http://svn.apache.org/viewvc?rev=414137&view=rev

-- 
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.