Maybe you have some problem when you setup your fop configuration embedded in java !
can post a chunk of java code which you use for FOP configuration ??
Felix
From: Dang Minh Phuong <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: RE: FOP NullPointerException !!!
Date: Tue, 28 Oct 2003 16:57:21 +0800
MIME-Version: 1.0
Received: from mail.apache.org ([208.185.179.12]) by mc4-f27.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 28 Oct 2003 00:58:09 -0800
Received: (qmail 93273 invoked by uid 500); 28 Oct 2003 08:57:54 -0000
Received: (qmail 93260 invoked from network); 28 Oct 2003 08:57:53 -0000
Received: from unknown (HELO hubble.ncs.com.sg) (203.126.130.5) by daedalus.apache.org with SMTP; 28 Oct 2003 08:57:53 -0000
Received: from hubble.ncs.com.sg (localhost [127.0.0.1])by hubble.ncs.com.sg (8.11.6/8.11.6) with ESMTP id h9S8ur922015for <[EMAIL PROTECTED]>; Tue, 28 Oct 2003 16:56:53 +0800
Received: from galileo.ncs.corp.int-ads (firewall.ncs.com.sg [203.126.130.66])by hubble.ncs.com.sg (8.11.6/8.11.6) with ESMTP id h9S8uqj22009for <[EMAIL PROTECTED]>; Tue, 28 Oct 2003 16:56:52 +0800
Received: by galileo.ncs.corp.int-ads with Internet Mail Service (5.5.2657.72)id <VYNXNYKN>; Tue, 28 Oct 2003 16:58:03 +0800
X-Message-Info: JGTYoYF78jFF+nWf/6p1BQHfa/h9p1wA
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
list-help: <mailto:[EMAIL PROTECTED]>
list-unsubscribe: <mailto:[EMAIL PROTECTED]>
list-post: <mailto:[EMAIL PROTECTED]>
Delivered-To: mailing list [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
X-Mailer: Internet Mail Service (5.5.2657.72)
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 28 Oct 2003 08:58:09.0785 (UTC) FILETIME=[9C4E6E90:01C39D31]
I am using Arial and Wingdings fonts, and FOP ver 0.20.5. On both WIndows2k and HP-Unix, I hit this exception...
-----Original Message----- From: Chris Bowditch [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 4:56 pm To: [EMAIL PROTECTED] Subject: Re: FOP NullPointerException !!!
>From: Dang Minh Phuong <[EMAIL PROTECTED]> > >Hi all, > >Suddenly, I hit this problem: > >java.lang.NullPointerException > at >org.apache.fop.render.pdf.fonts.LazyFont.getAscender(LazyFont.java:127) > at org.apache.fop.layout.FontState.getAscender(FontState.java:143) > at org.apache.fop.layout.LineArea.(LineArea.java:326) > at >org.apache.fop.layout.BlockArea.getCurrentLineArea(BlockArea.java:164) > at org.apache.fop.fo.flow.Leader.addLeader(Leader.java:229) > at org.apache.fop.fo.flow.Leader.layout(Leader.java:201)
<snip/>
Please can you provide a bit more info. Are you using custom fonts? Which
ones are you using? What version of FOP are you using? What platform and o/s
are you running on?
Chris
_________________________________________________________________ Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]