Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.4.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      When clicking on export to PDF on th uper right of the page the following error occurs.

      Wiki Markup:

      {excel:file=^test01.xls} 
      

      System Error
      A system error has occurred - our apologies!

      Please contact your Confluence administrator to create a support issue on our support system at http://support.atlassian.com with the following information:

      1. a description of your problem and what you were doing at the time it occurred
      2. cut & paste the error and system information found below
      3. attach the application server log file (if possible).

      We will respond as promptly as possible.
      Thank you!

      Cause:
      com.atlassian.confluence.importexport.ImportExportException: Error while generating PDF!
      at com.atlassian.confluence.importexport.impl.PdfExporter.foToPdf(PdfExporter.java:137)
      caused by: javax.xml.transform.TransformerException: java.lang.NullPointerException
      at com.icl.saxon.IdentityTransformer.transform(IdentityTransformer.java:61)
      caused by: java.lang.NullPointerException
      at org.apache.fop.fo.flow.Table.endOfNode(Table.java:229)

      Stack Trace: [hide]

      com.atlassian.confluence.importexport.ImportExportException: Error while generating PDF!
      at com.atlassian.confluence.importexport.impl.PdfExporter.foToPdf(PdfExporter.java:137)
      at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:98)
      at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:137)
      at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:105)
      at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:63)
      at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:112)
      at sun.reflect.GeneratedMethodAccessor3157.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
      at $Proxy49.exportAs(Unknown Source)
      at com.atlassian.confluence.importexport.actions.ExportPageAction.execute(ExportPageAction.java:111)
      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.util.LoggingContextInterceptor.intercept(LoggingContextInterceptor.java:48)
      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:47)
      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:67)
      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.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:98)
      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:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
      at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:124)
      at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:46)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:110)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
      at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:140)
      at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.xml.transform.TransformerException: java.lang.NullPointerException
      at com.icl.saxon.IdentityTransformer.transform(IdentityTransformer.java:61)
      at com.atlassian.confluence.importexport.impl.PdfExporter.foToPdf(PdfExporter.java:132)
      ... 111 more
      Caused by: java.lang.NullPointerException
      at org.apache.fop.fo.flow.Table.endOfNode(Table.java:229)
      at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:379)
      at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:195)
      at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at com.icl.saxon.IdentityTransformer.transform(IdentityTransformer.java:59)
      ... 112 more

      Referer URL: null

      Build Information:
      confluence.home: /opt/confluence_home
      system.uptime: 7 days, 1 hour, 33 minutes, 25 seconds
      system.version: 2.6.2
      build.number: 919

      Server Information:
      Application Server: Apache Tomcat/5.5.23
      Servlet Version: 2.4
      Database Dialect: com.atlassian.hibernate.dialect.MySQLDialect
      Database Driver Name: com.mysql.jdbc.Driver
      Database Driver Version: 5.1

      Memory Information:
      total.memory: 770 MB
      free.memory: 650 MB
      used.memory: 120 MB

      System Information:
      system.date: Monday, 10 Mar 2008
      system.time: 17:04:46
      system.favourite.colour: Ecru
      java.version: 1.5.0_08
      java.vendor: Sun Microsystems Inc.
      jvm.version: 1.0
      jvm.vendor: Sun Microsystems Inc.
      jvm.implementation.version: 1.5.0_08-b03
      java.runtime: Java(TM) 2 Runtime Environment, Standard Edition
      java.vm: Java HotSpot(TM) Server VM
      user.name.word: root
      user.timezone: Europe/Paris
      operating.system: Linux 2.6.18-8.el5
      os.architecture: i386
      fs.encoding: UTF-8

      Cluster Information:
      Not clustered.

      Enabled Plugins:
      Basic Macros (confluence.macros.basic, Version: 1.3)
      User Listener (confluence.extra.userlister, Version: 2.1)
      Chart Plugin (confluence.extra.chart, Version: 1.8)
      Confluence Usage Stats (com.atlassian.confluence.ext.usage, Version: 0.7.2)
      Global Labels Sections (confluence.sections.labels, Version: 1.0)
      Information Macros (confluence.extra.information, Version: 1.0)
      Page Operations (confluence.sections.page.operations, Version: 1.0)
      WebDAV Plugin (confluence.extra.webdav, Version: 1.1)
      Profile Tabs (confluence.sections.profile, Version: 1.0)
      Confluence Remote API (confluence.extra.confluencerpc, Version: 2.6.2)
      French language pack (confluence.languages.fr_FR, Version: 1.5)
      Core Startup and Shutdown (confluence.lifecycle.core, Version: 1)
      Admin Sections (confluence.sections.admin, Version: 1.0)
      Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4)
      TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 2.2.5)
      Space Pages Sections (confluence.sections.space.pages, Version: 1.0)
      Voting Macros (com.nearinfinity.confluence.macros.vote, Version: 1.2)
      News Tabs (confluence.sections.news, Version: 1.0)
      Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0)
      Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.1)
      Attachments Macros (confluence.extra.attachments, Version: 2.7)
      Space Actions Sections (confluence.sections.space.actions, Version: 1.0)
      Backup Manager (com.adaptavist.confluence.backups, Version: 1.1.1)
      Space Labels Sections (confluence.sections.space.labels, Version: 1.0)
      Page Menus Sections (confluence.pages.menus, Version: 1.0)
      Core Extractors (confluence.extractors.core, Version: 1.4)
      Compatibility Macros (confluence.macros.compatibility, Version: 1.3)
      Page Tabs (confluence.sections.page, Version: 1.0)
      Core Listeners (confluence.listeners.core, Version: 1.3)
      Dynamic Task List 2 Plugin (confluence.extra.dynamictasklist2, Version: 2.2)
      Dashboard Macros (confluence.macros.dashboard, Version: 1.3)
      Live Search Macros (confluence.extra.livesearch, Version: 2.6)
      Page View Links (confluence.sections.page.actions, Version: 1.0)
      JIRA Macros (confluence.extra.jira, Version: 2.2)
      Layout Macros (confluence.extra.layout, Version: 1.1)
      German language pack (confluence.languages.de_DE, Version: 1.1)
      Excel Plugin (org.swift.confluence.excel, Version: 3.4.0)
      Global Statistics Plugin (confluence.extra.globalstats, Version: 2.2-1.1)
      Tabular Metadata (confluence.extra.masterdetail, Version: 2.7)
      Space Admin Sections (confluence.sections.space.admin, Version: 1.0)
      Advanced Macros (confluence.macros.advanced, Version: 1.3)
      Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.6)
      IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.0-rc2)
      Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0)
      Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.0.7)
      Attachment Extractors (confluence.extractors.attachments, Version: 1.4)
      BloggingRPC (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.1)
      Space Item Tabs (confluence.sections.space, Version: 1.0)
      Code Macro (confluence.macros.code, Version: 1.4)
      Request

      Information:
      URL: http://wiki.sogeti.com:8080/500page.jsp

      • Scheme: http
      • Server: wiki.sogeti.com
      • Port: 8080
      • URI: /500page.jsp
      • - Context Path:
      • - Servlet Path: /500page.jsp
      • - Path Info:
      • - Query String: pageId=7214286&type=TYPE_PDF
        foofoo

      Attributes:

      • javax.servlet.forward.request_uri : /pages/doexportpage.action
      • javax.servlet.forward.context_path :
      • javax.servlet.forward.servlet_path : /pages/doexportpage.action
      • javax.servlet.forward.path_info : /500page.jsp
      • javax.servlet.forward.query_string : pageId=7214286&type=TYPE_PDF
      • javax.servlet.error.message :
      • javax.servlet.error.exception : com.atlassian.confluence.importexport.ImportExportException: Error while generating PDF!
      • os_securityfilter_already_filtered : true
      • _sitemesh_using_stream : false
      • com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true
      • javax.servlet.error.request_uri : /pages/doexportpage.action
      • javax.servlet.error.status_code : 500
      • _sitemesh_filterapplied : true
      • javax.servlet.error.servlet_name : action
      • webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@fe4159
      • atlassian.core.seraph.original.url : /pages/doexportpage.action?pageId=7214286&type=TYPE_PDF
      • loginfilter.already.filtered : true
      • javax.servlet.jsp.jspException : com.atlassian.confluence.importexport.ImportExportException: Error while generating PDF!
      • sessioninview.FILTERED : true
      • com.atlassian.core.filters.gzip.GzipFilter_already_filtered : true

      Parameters:

      • type = TYPE_PDF
      • pageId = 7214286
        Confluence User:
      • anonymous

      Logging:
      0 log statements generated by this request.

      System Information
      System Date Monday, 10 Mar 2008
      System Time 17:09:45
      System Favourite Colour Ecru
      Java Version 1.5.0_08
      Java Vendor Sun Microsystems Inc.
      JVM Version 1.0
      JVM Vendor Sun Microsystems Inc.
      JVM Implementation Version 1.5.0_08-b03
      Java Runtime Java(TM) 2 Runtime Environment, Standard Edition
      Java VM Java HotSpot(TM) Server VM
      User Name root
      User Timezone Europe/Paris
      Operating System Linux 2.6.18-8.el5
      OS Architecture i386
      Filesystem Encoding UTF-8

      Java VM Memory Statistics
      Total Memory 762 MB
      Free Memory 641 MB
      Used Memory 121 MB
      Memory Graph
      [Used Memory (16 %)] [Free Memory (84 %)]
      84 % Free

      Runtime Information
      Database Dialect com.atlassian.hibernate.dialect.MySQLDialect
      Database Connection URL jdbc:mysql://localhost/confluence?autoReconnect=true&useUnicode=true&characterEncoding=utf8
      Database Driver Name com.mysql.jdbc.Driver
      Database Driver Version 5.1
      Application Server Apache Tomcat/5.5.23
      Servlet Version 2.4
      Server Base Url https://wiki-ht.sogeti.com
      Confluence Home /opt/confluence_home
      Uptime 7 days, 1 hour, 38 minutes, 24 seconds
      Confluence Version 2.6.2
      Build Number 919

        Attachments

          Activity

            People

            • Assignee:
              bswift Bob Swift [Bob Swift Atlassian Add-ons]
              Reporter:
              ralf ralf
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync