-
Bug
-
Resolution: Fixed
-
High
-
None
-
1.0 Release Candidate 6
-
Weblogic 8.1 sp2, RHAS 2.1, Jrocket 1.4.2
Tried to export a space and/or page to PDF. Please note the environment because it works with sun's jdk on windows platform (still using wl8.1 sp2).
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 : java.lang.NullPointerException at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(Lcom.atlassian.confluence.core.EntityObject;Ljava.lang.String;)V(PdfExporter.java:204) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(Lcom.atlassian.confluence.core.EntityObject;Ljava.lang.String;)V(PdfExporter.java:136) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(Lcom.atlassian.confluence.pages.Page;Ljava.lang.String;)V(AbstractRendererExporterImpl.java:119) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport()Ljava.lang.String;(AbstractRendererExporterImpl.java:85) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport()Ljava.lang.String;(PdfExporter.java:80) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(Ljava.lang.Object;Lcom.atlassian.confluence.importexport.ExportContext;)Ljava.lang.String;(DefaultImportExportManager.java:84) at COM.jrockit.reflect.NativeMethodInvoker.invoke0(ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Native Method) at COM.jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at COM.jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(Ljava.lang.Object;Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(AopProxyUtils.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint()Ljava.lang.Object;(ReflectiveMethodInvocation.java:201) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()Ljava.lang.Object;(ReflectiveMethodInvocation.java:176) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Lorg.aopalliance.intercept.MethodInvocation;)Ljava.lang.Object;(TransactionInterceptor.java:154) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()Ljava.lang.Object;(ReflectiveMethodInvocation.java:196) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(Ljava.lang.Object;Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(JdkDynamicAopProxy.java:135) at $Proxy301.exportAs(Ljava.lang.Object;Lcom.atlassian.confluence.importexport.ExportContext;)Ljava.lang.String;(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportPageAction.execute()Ljava.lang.String;(ExportPageAction.java:74) at com.opensymphony.xwork.DefaultActionInvocation.invoke()Ljava.lang.String;(DefaultActionInvocation.java:171) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Lcom.opensymphony.xwork.ActionInvocation;)Ljava.lang.String;(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke()Ljava.lang.String;(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(Lcom.opensymphony.xwork.ActionInvocation;)Ljava.lang.String;(DefaultWorkflowInterceptor.java:58) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(Lcom.opensymphony.xwork.ActionInvocation;)Ljava.lang.String;(ConfluenceWorkflowInterceptor.java:32) at com.opensymphony.xwork.DefaultActionInvocation.invoke()Ljava.lang.String;(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Lcom.opensymphony.xwork.ActionInvocation;)Ljava.lang.String;(AroundInterceptor.java:37) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(Lcom.opensymphony.xwork.ActionInvocation;)Ljava.lang.String;(ConfluenceValidationInterceptor.java:18) at com.opensymphony.xwork.DefaultActionInvocation.invoke()Ljava.lang.String;(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Lcom.opensymphony.xwork.ActionInvocation;)Ljava.lang.String;(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke()Ljava.lang.String;(DefaultActionInvocation.java:168) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(Lcom.opensymphony.xwork.ActionInvocation;)Ljava.lang.String;(PermissionCheckInterceptor.java:40) at com.opensymphony.xwork.DefaultActionInvocation.invoke()Ljava.lang.String;(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Lcom.opensymphony.xwork.ActionInvocation;)Ljava.lang.String;(AroundInterceptor.java:37) 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 : java.lang.NullPointerException at org.apache.velocity.runtime.parser.node.ASTMethod.execute(Ljava.lang.Object;Lorg.apache.velocity.context.InternalContextAdapter;)Ljava.lang.Object;(ASTMethod.java:309) at org.apache.velocity.runtime.parser.node.ASTReference.execute(Ljava.lang.Object;Lorg.apache.velocity.context.InternalContextAdapter;)Ljava.lang.Object;(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(Lorg.apache.velocity.context.InternalContextAdapter;Ljava.io.Writer;)Z(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(Lorg.apache.velocity.context.InternalContextAdapter;Ljava.io.Writer;)Z(SimpleNode.java:271) at org.apache.velocity.Template.merge(Lorg.apache.velocity.context.Context;Ljava.io.Writer;)V(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(Ljava.lang.Object;Ljava.io.Writer;)V(TemplateSupport.java:79) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(Lcom.atlassian.confluence.core.EntityObject;Ljava.lang.String;)V(PdfExporter.java:200) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(Lcom.atlassian.confluence.core.EntityObject;Ljava.lang.String;)V(PdfExporter.java:136) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(Lcom.atlassian.confluence.pages.Page;Ljava.lang.String;)V(AbstractRendererExporterImpl.java:119) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport()Ljava.lang.String;(AbstractRendererExporterImpl.java:85) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport()Ljava.lang.String;(PdfExporter.java:80) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(Ljava.lang.Object;Lcom.atlassian.confluence.importexport.ExportContext;)Ljava.lang.String;(DefaultImportExportManager.java:84) at COM.jrockit.reflect.NativeMethodInvoker.invoke0(ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Native Method) at COM.jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at COM.jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(Ljava.lang.Object;Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(AopProxyUtils.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint()Ljava.lang.Object;(ReflectiveMethodInvocation.java:201) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()Ljava.lang.Object;(ReflectiveMethodInvocation.java:176) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Lorg.aopalliance.intercept.MethodInvocation;)Ljava.lang.Object;(TransactionInterceptor.java:154) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()Ljava.lang.Object;(ReflectiveMethodInvocation.java:196) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(Ljava.lang.Object;Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(JdkDynamicAopProxy.java:135) at $Proxy301.exportAs(Ljava.lang.Object;Lcom.atlassian.confluence.importexport.ExportContext;)Ljava.lang.String;(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportPageAction.execute()Ljava.lang.String;(ExportPageAction.java:74) at com.opensymphony.xwork.DefaultActionInvocation.invoke()Ljava.lang.String;(DefaultActionInvocation.java:171) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Lcom.opensymphony.xwork.ActionInvocation;)Ljava.lang.String;(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke()Ljava.lang.String;(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(Lcom.opensymphony.xwork.ActionInvocation;)Ljava.lang.String;(DefaultWorkflowInterceptor.java:58) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(Lcom.opensymphony.xwork.ActionInvocation;)Ljava.lang.String;(ConfluenceWorkflowInterceptor.java:32) at com.opensymphony.xwork.DefaultActionInvocation.invoke()Ljava.lang.String;(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Lcom.opensymphony.xwork.ActionInvocation;)Ljava.lang.String;(AroundInterceptor.java:37) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(Lcom.opensymphony.xwork.ActionInvocation;)Ljava.lang.String;(ConfluenceValidationInterceptor.java:18)
- is incorporated by
-
CONFSERVER-1174 Shouldn't need to escape things inside {code}
- Closed
-
CONFSERVER-1230 Weblogic Support
- Closed