Would that cause the entire exception message to be null though?    This all
stemmed from a change I had made to the underlying XML which caused the XSLT
not to match the root element, and therefore not outputing a <fo:root> in
the resultant transformation, so to answer your question, yes the parent was
null.



--

David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.com

Code Made Fresh DailyT
----- Original Message -----
From: "Nancy Deschenes" <[EMAIL PROTECTED]>
To: "David B. Bitton" <[EMAIL PROTECTED]>
Sent: Wednesday, April 24, 2002 4:57 PM
Subject: Re: Exception message text not bubbling up


> On Wed, 24-Apr-2002 at 00:35, "David B. Bitton" <[EMAIL PROTECTED]>
wrote:
>
>  +---
>  | It;s just that the stack trace shows the exception being thrown from
line
>  | 149 of ...PageSequence.  Oh well.
>  |
>  | [...]
>  |
>  | > > For example, line 149 of org.apache.fop.pagination.PageSequence:
>  | > >
>  | > >             throw new FOPException("page-sequence must be child of
root,
>  | not
>  | > > "
>  | > >                                    + parent.getName());
>  | > >
>  | > > is eventually thrown by the Transformer as a TransformerException,
but
>  | when
>  | > > I getMessage(), it's an NPE.  Any idea why this would be?
>  +---
>
> Is it at all possible that parent is null?
>
> Nancy Deschenes
> Objective Consulting, Inc.
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to