I had the same exception raised at that line number. I tried to debug
looking into the source code.
and found out that i was missing a page-sequence tag.

Please check if you are missing any needed tags in your fo file.

Thanks
naveen


                                                                                
                                                       
                      Patrick Lanphier                                          
                                                       
                      <[EMAIL PROTECTED]        To:       <[EMAIL PROTECTED]>   
                                                  
                      sgroup.com>              cc:                              
                                                       
                                               Subject:  Debugging FOP          
                                                       
                      04/19/02 07:16 AM                                         
                                                       
                      Please respond to                                         
                                                       
                      fop-user                                                  
                                                       
                                                                                
                                                       
                                                                                
                                                       




How do you debug an file being input in fo format to fop when all one gets
is the following.  It does not provide you with a line number.

[EMAIL PROTECTED] fop-0.20.3]# ./fop.sh -d -fo test.fo -pdf
test.pdf
[DEBUG]: Input mode:
[DEBUG]: FO
[DEBUG]: fo input file: test.fo
[DEBUG]: Output mode:
[DEBUG]: pdf
[DEBUG]: output file: test.pdf
[DEBUG]: OPTIONS
[DEBUG]: no user configuration file is used [default]
[DEBUG]: debug mode on
[DEBUG]: dump configuration
[DEBUG]: quiet mode on
[DEBUG]: base directory: file:/tmp/fop-0.20.3/
[INFO]: FOP 0.20.3
[DEBUG]: using SAX parser org.apache.xerces.parsers.SAXParser
[INFO]: building formatting object tree
[DEBUG]: setting up fonts
[ERROR]: null
org.apache.fop.apps.FOPException
        at org.apache.fop.apps.Driver.render(Driver.java:486)
        at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:72
)
        at org.apache.fop.apps.Fop.main(Fop.java:19)

---------

Patrick Lanphier
The Artemis Group
http://www.artemisgroup.com
phone: 814-235-0444
  fax: 800-582-9710





Reply via email to