[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: : Using saxon-fop - NullPointerException

Subject: RE: : Using saxon-fop - NullPointerException
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 29 Apr 2002 20:41:14 +0100
saxon fop
I've now done the changes that make Saxon work with FOP 0.20.3. I'm afraid
they were non-trivial - once again, FOP has changed the API on me. This time
it's a new requirement to create and supply a "Logger" object, something
that appears to require invoking five other classes in three separate
packages in a different Apache project.

This is the last time - if they do this to me again, Saxon/FOP integration
will be dropped.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> J.Pietschmann
> Sent: 19 April 2002 20:19
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: : Using saxon-fop - NullPointerException
>
>
> TSchutzerWeissmann@xxxxxxxxxxxxxxxx wrote:
> > Everything went swimmingly (except a minor error message
> because no logger
> > had been set) until the last page of my document.
> >
> >       java.lang.NullPointerException
> > 	at
> > org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:205)
>
> At this point the StreamRenderer tries to log the
> total page count. I guess there hasn't been a logger
> set for the stream renderer. A quick glance into
> com.icl.saxon.fop.FOPEmitter seems to confirm this,
> an explicite StreamRenderer is createt there (as a
> workaround for a FOP 0.20.1 deficency), and no logger
> is set.
>
> Because you have the source, you can fix that yourself,
> deleting the statement mentioned above should be sufficient.
>
> J.Pietschmann
>
>
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.