DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21982>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21982

NullPointer Exception in LazyFont with embedded fonts (japanese fonts) in AIX

           Summary: NullPointer Exception in LazyFont with embedded fonts
                    (japanese fonts) in AIX
           Product: Fop
           Version: 0.20.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: pdf renderer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


My fop.jar has a userconfig.xml that defines MSMincho for when I need to render 
Japanese text. This works fine on Windows systems, but throws a 
NullPointerException when fop.jar runs from AIX

The exception is:

java.lang.NullPointerException
        at org.apache.fop.render.pdf.fonts.LazyFont.getAscender(Unknown Source)
        at org.apache.fop.layout.FontState.getAscender(Unknown Source)
        at org.apache.fop.layout.LineArea.(Unknown Source)
        at org.apache.fop.layout.BlockArea.start(Unknown Source)
        at org.apache.fop.fo.flow.Block.layout(Unknown Source)
        at org.apache.fop.fo.flow.TableCell.layout(Unknown Source)
        at org.apache.fop.fo.flow.TableRow.layout(Unknown Source)
        at org.apache.fop.fo.flow.TableBody.layout(Unknown Source)
        at org.apache.fop.fo.flow.Table.layout(Unknown Source)
        at org.apache.fop.fo.flow.Block.layout(Unknown Source)
        at org.apache.fop.fo.flow.StaticContent.layout(Unknown Source)
        at org.apache.fop.fo.pagination.PageSequence.layoutStaticContent
(Unknown Source)
        at org.apache.fop.fo.pagination.PageSequence.formatStaticContent
(Unknown Source)
        at org.apache.fop.fo.pagination.PageSequence.format(Unknown Source)
        at org.apache.fop.apps.StreamRenderer.render(Unknown Source)
        at org.apache.fop.fo.FOTreeBuilder.endElement(Unknown Source)
        at weblogic.apache.xerces.parsers.SAXParser.endElement(SAXParser.java
(Compiled Code))
        at weblogic.apache.xerces.validators.common.XMLValidator.callEndElement
(XMLValidator.java(Compiled Code))
        at 
weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch
(XMLDocumentScanner.java(Compiled Code))
        at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome
(XMLDocumentScanner.java(Compiled Code))
        at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1119)
        at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
        at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:133)
        at org.apache.fop.apps.Driver.render(Unknown Source)
        at com.alphablox.xsl.PdfTransformer.runTask(Unknown Source)
        at com.alphablox.util.threadpool.WorkerThread.run(Unknown Source)



This is also failing with 0.20.5

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

Reply via email to