[jira] [Commented] (OFBIZ-6115) report on quote cause exception

2015-02-26 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14339100#comment-14339100
 ] 

Jacques Le Roux commented on OFBIZ-6115:


Locally with trunk HEAD (r1662557) I reproduce the same than Wai any number of 
time.

> 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=CQ1
> 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.3528)
> 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:
> 
> 
> http://www.w3.org/1999/XSL/Format";
> font-family="NotoSans"
> >
> 
>page-width="8.5in" page-height="11in"
>   margin-top="0.4in" margin-bottom="0.4in"
>   margin-left="0.6in" margin-right="0.4in">
> 
> 
> 
> 
>page-width="11in" page-height="8.5in"
>   margin-top="0.4in" margin-bottom="0.4in"
>   margin-left="0.6in" margin-right="0.4in">
> 
> 
> 
> 
> 
> 
> 
> 
>  column-width="proportional-column-width(50)"/>
>  column-width="proportional-column-width(50)"/>
> 
> 
> 
> 
> 
>  height="40px" content-height="scale-to-fit" content-width="2.00in"/>
> 
> 
> myco_name
> 
> 
>   myco_addr1
>   myco_addr2
>   myco_city, NB myco_pcode
> 
>   Canada
> 
> 
> 
> 
> 
> Email:
> 
> 
> m...@cantatasw.com
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Quote Type
> 
> 
> Product Purchase
> 
> 
> 
> 
> Quote Issue Date
> 
> 
> 
> 
> 
> 
> 
> Quote Id
> 
> 
> QU1
> 
> 
> 
> 
> Status
> 
> 
> Created
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  space-before="10pt">
> Page  of  ref-id="theEnd"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Address: 
> Mr. customer1_fName mm 
> customer1_lName ss
> 
> 
> 
> 
>  

[jira] [Commented] (OFBIZ-6115) report on quote cause exception

2015-02-26 Thread Adrian Crum (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14338712#comment-14338712
 ] 

Adrian Crum commented on OFBIZ-6115:


What version are you using? I get a different error on trunk:

2015-02-26 09:11:27,647 |ttp-bio-8443-exec-12 |ScriptUtil
|W| Error running script at location 
[component://order/webapp/ordermgr/WEB-INF/actions/quote/GetPartyAddress.groovy]:
 groovy.lang.MissingPropertyException: No such property: party for class: 
GetPartyAddress
groovy.lang.MissingPropertyException: No such property: party for class: 
GetPartyAddress
at 
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
 ~[groovy-all-2.2.1.jar:2.2.1]
at 
org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
 ~[groovy-all-2.2.1.jar:2.2.1]
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
 ~[groovy-all-2.2.1.jar:2.2.1]
at GetPartyAddress.run(GetPartyAddress.groovy:23) ~[?:?]


> 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=CQ1
> 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.3528)
> 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:
> 
> 
> http://www.w3.org/1999/XSL/Format";
> font-family="NotoSans"
> >
> 
>page-width="8.5in" page-height="11in"
>   margin-top="0.4in" margin-bottom="0.4in"
>   margin-left="0.6in" margin-right="0.4in">
> 
> 
> 
> 
>page-width="11in" page-height="8.5in"
>   margin-top="0.4in" margin-bottom="0.4in"
>   margin-left="0.6in" margin-right="0.4in">
> 
> 
> 
> 
> 
> 
> 
> 
>  column-width="proportional-column-width(50)"/>
>  column-width="proportional-column-width(50)"/>
> 
> 
> 
> 
> 
>  height="40px" content-height="scale-to-fit" content-width="2.00in"/>
> 
> 
> myco_name
> 
> 
>   myco_addr1
>   myco_addr2
>   myco_city, NB myco_pcode
> 
>   Canada
> 
> 
> 
> 
> 
> Email:
> 
> 
> m...@cantatasw.com
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Quote Type
> 
> 
> Product Purchase
> 
> 
> 
> 
> Quote Issue Dat

[jira] [Commented] (OFBIZ-6115) report on quote cause exception

2015-02-26 Thread Adrian Crum (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14338721#comment-14338721
 ] 

Adrian Crum commented on OFBIZ-6115:


Interesting...

When I click on the Report button a second time, there is no error and the 
report is generated.

> 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=CQ1
> 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.3528)
> 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:
> 
> 
> http://www.w3.org/1999/XSL/Format";
> font-family="NotoSans"
> >
> 
>page-width="8.5in" page-height="11in"
>   margin-top="0.4in" margin-bottom="0.4in"
>   margin-left="0.6in" margin-right="0.4in">
> 
> 
> 
> 
>page-width="11in" page-height="8.5in"
>   margin-top="0.4in" margin-bottom="0.4in"
>   margin-left="0.6in" margin-right="0.4in">
> 
> 
> 
> 
> 
> 
> 
> 
>  column-width="proportional-column-width(50)"/>
>  column-width="proportional-column-width(50)"/>
> 
> 
> 
> 
> 
>  height="40px" content-height="scale-to-fit" content-width="2.00in"/>
> 
> 
> myco_name
> 
> 
>   myco_addr1
>   myco_addr2
>   myco_city, NB myco_pcode
> 
>   Canada
> 
> 
> 
> 
> 
> Email:
> 
> 
> m...@cantatasw.com
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Quote Type
> 
> 
> Product Purchase
> 
> 
> 
> 
> Quote Issue Date
> 
> 
> 
> 
> 
> 
> 
> Quote Id
> 
> 
> QU1
> 
> 
> 
> 
> Status
> 
> 
> Created
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  space-before="10pt">
> Page  of  ref-id="theEnd"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Address: 
> Mr. customer1_fName mm 
> customer1_lName ss
> 
> 
> 
>