[
https://issues.apache.org/jira/browse/OFBIZ-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacques Le Roux updated OFBIZ-6115:
-----------------------------------
Description:
https://localhost:8443/ordermgr/control/QuoteReport?quoteId=CQ10000
The Following Errors Occurred:
Unable to transform FO file: org.apache.fop.apps.FOPException
java.lang.NullPointerException
Console output...
{quote}
2015-02-25 19:47:00,608 |http-bio-8443-exec-1 |ScreenFactory
|I| Got 39 screens in 0.014s from:
file:/home/xx/workspace/ofbiz/applications/party/widget/partymgr/PartyScreens.xml
2015-02-25 19:47:00,663 |http-bio-8443-exec-1 |ModelScreenWidget
|W| In platform-dependent could not find template for xsl-fo, using the one for
html.
2015-02-25 19:47:00,790 |http-bio-8443-exec-1 |ModelScreenWidget
|W| In platform-dependent could not find template for xsl-fo, using the one for
html.
2015-02-25 19:47:01,152 |http-bio-8443-exec-1 |ApacheFopWorker
|I| FOP FontBaseURL: file:/home/xx/workspace/ofbiz/framework/webapp/config/
2015-02-25 19:47:01,160 |http-bio-8443-exec-1 |FOP
|D| target-resolution set to: 72.0dpi (px2mm=0.35277778)
2015-02-25 19:47:01,805 |http-bio-8443-exec-1 |FOUserAgent
|W| The following feature isn't implemented by Apache FOP, yet:
table-layout="auto" (on fo:table) (See position 124:40)
2015-02-25 19:47:01,813 |http-bio-8443-exec-1 |FOUserAgent
|W| The following feature isn't implemented by Apache FOP, yet:
table-layout="auto" (on fo:table) (See position 156:81)
2015-02-25 19:47:01,820 |http-bio-8443-exec-1 |FOUserAgent
|W| The following feature isn't implemented by Apache FOP, yet:
table-layout="auto" (on fo:table) (See position 185:39)
2015-02-25 19:47:01,827 |http-bio-8443-exec-1 |FOUserAgent
|W| "fo:table-body" is missing child elements. Required content model: marker*
(table-row+|table-cell+) (See position 204:32)
2015-02-25 19:47:01,829 |http-bio-8443-exec-1 |ScreenFopViewHandler
|E| Unable to transform FO file: org.apache.fop.apps.FOPException
java.lang.NullPointerException; Screen XSL:FO text was:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Begin Template component://common/webcommon/includes/reportTemplate.fo.ftl
-->
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
font-family="NotoSans"
>
<fo:layout-master-set>
<fo:simple-page-master master-name="main-page"
page-width="8.5in" page-height="11in"
margin-top="0.4in" margin-bottom="0.4in"
margin-left="0.6in" margin-right="0.4in">
<fo:region-body margin-top="1.5in" margin-bottom="0.4in"/>
<fo:region-before extent="1.2in"/>
<fo:region-after extent="0.4in"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="main-page-landscape"
page-width="11in" page-height="8.5in"
margin-top="0.4in" margin-bottom="0.4in"
margin-left="0.6in" margin-right="0.4in">
<fo:region-body margin-top="1.2in" margin-bottom="0.4in"/>
<fo:region-before extent="1.2in"/>
<fo:region-after extent="0.4in"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="main-page">
<fo:static-content flow-name="xsl-region-before">
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-number="1"
column-width="proportional-column-width(50)"/>
<fo:table-column column-number="2"
column-width="proportional-column-width(50)"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<!-- Begin Template
component://order/webapp/ordermgr/order/companyHeader.fo.ftl -->
<fo:block text-align="left">
<fo:external-graphic src="/images/ofbiz_logo.gif" overflow="hidden"
height="40px" content-height="scale-to-fit" content-width="2.00in"/>
</fo:block>
<fo:block font-size="8pt">
<fo:block>myco_name</fo:block>
<!-- Begin Template
component://party/webapp/partymgr/party/contactmechtemplates/PostalAddress.fo.ftl
-->
<fo:block>myco_addr1</fo:block>
<fo:block>myco_addr2</fo:block>
<fo:block>myco_city, NB myco_pcode</fo:block>
<fo:block>
Canada
</fo:block>
<!-- End Template
component://party/webapp/partymgr/party/contactmechtemplates/PostalAddress.fo.ftl
-->
<fo:list-block provisional-distance-between-starts=".5in">
<fo:list-item>
<fo:list-item-label>
<fo:block>Email:</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>[email protected]</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:block>
<!-- End Template component://order/webapp/ordermgr/order/companyHeader.fo.ftl
-->
</fo:table-cell>
<fo:table-cell>
<!-- Begin Template
component://order/webapp/ordermgr/quote/quoteReportHeaderInfo.fo.ftl -->
<fo:list-block provisional-distance-between-starts="35mm" font-size="10pt">
<fo:list-item>
<fo:list-item-label>
<fo:block font-weight="bold">Quote Type</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block font-weight="bold">Product Purchase</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label>
<fo:block>Quote Issue Date</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block></fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label>
<fo:block>Quote Id</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>QU10000</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label>
<fo:block>Status</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block font-weight="bold">Created</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
<!-- End Template
component://order/webapp/ordermgr/quote/quoteReportHeaderInfo.fo.ftl -->
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:static-content>
<fo:static-content flow-name="xsl-region-after">
<fo:block font-size="10pt" text-align="center" space-before="10pt">
Page <fo:page-number/> of <fo:page-number-citation
ref-id="theEnd"/>
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<!-- Begin Template
component://order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl -->
<fo:table border-spacing="3pt">
<fo:table-column column-width="3.75in"/>
<fo:table-column column-width="3.75in"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:block font-weight="bold">Address: </fo:block>
<fo:block>Mr. customer1_fName mm
customer1_lName ss</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block>
<!-- Begin Template
component://party/webapp/partymgr/party/contactmechtemplates/PostalAddress.fo.ftl
-->
<fo:block>customer1_addr1</fo:block>
<fo:block>customer1_addr2</fo:block>
<fo:block>customer1_city, AB customer1_pcode</fo:block>
<fo:block>
Canada
</fo:block>
<!-- End Template
component://party/webapp/partymgr/party/contactmechtemplates/PostalAddress.fo.ftl
-->
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:table border-spacing="3pt" space-before="0.5in" space-after="0.5in">
<fo:table-column column-width="1.5in"/>
<fo:table-column column-width="3.75in"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell><fo:block>Quote
Name:</fo:block></fo:table-cell>
<fo:table-cell><fo:block>quote1_name</fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell><fo:block>Description:</fo:block></fo:table-cell>
<fo:table-cell><fo:block>quote1_description</fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell><fo:block>Currency:</fo:block></fo:table-cell>
<fo:table-cell><fo:block>Canadian
Dollar</fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell><fo:block>Valid From
Date:</fo:block></fo:table-cell>
<fo:table-cell><fo:block></fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell><fo:block>Valid Through
Date:</fo:block></fo:table-cell>
<fo:table-cell><fo:block></fo:block></fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<!-- End Template
component://order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl -->
<!-- Begin Template
component://order/webapp/ordermgr/quote/quoteReportBody.fo.ftl -->
<fo:block>
<fo:table font-size="9pt">
<fo:table-column column-width="40pt"/>
<fo:table-column column-width="160pt"/>
<fo:table-column column-width="58pt"/>
<fo:table-column column-width="58pt"/>
<fo:table-column column-width="58pt"/>
<fo:table-column column-width="58pt"/>
<fo:table-column column-width="58pt"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell border-bottom="thin solid
grey"><fo:block font-weight="bold">Item</fo:block></fo:table-cell>
<fo:table-cell border-bottom="thin solid
grey"><fo:block font-weight="bold">Product</fo:block></fo:table-cell>
<fo:table-cell border-bottom="thin solid
grey"><fo:block font-weight="bold"
text-align="right">Quantity</fo:block></fo:table-cell>
<fo:table-cell border-bottom="thin solid
grey"><fo:block font-weight="bold"
text-align="right">Amount</fo:block></fo:table-cell>
<fo:table-cell border-bottom="thin solid
grey"><fo:block font-weight="bold" text-align="right">Quote Unit
Price</fo:block></fo:table-cell>
<fo:table-cell border-bottom="thin solid
grey"><fo:block font-weight="bold"
text-align="right">Adjustments</fo:block></fo:table-cell>
<fo:table-cell border-bottom="thin solid
grey"><fo:block font-weight="bold"
text-align="right">Subtotal</fo:block></fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body>
</fo:table-body>
</fo:table>
<fo:block text-align="right">
<fo:table>
<fo:table-column column-width="100pt"/>
<fo:table-column column-width="100pt"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell padding="2pt">
<fo:block font-weight="bold"
text-align="right">Subtotal</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt">
<fo:block text-align="right">CA$0.00</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding="2pt">
<fo:block font-weight="bold"
text-align="right">Grand Total</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt">
<fo:block text-align="right">CA$0.00</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</fo:block>
<!-- End Template
component://order/webapp/ordermgr/quote/quoteReportBody.fo.ftl -->
<fo:block id="theEnd"/>
</fo:flow>
</fo:page-sequence>
</fo:root>
<!-- End Template component://common/webcommon/includes/reportTemplate.fo.ftl
-->
2015-02-25 19:47:01,846 |http-bio-8443-exec-1 |ScreenFactory
|I| Got 4 screens in 0.01s from:
file:/home/xx/workspace/ofbiz/applications/order/widget/ordermgr/CommonScreens.xml
2015-02-25 19:47:01,857 |http-bio-8443-exec-1 |ScreenFactory
|I| Got 1 screens in 0.01s from:
file:/home/xx/workspace/ofbiz/applications/commonext/widget/CommonScreens.xml
2015-02-25 19:47:01,967 |http-bio-8443-exec-1 |PrimaryKeyFinder
|I| Returning null because found incomplete primary key in find:
[GenericEntity:PartyAcctgPrefAndGroup][partyId,Company(java.lang.String)][roleTypeId,null()]
2015-02-25 19:47:02,149 |http-bio-8443-exec-1 |ServerHitBin
|I| Visit delegatorName=default, ServerHitBin delegatorName=default
{quote}
was:
https://localhost:8443/ordermgr/control/QuoteReport?quoteId=CQ10000
The Following Errors Occurred:
Unable to transform FO file: org.apache.fop.apps.FOPException
java.lang.NullPointerException
Console output...
2015-02-25 19:47:00,608 |http-bio-8443-exec-1 |ScreenFactory
|I| Got 39 screens in 0.014s from:
file:/home/xx/workspace/ofbiz/applications/party/widget/partymgr/PartyScreens.xml
2015-02-25 19:47:00,663 |http-bio-8443-exec-1 |ModelScreenWidget
|W| In platform-dependent could not find template for xsl-fo, using the one for
html.
2015-02-25 19:47:00,790 |http-bio-8443-exec-1 |ModelScreenWidget
|W| In platform-dependent could not find template for xsl-fo, using the one for
html.
2015-02-25 19:47:01,152 |http-bio-8443-exec-1 |ApacheFopWorker
|I| FOP FontBaseURL: file:/home/xx/workspace/ofbiz/framework/webapp/config/
2015-02-25 19:47:01,160 |http-bio-8443-exec-1 |FOP
|D| target-resolution set to: 72.0dpi (px2mm=0.35277778)
2015-02-25 19:47:01,805 |http-bio-8443-exec-1 |FOUserAgent
|W| The following feature isn't implemented by Apache FOP, yet:
table-layout="auto" (on fo:table) (See position 124:40)
2015-02-25 19:47:01,813 |http-bio-8443-exec-1 |FOUserAgent
|W| The following feature isn't implemented by Apache FOP, yet:
table-layout="auto" (on fo:table) (See position 156:81)
2015-02-25 19:47:01,820 |http-bio-8443-exec-1 |FOUserAgent
|W| The following feature isn't implemented by Apache FOP, yet:
table-layout="auto" (on fo:table) (See position 185:39)
2015-02-25 19:47:01,827 |http-bio-8443-exec-1 |FOUserAgent
|W| "fo:table-body" is missing child elements. Required content model: marker*
(table-row+|table-cell+) (See position 204:32)
2015-02-25 19:47:01,829 |http-bio-8443-exec-1 |ScreenFopViewHandler
|E| Unable to transform FO file: org.apache.fop.apps.FOPException
java.lang.NullPointerException; Screen XSL:FO text was:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Begin Template component://common/webcommon/includes/reportTemplate.fo.ftl
-->
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
font-family="NotoSans"
>
<fo:layout-master-set>
<fo:simple-page-master master-name="main-page"
page-width="8.5in" page-height="11in"
margin-top="0.4in" margin-bottom="0.4in"
margin-left="0.6in" margin-right="0.4in">
<fo:region-body margin-top="1.5in" margin-bottom="0.4in"/>
<fo:region-before extent="1.2in"/>
<fo:region-after extent="0.4in"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="main-page-landscape"
page-width="11in" page-height="8.5in"
margin-top="0.4in" margin-bottom="0.4in"
margin-left="0.6in" margin-right="0.4in">
<fo:region-body margin-top="1.2in" margin-bottom="0.4in"/>
<fo:region-before extent="1.2in"/>
<fo:region-after extent="0.4in"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="main-page">
<fo:static-content flow-name="xsl-region-before">
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-number="1"
column-width="proportional-column-width(50)"/>
<fo:table-column column-number="2"
column-width="proportional-column-width(50)"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<!-- Begin Template
component://order/webapp/ordermgr/order/companyHeader.fo.ftl -->
<fo:block text-align="left">
<fo:external-graphic src="/images/ofbiz_logo.gif" overflow="hidden"
height="40px" content-height="scale-to-fit" content-width="2.00in"/>
</fo:block>
<fo:block font-size="8pt">
<fo:block>myco_name</fo:block>
<!-- Begin Template
component://party/webapp/partymgr/party/contactmechtemplates/PostalAddress.fo.ftl
-->
<fo:block>myco_addr1</fo:block>
<fo:block>myco_addr2</fo:block>
<fo:block>myco_city, NB myco_pcode</fo:block>
<fo:block>
Canada
</fo:block>
<!-- End Template
component://party/webapp/partymgr/party/contactmechtemplates/PostalAddress.fo.ftl
-->
<fo:list-block provisional-distance-between-starts=".5in">
<fo:list-item>
<fo:list-item-label>
<fo:block>Email:</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>[email protected]</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:block>
<!-- End Template component://order/webapp/ordermgr/order/companyHeader.fo.ftl
-->
</fo:table-cell>
<fo:table-cell>
<!-- Begin Template
component://order/webapp/ordermgr/quote/quoteReportHeaderInfo.fo.ftl -->
<fo:list-block provisional-distance-between-starts="35mm" font-size="10pt">
<fo:list-item>
<fo:list-item-label>
<fo:block font-weight="bold">Quote Type</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block font-weight="bold">Product Purchase</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label>
<fo:block>Quote Issue Date</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block></fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label>
<fo:block>Quote Id</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>QU10000</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label>
<fo:block>Status</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block font-weight="bold">Created</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
<!-- End Template
component://order/webapp/ordermgr/quote/quoteReportHeaderInfo.fo.ftl -->
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:static-content>
<fo:static-content flow-name="xsl-region-after">
<fo:block font-size="10pt" text-align="center" space-before="10pt">
Page <fo:page-number/> of <fo:page-number-citation
ref-id="theEnd"/>
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<!-- Begin Template
component://order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl -->
<fo:table border-spacing="3pt">
<fo:table-column column-width="3.75in"/>
<fo:table-column column-width="3.75in"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:block font-weight="bold">Address: </fo:block>
<fo:block>Mr. customer1_fName mm
customer1_lName ss</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block>
<!-- Begin Template
component://party/webapp/partymgr/party/contactmechtemplates/PostalAddress.fo.ftl
-->
<fo:block>customer1_addr1</fo:block>
<fo:block>customer1_addr2</fo:block>
<fo:block>customer1_city, AB customer1_pcode</fo:block>
<fo:block>
Canada
</fo:block>
<!-- End Template
component://party/webapp/partymgr/party/contactmechtemplates/PostalAddress.fo.ftl
-->
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:table border-spacing="3pt" space-before="0.5in" space-after="0.5in">
<fo:table-column column-width="1.5in"/>
<fo:table-column column-width="3.75in"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell><fo:block>Quote
Name:</fo:block></fo:table-cell>
<fo:table-cell><fo:block>quote1_name</fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell><fo:block>Description:</fo:block></fo:table-cell>
<fo:table-cell><fo:block>quote1_description</fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell><fo:block>Currency:</fo:block></fo:table-cell>
<fo:table-cell><fo:block>Canadian
Dollar</fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell><fo:block>Valid From
Date:</fo:block></fo:table-cell>
<fo:table-cell><fo:block></fo:block></fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell><fo:block>Valid Through
Date:</fo:block></fo:table-cell>
<fo:table-cell><fo:block></fo:block></fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<!-- End Template
component://order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl -->
<!-- Begin Template
component://order/webapp/ordermgr/quote/quoteReportBody.fo.ftl -->
<fo:block>
<fo:table font-size="9pt">
<fo:table-column column-width="40pt"/>
<fo:table-column column-width="160pt"/>
<fo:table-column column-width="58pt"/>
<fo:table-column column-width="58pt"/>
<fo:table-column column-width="58pt"/>
<fo:table-column column-width="58pt"/>
<fo:table-column column-width="58pt"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell border-bottom="thin solid
grey"><fo:block font-weight="bold">Item</fo:block></fo:table-cell>
<fo:table-cell border-bottom="thin solid
grey"><fo:block font-weight="bold">Product</fo:block></fo:table-cell>
<fo:table-cell border-bottom="thin solid
grey"><fo:block font-weight="bold"
text-align="right">Quantity</fo:block></fo:table-cell>
<fo:table-cell border-bottom="thin solid
grey"><fo:block font-weight="bold"
text-align="right">Amount</fo:block></fo:table-cell>
<fo:table-cell border-bottom="thin solid
grey"><fo:block font-weight="bold" text-align="right">Quote Unit
Price</fo:block></fo:table-cell>
<fo:table-cell border-bottom="thin solid
grey"><fo:block font-weight="bold"
text-align="right">Adjustments</fo:block></fo:table-cell>
<fo:table-cell border-bottom="thin solid
grey"><fo:block font-weight="bold"
text-align="right">Subtotal</fo:block></fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body>
</fo:table-body>
</fo:table>
<fo:block text-align="right">
<fo:table>
<fo:table-column column-width="100pt"/>
<fo:table-column column-width="100pt"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell padding="2pt">
<fo:block font-weight="bold"
text-align="right">Subtotal</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt">
<fo:block text-align="right">CA$0.00</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding="2pt">
<fo:block font-weight="bold"
text-align="right">Grand Total</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt">
<fo:block text-align="right">CA$0.00</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</fo:block>
<!-- End Template
component://order/webapp/ordermgr/quote/quoteReportBody.fo.ftl -->
<fo:block id="theEnd"/>
</fo:flow>
</fo:page-sequence>
</fo:root>
<!-- End Template component://common/webcommon/includes/reportTemplate.fo.ftl
-->
2015-02-25 19:47:01,846 |http-bio-8443-exec-1 |ScreenFactory
|I| Got 4 screens in 0.01s from:
file:/home/xx/workspace/ofbiz/applications/order/widget/ordermgr/CommonScreens.xml
2015-02-25 19:47:01,857 |http-bio-8443-exec-1 |ScreenFactory
|I| Got 1 screens in 0.01s from:
file:/home/xx/workspace/ofbiz/applications/commonext/widget/CommonScreens.xml
2015-02-25 19:47:01,967 |http-bio-8443-exec-1 |PrimaryKeyFinder
|I| Returning null because found incomplete primary key in find:
[GenericEntity:PartyAcctgPrefAndGroup][partyId,Company(java.lang.String)][roleTypeId,null()]
2015-02-25 19:47:02,149 |http-bio-8443-exec-1 |ServerHitBin
|I| Visit delegatorName=default, ServerHitBin delegatorName=default
> report on quote cause exception
> -------------------------------
>
> Key: OFBIZ-6115
> URL: https://issues.apache.org/jira/browse/OFBIZ-6115
> Project: OFBiz
> Issue Type: Bug
> Components: order
> Affects Versions: Trunk
> Reporter: Wai
>
> https://localhost:8443/ordermgr/control/QuoteReport?quoteId=CQ10000
> The Following Errors Occurred:
> Unable to transform FO file: org.apache.fop.apps.FOPException
> java.lang.NullPointerException
> Console output...
> {quote}
> 2015-02-25 19:47:00,608 |http-bio-8443-exec-1 |ScreenFactory
> |I| Got 39 screens in 0.014s from:
> file:/home/xx/workspace/ofbiz/applications/party/widget/partymgr/PartyScreens.xml
> 2015-02-25 19:47:00,663 |http-bio-8443-exec-1 |ModelScreenWidget
> |W| In platform-dependent could not find template for xsl-fo, using the one
> for html.
> 2015-02-25 19:47:00,790 |http-bio-8443-exec-1 |ModelScreenWidget
> |W| In platform-dependent could not find template for xsl-fo, using the one
> for html.
> 2015-02-25 19:47:01,152 |http-bio-8443-exec-1 |ApacheFopWorker
> |I| FOP FontBaseURL: file:/home/xx/workspace/ofbiz/framework/webapp/config/
> 2015-02-25 19:47:01,160 |http-bio-8443-exec-1 |FOP
> |D| target-resolution set to: 72.0dpi (px2mm=0.35277778)
> 2015-02-25 19:47:01,805 |http-bio-8443-exec-1 |FOUserAgent
> |W| The following feature isn't implemented by Apache FOP, yet:
> table-layout="auto" (on fo:table) (See position 124:40)
> 2015-02-25 19:47:01,813 |http-bio-8443-exec-1 |FOUserAgent
> |W| The following feature isn't implemented by Apache FOP, yet:
> table-layout="auto" (on fo:table) (See position 156:81)
> 2015-02-25 19:47:01,820 |http-bio-8443-exec-1 |FOUserAgent
> |W| The following feature isn't implemented by Apache FOP, yet:
> table-layout="auto" (on fo:table) (See position 185:39)
> 2015-02-25 19:47:01,827 |http-bio-8443-exec-1 |FOUserAgent
> |W| "fo:table-body" is missing child elements. Required content model:
> marker* (table-row+|table-cell+) (See position 204:32)
> 2015-02-25 19:47:01,829 |http-bio-8443-exec-1 |ScreenFopViewHandler
> |E| Unable to transform FO file: org.apache.fop.apps.FOPException
> java.lang.NullPointerException; Screen XSL:FO text was:
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Begin Template
> component://common/webcommon/includes/reportTemplate.fo.ftl -->
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
> font-family="NotoSans"
> >
> <fo:layout-master-set>
> <fo:simple-page-master master-name="main-page"
> page-width="8.5in" page-height="11in"
> margin-top="0.4in" margin-bottom="0.4in"
> margin-left="0.6in" margin-right="0.4in">
> <fo:region-body margin-top="1.5in" margin-bottom="0.4in"/>
> <fo:region-before extent="1.2in"/>
> <fo:region-after extent="0.4in"/>
> </fo:simple-page-master>
> <fo:simple-page-master master-name="main-page-landscape"
> page-width="11in" page-height="8.5in"
> margin-top="0.4in" margin-bottom="0.4in"
> margin-left="0.6in" margin-right="0.4in">
> <fo:region-body margin-top="1.2in" margin-bottom="0.4in"/>
> <fo:region-before extent="1.2in"/>
> <fo:region-after extent="0.4in"/>
> </fo:simple-page-master>
> </fo:layout-master-set>
> <fo:page-sequence master-reference="main-page">
> <fo:static-content flow-name="xsl-region-before">
> <fo:table table-layout="fixed" width="100%">
> <fo:table-column column-number="1"
> column-width="proportional-column-width(50)"/>
> <fo:table-column column-number="2"
> column-width="proportional-column-width(50)"/>
> <fo:table-body>
> <fo:table-row>
> <fo:table-cell>
> <!-- Begin Template
> component://order/webapp/ordermgr/order/companyHeader.fo.ftl -->
> <fo:block text-align="left">
> <fo:external-graphic src="/images/ofbiz_logo.gif" overflow="hidden"
> height="40px" content-height="scale-to-fit" content-width="2.00in"/>
> </fo:block>
> <fo:block font-size="8pt">
> <fo:block>myco_name</fo:block>
> <!-- Begin Template
> component://party/webapp/partymgr/party/contactmechtemplates/PostalAddress.fo.ftl
> -->
> <fo:block>myco_addr1</fo:block>
> <fo:block>myco_addr2</fo:block>
> <fo:block>myco_city, NB myco_pcode</fo:block>
> <fo:block>
> Canada
> </fo:block>
> <!-- End Template
> component://party/webapp/partymgr/party/contactmechtemplates/PostalAddress.fo.ftl
> -->
> <fo:list-block provisional-distance-between-starts=".5in">
> <fo:list-item>
> <fo:list-item-label>
> <fo:block>Email:</fo:block>
> </fo:list-item-label>
> <fo:list-item-body start-indent="body-start()">
> <fo:block>[email protected]</fo:block>
> </fo:list-item-body>
> </fo:list-item>
> </fo:list-block>
> </fo:block>
> <!-- End Template
> component://order/webapp/ordermgr/order/companyHeader.fo.ftl -->
> </fo:table-cell>
> <fo:table-cell>
> <!-- Begin Template
> component://order/webapp/ordermgr/quote/quoteReportHeaderInfo.fo.ftl -->
> <fo:list-block provisional-distance-between-starts="35mm" font-size="10pt">
> <fo:list-item>
> <fo:list-item-label>
> <fo:block font-weight="bold">Quote Type</fo:block>
> </fo:list-item-label>
> <fo:list-item-body start-indent="body-start()">
> <fo:block font-weight="bold">Product Purchase</fo:block>
> </fo:list-item-body>
> </fo:list-item>
> <fo:list-item>
> <fo:list-item-label>
> <fo:block>Quote Issue Date</fo:block>
> </fo:list-item-label>
> <fo:list-item-body start-indent="body-start()">
> <fo:block></fo:block>
> </fo:list-item-body>
> </fo:list-item>
> <fo:list-item>
> <fo:list-item-label>
> <fo:block>Quote Id</fo:block>
> </fo:list-item-label>
> <fo:list-item-body start-indent="body-start()">
> <fo:block>QU10000</fo:block>
> </fo:list-item-body>
> </fo:list-item>
> <fo:list-item>
> <fo:list-item-label>
> <fo:block>Status</fo:block>
> </fo:list-item-label>
> <fo:list-item-body start-indent="body-start()">
> <fo:block font-weight="bold">Created</fo:block>
> </fo:list-item-body>
> </fo:list-item>
> </fo:list-block>
> <!-- End Template
> component://order/webapp/ordermgr/quote/quoteReportHeaderInfo.fo.ftl -->
> </fo:table-cell>
> </fo:table-row>
> </fo:table-body>
> </fo:table>
> </fo:static-content>
> <fo:static-content flow-name="xsl-region-after">
> <fo:block font-size="10pt" text-align="center"
> space-before="10pt">
> Page <fo:page-number/> of <fo:page-number-citation
> ref-id="theEnd"/>
> </fo:block>
> </fo:static-content>
> <fo:flow flow-name="xsl-region-body">
> <!-- Begin Template
> component://order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl -->
> <fo:table border-spacing="3pt">
> <fo:table-column column-width="3.75in"/>
> <fo:table-column column-width="3.75in"/>
> <fo:table-body>
> <fo:table-row>
> <fo:table-cell>
> <fo:block>
> <fo:block font-weight="bold">Address: </fo:block>
> <fo:block>Mr. customer1_fName mm
> customer1_lName ss</fo:block>
> </fo:block>
> </fo:table-cell>
> </fo:table-row>
> <fo:table-row>
> <fo:table-cell>
> <fo:block>
> <!-- Begin Template
> component://party/webapp/partymgr/party/contactmechtemplates/PostalAddress.fo.ftl
> -->
> <fo:block>customer1_addr1</fo:block>
> <fo:block>customer1_addr2</fo:block>
> <fo:block>customer1_city, AB customer1_pcode</fo:block>
> <fo:block>
> Canada
> </fo:block>
> <!-- End Template
> component://party/webapp/partymgr/party/contactmechtemplates/PostalAddress.fo.ftl
> -->
> </fo:block>
> </fo:table-cell>
> </fo:table-row>
> </fo:table-body>
> </fo:table>
> <fo:table border-spacing="3pt" space-before="0.5in"
> space-after="0.5in">
> <fo:table-column column-width="1.5in"/>
> <fo:table-column column-width="3.75in"/>
> <fo:table-body>
> <fo:table-row>
> <fo:table-cell><fo:block>Quote
> Name:</fo:block></fo:table-cell>
>
> <fo:table-cell><fo:block>quote1_name</fo:block></fo:table-cell>
> </fo:table-row>
> <fo:table-row>
>
> <fo:table-cell><fo:block>Description:</fo:block></fo:table-cell>
>
> <fo:table-cell><fo:block>quote1_description</fo:block></fo:table-cell>
> </fo:table-row>
> <fo:table-row>
>
> <fo:table-cell><fo:block>Currency:</fo:block></fo:table-cell>
> <fo:table-cell><fo:block>Canadian
> Dollar</fo:block></fo:table-cell>
> </fo:table-row>
> <fo:table-row>
> <fo:table-cell><fo:block>Valid From
> Date:</fo:block></fo:table-cell>
> <fo:table-cell><fo:block></fo:block></fo:table-cell>
> </fo:table-row>
> <fo:table-row>
> <fo:table-cell><fo:block>Valid Through
> Date:</fo:block></fo:table-cell>
> <fo:table-cell><fo:block></fo:block></fo:table-cell>
> </fo:table-row>
> </fo:table-body>
> </fo:table>
> <!-- End Template
> component://order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl -->
> <!-- Begin Template
> component://order/webapp/ordermgr/quote/quoteReportBody.fo.ftl -->
> <fo:block>
> <fo:table font-size="9pt">
> <fo:table-column column-width="40pt"/>
> <fo:table-column column-width="160pt"/>
> <fo:table-column column-width="58pt"/>
> <fo:table-column column-width="58pt"/>
> <fo:table-column column-width="58pt"/>
> <fo:table-column column-width="58pt"/>
> <fo:table-column column-width="58pt"/>
> <fo:table-header>
> <fo:table-row>
> <fo:table-cell border-bottom="thin solid
> grey"><fo:block font-weight="bold">Item</fo:block></fo:table-cell>
> <fo:table-cell border-bottom="thin solid
> grey"><fo:block font-weight="bold">Product</fo:block></fo:table-cell>
> <fo:table-cell border-bottom="thin solid
> grey"><fo:block font-weight="bold"
> text-align="right">Quantity</fo:block></fo:table-cell>
> <fo:table-cell border-bottom="thin solid
> grey"><fo:block font-weight="bold"
> text-align="right">Amount</fo:block></fo:table-cell>
> <fo:table-cell border-bottom="thin solid
> grey"><fo:block font-weight="bold" text-align="right">Quote Unit
> Price</fo:block></fo:table-cell>
> <fo:table-cell border-bottom="thin solid
> grey"><fo:block font-weight="bold"
> text-align="right">Adjustments</fo:block></fo:table-cell>
> <fo:table-cell border-bottom="thin solid
> grey"><fo:block font-weight="bold"
> text-align="right">Subtotal</fo:block></fo:table-cell>
> </fo:table-row>
> </fo:table-header>
> <fo:table-body>
> </fo:table-body>
> </fo:table>
> <fo:block text-align="right">
> <fo:table>
> <fo:table-column column-width="100pt"/>
> <fo:table-column column-width="100pt"/>
> <fo:table-body>
> <fo:table-row>
> <fo:table-cell padding="2pt">
> <fo:block font-weight="bold"
> text-align="right">Subtotal</fo:block>
> </fo:table-cell>
> <fo:table-cell padding="2pt">
> <fo:block
> text-align="right">CA$0.00</fo:block>
> </fo:table-cell>
> </fo:table-row>
> <fo:table-row>
> <fo:table-cell padding="2pt">
> <fo:block font-weight="bold"
> text-align="right">Grand Total</fo:block>
> </fo:table-cell>
> <fo:table-cell padding="2pt">
> <fo:block
> text-align="right">CA$0.00</fo:block>
> </fo:table-cell>
> </fo:table-row>
> </fo:table-body>
> </fo:table>
> </fo:block>
> </fo:block>
> <!-- End Template
> component://order/webapp/ordermgr/quote/quoteReportBody.fo.ftl -->
> <fo:block id="theEnd"/>
> </fo:flow>
> </fo:page-sequence>
> </fo:root>
> <!-- End Template component://common/webcommon/includes/reportTemplate.fo.ftl
> -->
> 2015-02-25 19:47:01,846 |http-bio-8443-exec-1 |ScreenFactory
> |I| Got 4 screens in 0.01s from:
> file:/home/xx/workspace/ofbiz/applications/order/widget/ordermgr/CommonScreens.xml
> 2015-02-25 19:47:01,857 |http-bio-8443-exec-1 |ScreenFactory
> |I| Got 1 screens in 0.01s from:
> file:/home/xx/workspace/ofbiz/applications/commonext/widget/CommonScreens.xml
> 2015-02-25 19:47:01,967 |http-bio-8443-exec-1 |PrimaryKeyFinder
> |I| Returning null because found incomplete primary key in find:
> [GenericEntity:PartyAcctgPrefAndGroup][partyId,Company(java.lang.String)][roleTypeId,null()]
> 2015-02-25 19:47:02,149 |http-bio-8443-exec-1 |ServerHitBin
> |I| Visit delegatorName=default, ServerHitBin delegatorName=default
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)