RE: [xsl] NullPointerException

Subject: RE: [xsl] NullPointerException
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 21 May 2002 19:12:40 -0400
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@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> normbishop1@xxxxxxxxxxxx
> Sent: 21 May 2002 00:13
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxx
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



Current Thread