[xep-support] meta-field with name="S" causes NullPointerException

From: Mattias Moltkesson <mattias.moltkesson@itello.se>
Date: Thu Sep 17 2009 - 12:03:16 PDT

Hi again!

I came across this rather weird bug when trying out custom meta-fields.
I don't really need a meta-field called "S" so it's not causing me any
problems, but perhaps you would like to look into it anyway.


Example FO:

        <rx:meta-field name="S" value=""/>
A meta-field with name="S" causes this error in XEP 4.16 build 20090723
(all other names seems to work fine):

at com.renderx.pdflib.Linearize.writeObjectOrderedByNewID(Unknown
at com.renderx.pdflib.Linearize.writeLinearized(Unknown Source)
at com.renderx.pdflib.Linearize.linearize(Unknown Source)
at com.renderx.pdflib.PDFOutputStream.finish(Unknown Source)
at com.renderx.pdflib.PDFDocument.endDocument(Unknown Source)
at com.renderx.xep.gen.backends.H4PDF.close(Unknown Source)
at com.renderx.xep.gen.backends.H4PDF.endDocument(Unknown Source)

        <fo:simple-page-master master-name="ref-0-page"
page-width="210mm" page-height="297mm"
                               margin="0.7cm 2cm 0.7cm 2cm"
            <fo:region-body margin-top="3cm" margin-bottom="3cm"/>

        <fo:page-sequence-master master-name="page-seq">

    <fo:page-sequence master-reference="page-seq">
        <fo:flow flow-name="xsl-region-body">
                Hi there!


(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Thu Sep 17 12:32:23 2009

This archive was generated by hypermail 2.1.8 : Thu Sep 17 2009 - 12:32:24 PDT