This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: NullPointerException
- From: Wendell Piez <wapiez at mulberrytech dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 21 May 2002 19:12:40 -0400
- Subject: RE: [xsl] NullPointerException
- References: <4D7C54BC.349ED92D.503A7C16@netscape.net>
- Reply-to: xsl-list at lists dot mulberrytech dot com
I've seen the NullPointerException as an (extremely unhelpful) error
message when running FOP end-to-end (straight from input XML through to
PDF) and there's either a parse error or a stylesheet runtime error. Rather
than report the error delivered by the parser or processor, FOP just bags it.
Norm, if this is what's happening to you, try running your transform
separately from FOP to generate plain XML. You could use a different XSLT
processor altogether to take advantage of its error messages.
I hope that helps,
Wendell
At 03:55 AM 5/21/2002, Mike wrote:
>A NullPointerException is a bug, either in the code you are calling or
>in your own Java code. As it's occurring in FOP, use the technical
>support list for the FOP product at Apache.
>
>Michael Kay
>Software AG
>home: Michael.H.Kay@ntlworld.com
>work: Michael.Kay@softwareag.com
>
> > -----Original Message-----
> > From: owner-xsl-list@lists.mulberrytech.com
> > [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of
> > normbishop1@netscape.net
> > Sent: 21 May 2002 00:13
> > To: xsl-list@lists.mulberrytech.com
> > Subject: [xsl] NullPointerException
> >
> >
> > Hello,
> >
> > I am using the following to search for any tag containing
> > '<super>-15</super>' and take appropriate action. I've been
> > getting NullPointerException.
> > (org.apache.fop.apps.FOPException:
> > java.lang.NullPointerException. Java exception occurred in
> > call to method.)
> > Don't know where to look for the error?
======================================================================
Wendell Piez mailto:wapiez@mulberrytech.com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list