com.atlassian.confluence.renderer.WikiRenderException: Can not transform XHTML to XSL-FO due to an error! %HTMLlat1; --> ]> This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in) Reverse from Tax (where Tax Amt is passed in) Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount). Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. Calculation Steps: Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. Calculation Steps: Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. Calculation Steps: Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) Examples: Workbench Scenario and Tax Calculation Results xmlInput

Atlassian JIRA | Susan Hayes | 1 decade ago
  1. 0

    The following error is received when attempting the Export Page as PDF: Cause: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! Stack Trace: [hide] org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! Referer URL: http://appdevas2:8080/confluence/display/qa/Calculation+Types Build Information: Uptime: 7 days, 22 hours, 42 minutes, 15 seconds Version: 1.4.1 Build Number: 212 Server Information: Application Server: Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) Servlet Version: 2.3 Database Dialect: net.sf.hibernate.dialect.OracleDialect Memory Information: Total Memory: 658 MB Free Memory: 409 MB Used Memory: 249 MB System Information: System Date: Wednesday, 20 Jul 2005 System Time: 09:15:23 System Favourite Colour: Lime Java Version: 1.4.2_06 Java Vendor: Sun Microsystems Inc. JVM Version: 1.0 JVM Vendor: Sun Microsystems Inc. JVM Implementation Version: 1.4.2_06-b03 Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition Java VM: Java HotSpot(TM) Server VM User Name: administrator User Timezone: America/Los_Angeles Operating System: Windows 2003 5.2 OS Architecture: x86 Request Information: URL: http://appdevas2:8080/confluence/500page.jsp - Scheme: http - Server: appdevas2 - Port: 8080 - URI: /confluence/500page.jsp - - Context Path: /confluence - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: pageId=10353&type=TYPE_PDF Attributes: - javax.servlet.error.exception : com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! - javax.servlet.error.message : org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! - os_securityfilter_already_filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.request_uri : /confluence/pages/doexportpage.action - javax.servlet.error.status_code : 500 - os_authstatus : null - __sitemesh__filterapplied : true - javax.servlet.error.servlet_name : action - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@179ea59 - loginfilter.already.filtered : true - atlassian.core.seraph.original.url : /pages/doexportpage.action?pageId=10353&type=TYPE_PDF - javax.servlet.jsp.jspException : com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! - sessioninview.FILTERED : true - com.atlassian.core.filters.gzip.GzipFilter_already_filtered : true Parameters: - type = TYPE_PDF - pageId = 10353 Logging: 10 log statements generated by this request: [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\wink.gif already exists [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\sad.gif already exists [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\star_yellow.gif already exists [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\smile.gif already exists [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\tongue.gif already exists [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.atlassian.confluence.importexport.impl.WikiExporter] Can not transform XHTML to XSL-FO due to an error! %HTMLlat1; --> ]> This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in) Reverse from Tax (where Tax Amt is passed in) Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount). Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. Calculation Steps: Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. Calculation Steps: Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. Calculation Steps: Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) Examples: Workbench Scenario and Tax Calculation Results xmlInput Throwable: javax.xml.transform.TransformerException: org.xml.sax.SAXException: invalid EntityValue at com.icl.saxon.om.Builder.build(Builder.java:273) at com.icl.saxon.Controller.transform(Controller.java:936) at com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:178) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:121) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(TemplateSupport.java:71) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:248) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:151) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:144) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:110) [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.atlassian.confluence.importexport.impl.WikiExporter] WIKI Style: h3.(!)*{color:red}This page is currently under construction!{color}*(!) h3.+Calculation Types+ The Sabrix Solution currently offers the three following Calculation Types: * *[Forward|#Forward]* (where the Gross Amt is passed in) * *[Reverse from Tax|#Reverse from Tax]* (where Tax Amt is passed in) * *[Reverse from Total|#Reverse from Total]* (where a combined Gross Amt and Tax Amt are passed in as a Total amount). {anchor: Forward} h4.Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. h5._Calculation Steps:_ # Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 # Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 h5._Examples:_ - [Workbench Scenario and Tax Calculation Results|^Forward.doc] - [xmlInput|^Forward xmlInput.txt] {anchor: Reverse from Tax} h4.Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. *Note:* Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. h5._Calculation Steps:_ # Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 # Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 h5._Examples:_ - [Workbench Scenario and Tax Calculation Results|^Reverse from Tax.doc] - [xmlInput|^Rev from Tax xmlInput.txt] {anchor: Reverse from Total} h4.Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. h5._Calculation Steps:_ # Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 # Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 # Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 # Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 # Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) h5._Examples:_ - [Workbench Scenario and Tax Calculation Results|^Reverse from Total.doc] - [xmlInput|^Rev from Total xmlInput.txt] [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.atlassian.confluence.importexport.impl.WikiExporter] XHTML Style: This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in) Reverse from Tax (where Tax Amt is passed in) Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount). Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. Calculation Steps: Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. Calculation Steps: Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. Calculation Steps: Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) Examples: Workbench Scenario and Tax Calculation Results xmlInput [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.atlassian.confluence.importexport.impl.WikiExporter] Error while generating XSL-FO for 'qa:Calculation Types'! Throwable: com.atlassian.confluence.renderer.WikiRenderException: Can not transform XHTML to XSL-FO due to an error! %HTMLlat1; --> ]> This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in) Reverse from Tax (where Tax Amt is passed in) Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount). Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. Calculation Steps: Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. Calculation Steps: Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. Calculation Steps: Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) Examples: Workbench Scenario and Tax Calculation Results xmlInput at com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:201) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:121) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(TemplateSupport.java:71) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:248) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:151) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:144) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:110) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:83) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113) [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.opensymphony.webwork.dispatcher.ServletDispatcher] Could not execute action Throwable: com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:252) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:151) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:144) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:110) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:83) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy26.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportPageAction.execute(ExportPageAction.java:108) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)

    Atlassian JIRA | 1 decade ago | Susan Hayes
    com.atlassian.confluence.renderer.WikiRenderException: Can not transform XHTML to XSL-FO due to an error! %HTMLlat1; --> ]> This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in) Reverse from Tax (where Tax Amt is passed in) Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount). Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. Calculation Steps: Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. Calculation Steps: Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. Calculation Steps: Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) Examples: Workbench Scenario and Tax Calculation Results xmlInput
  2. 0

    The following error is received when attempting the Export Page as PDF: Cause: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! Stack Trace: [hide] org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! Referer URL: http://appdevas2:8080/confluence/display/qa/Calculation+Types Build Information: Uptime: 7 days, 22 hours, 42 minutes, 15 seconds Version: 1.4.1 Build Number: 212 Server Information: Application Server: Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) Servlet Version: 2.3 Database Dialect: net.sf.hibernate.dialect.OracleDialect Memory Information: Total Memory: 658 MB Free Memory: 409 MB Used Memory: 249 MB System Information: System Date: Wednesday, 20 Jul 2005 System Time: 09:15:23 System Favourite Colour: Lime Java Version: 1.4.2_06 Java Vendor: Sun Microsystems Inc. JVM Version: 1.0 JVM Vendor: Sun Microsystems Inc. JVM Implementation Version: 1.4.2_06-b03 Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition Java VM: Java HotSpot(TM) Server VM User Name: administrator User Timezone: America/Los_Angeles Operating System: Windows 2003 5.2 OS Architecture: x86 Request Information: URL: http://appdevas2:8080/confluence/500page.jsp - Scheme: http - Server: appdevas2 - Port: 8080 - URI: /confluence/500page.jsp - - Context Path: /confluence - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: pageId=10353&type=TYPE_PDF Attributes: - javax.servlet.error.exception : com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! - javax.servlet.error.message : org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! - os_securityfilter_already_filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.request_uri : /confluence/pages/doexportpage.action - javax.servlet.error.status_code : 500 - os_authstatus : null - __sitemesh__filterapplied : true - javax.servlet.error.servlet_name : action - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@179ea59 - loginfilter.already.filtered : true - atlassian.core.seraph.original.url : /pages/doexportpage.action?pageId=10353&type=TYPE_PDF - javax.servlet.jsp.jspException : com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! - sessioninview.FILTERED : true - com.atlassian.core.filters.gzip.GzipFilter_already_filtered : true Parameters: - type = TYPE_PDF - pageId = 10353 Logging: 10 log statements generated by this request: [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\wink.gif already exists [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\sad.gif already exists [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\star_yellow.gif already exists [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\smile.gif already exists [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\tongue.gif already exists [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.atlassian.confluence.importexport.impl.WikiExporter] Can not transform XHTML to XSL-FO due to an error! %HTMLlat1; --> ]> This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in) Reverse from Tax (where Tax Amt is passed in) Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount). Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. Calculation Steps: Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. Calculation Steps: Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. Calculation Steps: Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) Examples: Workbench Scenario and Tax Calculation Results xmlInput Throwable: javax.xml.transform.TransformerException: org.xml.sax.SAXException: invalid EntityValue at com.icl.saxon.om.Builder.build(Builder.java:273) at com.icl.saxon.Controller.transform(Controller.java:936) at com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:178) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:121) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(TemplateSupport.java:71) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:248) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:151) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:144) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:110) [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.atlassian.confluence.importexport.impl.WikiExporter] WIKI Style: h3.(!)*{color:red}This page is currently under construction!{color}*(!) h3.+Calculation Types+ The Sabrix Solution currently offers the three following Calculation Types: * *[Forward|#Forward]* (where the Gross Amt is passed in) * *[Reverse from Tax|#Reverse from Tax]* (where Tax Amt is passed in) * *[Reverse from Total|#Reverse from Total]* (where a combined Gross Amt and Tax Amt are passed in as a Total amount). {anchor: Forward} h4.Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. h5._Calculation Steps:_ # Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 # Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 h5._Examples:_ - [Workbench Scenario and Tax Calculation Results|^Forward.doc] - [xmlInput|^Forward xmlInput.txt] {anchor: Reverse from Tax} h4.Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. *Note:* Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. h5._Calculation Steps:_ # Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 # Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 h5._Examples:_ - [Workbench Scenario and Tax Calculation Results|^Reverse from Tax.doc] - [xmlInput|^Rev from Tax xmlInput.txt] {anchor: Reverse from Total} h4.Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. h5._Calculation Steps:_ # Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 # Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 # Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 # Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 # Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) h5._Examples:_ - [Workbench Scenario and Tax Calculation Results|^Reverse from Total.doc] - [xmlInput|^Rev from Total xmlInput.txt] [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.atlassian.confluence.importexport.impl.WikiExporter] XHTML Style: This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in) Reverse from Tax (where Tax Amt is passed in) Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount). Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. Calculation Steps: Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. Calculation Steps: Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. Calculation Steps: Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) Examples: Workbench Scenario and Tax Calculation Results xmlInput [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.atlassian.confluence.importexport.impl.WikiExporter] Error while generating XSL-FO for 'qa:Calculation Types'! Throwable: com.atlassian.confluence.renderer.WikiRenderException: Can not transform XHTML to XSL-FO due to an error! %HTMLlat1; --> ]> This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in) Reverse from Tax (where Tax Amt is passed in) Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount). Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. Calculation Steps: Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. Calculation Steps: Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. Calculation Steps: Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) Examples: Workbench Scenario and Tax Calculation Results xmlInput at com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:201) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:121) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(TemplateSupport.java:71) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:248) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:151) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:144) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:110) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:83) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113) [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.opensymphony.webwork.dispatcher.ServletDispatcher] Could not execute action Throwable: com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:252) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:151) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:144) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:110) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:83) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy26.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportPageAction.execute(ExportPageAction.java:108) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)

    Atlassian JIRA | 1 decade ago | Susan Hayes
    com.atlassian.confluence.renderer.WikiRenderException: Can not transform XHTML to XSL-FO due to an error! %HTMLlat1; --> ]> This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in) Reverse from Tax (where Tax Amt is passed in) Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount). Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. Calculation Steps: Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. Calculation Steps: Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. Calculation Steps: Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) Examples: Workbench Scenario and Tax Calculation Results xmlInput
  3. 0

    The PDF Export code can't handle the following wiki markup snippet. It just throws an exception. The markup may be invalid, but still the PDF renderer should cope with invalid input without throwing an unhandeled exception. Not good. Wiki markup: {noformat} h1. {color:red}foo {noformat} bar {noformat} {color} {noformat} Exception: com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for '~admin:pdf test' at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:197) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:115) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:130) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:100) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:60) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113) at sun.reflect.GeneratedMethodAccessor437.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy35.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportPageAction.execute(ExportPageAction.java:107) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:114) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:82) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.actions.LastModifiedInterceptor.intercept(LastModifiedInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.util.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:133) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115) at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at net.elma.confluence.profile.UpdateProfilePictureFilter.doFilter(UpdateProfilePictureFilter.java:62) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:117) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:143) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:51) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.confluence.util.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:30) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:45) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at bucket.custom.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:31) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:122) at com.atlassian.confluence.util.error.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:420) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516) at com.caucho.util.ThreadPool.run(ThreadPool.java:442) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for '~admin:pdf test' at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(TemplateSupport.java:70) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:193) ... 86 more caused by: com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for '~admin:pdf test' at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:114) at sun.reflect.GeneratedMethodAccessor439.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(TemplateSupport.java:70) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:193) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:115) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:130) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:100) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:60) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113) at sun.reflect.GeneratedMethodAccessor437.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy35.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportPageAction.execute(ExportPageAction.java:107) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168) at com.opensymphony.xw

    Atlassian JIRA | 1 decade ago | Tuomas Jormola
    com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for '~admin:pdf test'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The PDF Export code can't handle the following wiki markup snippet. It just throws an exception. The markup may be invalid, but still the PDF renderer should cope with invalid input without throwing an unhandeled exception. Not good. Wiki markup: {noformat} h1. {color:red}foo {noformat} bar {noformat} {color} {noformat} Exception: com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for '~admin:pdf test' at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:197) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:115) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:130) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:100) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:60) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113) at sun.reflect.GeneratedMethodAccessor437.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy35.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportPageAction.execute(ExportPageAction.java:107) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:114) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:82) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.actions.LastModifiedInterceptor.intercept(LastModifiedInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.util.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:133) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115) at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at net.elma.confluence.profile.UpdateProfilePictureFilter.doFilter(UpdateProfilePictureFilter.java:62) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:117) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:143) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:51) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.confluence.util.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:30) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:45) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at bucket.custom.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:31) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:122) at com.atlassian.confluence.util.error.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:420) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516) at com.caucho.util.ThreadPool.run(ThreadPool.java:442) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for '~admin:pdf test' at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(TemplateSupport.java:70) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:193) ... 86 more caused by: com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for '~admin:pdf test' at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:114) at sun.reflect.GeneratedMethodAccessor439.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(TemplateSupport.java:70) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:193) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:115) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:130) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:100) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:60) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113) at sun.reflect.GeneratedMethodAccessor437.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy35.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportPageAction.execute(ExportPageAction.java:107) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168) at com.opensymphony.xw

    Atlassian JIRA | 1 decade ago | Tuomas Jormola
    com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for '~admin:pdf test'
  6. 0

    Confluence produces a stacktrace error com.atlassian.confluence.importexport.ImportExportException when we display a big png dimension image with align parameter. In order to reproduce the problem, please go through the following steps: # Create a page containing the following: {noformat} h1. !RAP-Configuration-ERM.png|align=center! {noformat} # Save it # Export the page to PDF. If you, either remove {{align=center}} or h1, the export function will be working fine. The following is the stacktrace that happens after exporting the page to PDF. {noformat} com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for 'EAIPROJECTS:Configuration Database' @ com/atlassian/confluence/pages/Page.pdfexport.vm[20,37] at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:165) caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for 'EAIPROJECTS:Configuration Database' @ com/atlassian/confluence/pages/Page.pdfexport.vm[20,37] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286) caused by: com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for 'EAIPROJECTS:Configuration Database' at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:106) caused by: com.atlassian.confluence.renderer.WikiRenderException: Can not transform XHTML to XSL-FO due to an error in the following XHTML null at com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:205) caused by: java.lang.NullPointerException at org.dom4j.io.DOMReader.read(DOMReader.java:86) {noformat} Please note that I have tried the problem using images which type png, jpeg and bmp. Using those types, the problem are reproducible.

    Atlassian JIRA | 8 years ago | Arie Murdianto
    com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for 'EAIPROJECTS:Configuration Database'

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.confluence.renderer.WikiRenderException

      Can not transform XHTML to XSL-FO due to an error! %HTMLlat1; --> ]> This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in) Reverse from Tax (where Tax Amt is passed in) Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount). Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. Calculation Steps: Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. Calculation Steps: Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. Calculation Steps: Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) Examples: Workbench Scenario and Tax Calculation Results xmlInput

      at com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo()
    2. com.atlassian.confluence
      WikiExporter.exportWikiToXslFo
      1. com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:201)
      2. com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:121)
      3. com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:86)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    4. Apache Velocity
      Template.merge
      1. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260)
      2. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
      3. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250)
      4. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
      5. org.apache.velocity.Template.merge(Template.java:296)
      5 frames
    5. com.atlassian.confluence
      DefaultImportExportManager.exportAs
      1. com.atlassian.confluence.util.TemplateSupport.processTemplate(TemplateSupport.java:71)
      2. com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:248)
      3. com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:151)
      4. com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:144)
      5. com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:110)
      6. com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:83)
      7. com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113)
      7 frames