Sorry for missing informations ... now I will try to be more unambiguous this is my Java code
1 Driver driver = new Driver( new InputSource(new java.io.FileInputStream("C:\\character.fo")), new FileOutputStream("C:\\prova.pdf")); 2 driver.setRenderer(Driver.RENDER_PDF); 3 driver.run(); PS: character.fo is the same file of the examples in the distribution the problems comes in the first row (the call to Driver constructor) Uncaught exception is java.lang.ExceptionInInitializerError I'm using VisualAge and all the jars in the lib folder of fop were included (and no other) fop version 0.20.3 are these information enough??? I Hope!! :-) thanks Massimiliano Cuccia ----- Original Message ----- From: "Oleg Tkachenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 21, 2002 12:56 PM Subject: Re: runtime ExceptionInInitializerError: first steps > Hello! > > What do you mean? Give us some more info, what doesn't work and which URI are > you using. > > -- > Oleg Tkachenko > Multiconn International, Israel > > Massimiliano Cuccia wrote: > > Ok, thanks > > ... this is (now) clear!! :-) > > but why it does not work width the URI??? > > > > thanks > > Massimiliano > > > > ----- Original Message ----- > > *From:* Oleg Tkachenko <mailto:[EMAIL PROTECTED]> > > *To:* [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > *Sent:* Friday, May 17, 2002 11:35 PM > > *Subject:* RE: runtime ExceptionInInitializerError: first steps > > > > Hello! > > > > InputSource class have the only String constructor and that String > > is supposed to be system id (URI), for example, file name. > > See > > http://www.saxproject.org/apidoc/org/xml/sax/InputSource.html for > > more info. > > If you want to create InputSource from serialized xml you need > > something like > > new InputSource(new StringReader(src)) > > > > --- > > Oleg Tkachenko, > > Multiconn International, Israel > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]