Re: Strange error when upgrading from 0.20.3 to 0.20.4

2002-11-19 Thread Jiri_Nejedly
I serched a little, and I found one difference between calling the fop.bat and processing servlet . The fop.bat use org.apache.xerces.parsers.SAXParser while servlet code uses oracle.xml.parser.v2.SAXParser The library xmlparserv2.jar is necessary, without it whole JDeveloper won't run. All

Re: Strange error when upgrading from 0.20.3 to 0.20.4

2002-11-19 Thread Marko Petersen
Hi, I think this can be done by System.setProperty(...), and I thought with: System.setProperty( org.xml.sax.driver, org.apache.xerces.parsers.SAXParser ); But I tried it and it does not work, maybe I did something wrong. I tried another one, and the following should work: System.setProperty(

Re: Strange error when upgrading from 0.20.3 to 0.20.4

2002-11-18 Thread Jeremias Maerki
That's probably a follow-up error because a font could not be loaded. If you run your sample form the command line with the -d option, you should get a better error message. Maybe you didn't set the second logger in the MessageHandler class correctly because that's where the original error message

Re: Strange error when upgrading from 0.20.3 to 0.20.4

2002-11-18 Thread Oleg Tkachenko
[EMAIL PROTECTED] wrote: When I do this in servlet, following error appears: [INFO]: building formatting object tree [INFO]: [1]- the logging stops here java.lang.NullPointerException int org.apache.fop.render.pdf.fonts.LazyFont.getAscender(int) int Looks like somewhinh

Re: Strange error when upgrading from 0.20.3 to 0.20.4

2002-11-18 Thread Jiri_Nejedly
when upgrading from 0.20.3 to 0.20.4 18.11.2002 12:24 Odpovzte prosm

Re: Strange error when upgrading from 0.20.3 to 0.20.4

2002-11-18 Thread Oleg Tkachenko
[EMAIL PROTECTED] wrote: - What is second logger ? See at FOPServlet.java example: import org.apache.avalon.framework.logger.ConsoleLogger; import org.apache.avalon.framework.logger.Logger; ... Logger log = new ConsoleLogger(ConsoleLogger.LEVEL_WARN); MessageHandler.setScreenLogger(log);