After looking closer at your mail, when Jörg replied, I realized what's wrong. Bhawana, you're using the CVS version (main branch) of FOP which is currently in a redesign phase. That version is not intended to be used, yet. FOP 0.20.x does not have any LayoutManagers. I suggest you download a release or get FOP using CVS tag "fop-0_20_2-maintain".
> I wish to transform FO document (docFo) into PDF. I am using fop.20 > I have the following code : > >-------------------------------------------------------------------------------------- > java.lang.NullPointerException > at >org.apache.fop.layoutmgr.PageLayoutManager.makeNewPage(PageLayoutManager.java:141) > at >org.apache.fop.layoutmgr.PageLayoutManager.getParentArea(PageLayoutManager.java:176) > at >org.apache.fop.layoutmgr.FlowLayoutManager.getParentArea(FlowLayoutManager.java:49) > at >org.apache.fop.layoutmgr.BlockLayoutManager.getParentArea(BlockLayoutManager.java:81) > at >org.apache.fop.layoutmgr.LineLayoutManager.createLine(LineLayoutManager.java:95) > at >org.apache.fop.layoutmgr.LineLayoutManager.addChild(LineLayoutManager.java:118) > at >org.apache.fop.layoutmgr.TextLayoutManager.parseChars(TextLayoutManager.java:164) > at >org.apache.fop.layoutmgr.TextLayoutManager.generateAreas(TextLayoutManager.java:55) > > > Can someone suggest where I am going wrong. Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029 Internet http://www.outline.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]