Sure call me Phil :)

I ran the svn update on the EventProducerCollectorTask.java file.

Here is the stack after running ant:

BUILD FAILED
java.lang.NullPointerException
        at
net.sf.saxon.event.ReceivingContentHandler.getNameCode(ReceivingConte
ntHandler.java:404)
        at
net.sf.saxon.event.ReceivingContentHandler.startElement(ReceivingCont
entHandler.java:277)
        at org.apache.fop.events.model.EventModel.toSAX(EventModel.java:96)
        at
org.apache.fop.events.model.EventModel.writeXMLizable(EventModel.java
:116)
        at
org.apache.fop.events.model.EventModel.saveToXML(EventModel.java:133)

        at
org.apache.fop.tools.EventProducerCollector.saveModelToXML(EventProdu
cerCollector.java:202)
        at
org.apache.fop.tools.EventProducerCollectorTask.execute(EventProducer
CollectorTask.java:70)
        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(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a: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(DefaultExe
cutor.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)

Andreas Delmelle-2 wrote:
> 
> On Jul 13, 2008, at 19:34, bonekrusher wrote:
> 
> Hi Bones (or can we just call you Phil ;-))
> 
>> No spaces.  Both trunk and Ant are as follows:
>>
>> c:\ant
>> c:\fop_trunk
> 
> I've just committed a small change to EventProducerCollectorTask.java  
> that /might/ help... (?)
> 
> Can you try to update your sandbox, run a clean build and report back  
> on whether that changed anything?
> 
> 
> Thanks
> 
> Andreas
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Building-FOP-Trunk-with-Ant---BUILD-FAILED-tp18359419p18434967.html
Sent from the FOP - Dev mailing list archive at Nabble.com.

Reply via email to