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 Ma...@asmorphic.net.au on 2010/02/06 04:28:28 UTC

trying to debug using eclipse

Hi Guys,

Wondering if there are any tips of what i'm doing wrong - have built the
application using ant, and it says it was built successfully. Can see the
event-models.xml in the accessibility section, however, when running the
application from eclipse, I get:

NFO: Default page-width set to: 210mm
Exception in thread "main" java.lang.ExceptionInInitializerError
	at org.apache.fop.apps.FOUserAgent.<init>(FOUserAgent.java:102)
	at
org.apache.fop.apps.FopFactory.newFOUserAgent(FopFactory.java:188)
	at
org.apache.fop.cli.CommandLineOptions.parse(CommandLineOptions.java:171)
	at org.apache.fop.cli.Main.startFOP(Main.java:158)
	at org.apache.fop.cli.Main.main(Main.java:205)
Caused by: java.util.MissingResourceException: File event-model.xml not
found
	at
org.apache.fop.events.model.AbstractEventModelFactory.loadModel(AbstractEven
tModelFactory.java:46)
	at
org.apache.fop.accessibility.AccessibilityEventProducer$EventModelFactory.cr
eateEventModel(AccessibilityEventProducer.java:54)
	at
org.apache.fop.events.DefaultEventBroadcaster.<clinit>(DefaultEventBroadcast
er.java:73)
	... 5 more


Any suggestions on where I should start looking?

THanks
Martin