Details

    Description

      PDF generation of pages seems to be broken, generating a stack trace. For example, the following page:

      produces ...

      java.lang.ClassCastException: com.atlassian.confluence.pages.BlogPost
      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.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:54)
      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:802)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      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:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:49)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:114)
      at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:28)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:110)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170)
      at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      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:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:71)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:33)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
      at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      at java.lang.Thread.run(Thread.java:595)

      Referer URL: Unknown

      Build Information:
      confluence.home: /opt/j2ee/domains/atlassian.com/extranet/webapps/atlassian-confluence/data
      system.uptime: 17 hours, 58 minutes, 37 seconds
      system.version: 2.8-m4-r2
      build.number: 1300

      Unique ID: 0x00000117F77204F43FF61630494C1E7FCD79463A7F7CD9BEC260681F8C31D870

      Server Information:
      Application Server: Apache Tomcat/5.5.17
      Servlet Version: 2.4
      Database Dialect: net.sf.hibernate.dialect.PostgreSQLDialect
      Database Driver Name: N/A
      Database Driver Version: N/A
      Database Name: N/A
      Database Version: N/A

      Memory Information:
      total.memory: 687 MB
      free.memory: 203 MB
      used.memory: 484 MB

      System Information:
      system.date: Thursday, 07 Feb 2008
      system.time: 23:08:40
      system.favourite.colour: Myrtle
      java.version: 1.5.0_11
      java.vendor: Sun Microsystems Inc.
      jvm.version: 1.0
      jvm.vendor: Sun Microsystems Inc.
      jvm.implementation.version: 1.5.0_11-b03
      java.runtime: Java(TM) 2 Runtime Environment, Standard Edition
      java.vm: Java HotSpot(TM) Server VM
      user.name.word: j2ee
      user.timezone: America/Chicago
      operating.system: Linux 2.6.9-67.0.4.ELsmp
      os.architecture: i386
      fs.encoding: ANSI_X3.4-1968

      Cluster Information:
      Name: extranet
      Description: TangosolClusterInformation: extranet, listening on 235.54.69.161:32357
      Members:
      Member(Id=2, Timestamp=2008-02-07 04:59:24.292, Address=172.16.0.10:8088, MachineId=57135, Location=process:10640@atlassian10.managed.conteg)
      Member(Id=3, Timestamp=2008-02-07 05:10:07.94, Address=172.16.0.11:8088, MachineId=57136, Location=process:9947@atlassian11.managed.contegi)

      Enabled Plugins:
      Default Theme (com.atlassian.confluence.themes.default, Version: 1.0)
      Basic Macros (confluence.macros.basic, Version: 1.3)
      Gliffy Plugin (com.gliffy.integration.confluence, Version: 1.3.5)
      Fisheye Plugin (com.atlassian.confluence.extra.fisheye-plugin, Version: 0.3)
      User Listener (confluence.extra.userlister, Version: 2.1)
      HTML Macros (confluence.macros.html, Version: 1.3)
      Chart Plugin (confluence.extra.chart, Version: 1.9)
      News Tabs (confluence.sections.news.temp, Version: 1.0)
      Information Macros (confluence.extra.information, Version: 1.0)
      Global Labels Sections (confluence.sections.labels, Version: 1.0)
      Pagetree Search (com.atlassian.confluence.plugins.pagetreesearch, Version: 1.1-confluence27)
      Composition Plugin (net.customware.confluence.plugin.composition, Version: 2.3)
      Page Operations (confluence.sections.page.operations, Version: 1.0)
      WebDAV Plugin (confluence.extra.webdav, Version: 1.2.3)
      Confluence Remote API (confluence.extra.confluencerpc, Version: 2.8-m4-r2)
      Profile Tabs (confluence.sections.profile, Version: 1.0)
      French language pack (confluence.languages.fr_FR, Version: 1.5)
      Admin Sections (confluence.sections.admin, Version: 1.0)
      Core Startup and Shutdown (confluence.lifecycle.core, Version: 1)
      Page Operations Plugin (com.atlassian.confluence.extra.pageops, Version: 1.0)
      Page Tabs (confluence.sections.page.temp, Version: 1.0)
      Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.1)
      Google Calendar Plugin (net.customware.confluence.plugin.google.calendar, Version: 1.3)
      TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 2.11)
      Space Pages Sections (confluence.sections.space.pages, Version: 1.0)
      Snippet Plugin (com.atlassian.confluence.extra.snippet, Version: 2.1-SNAPSHOT)
      Voting Macros (com.nearinfinity.confluence.macros.vote, Version: 1.2)
      Confluence Classic Theme (com.atlassian.confluence.themes.classic, Version: 2.0-beta2)
      Find Email (com.atlassian.confluence.extra, Version: 1.0)
      YourKit Profiling Plugin (com.atlassian.confluence.ext.yourkit, Version: 0.4)
      Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0)
      News Tabs (confluence.sections.news, Version: 1.0)
      EditGrid Plugin (com.editgrid.confluence.spreadsheet, Version: 2.0.1)
      Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.1)
      Confluence Attachments Plugin (confluence.extra.attachments, Version: 2.10)
      Adaptavist Content Formatting Macros (com.adaptavist.confluence.contentFormattingMacros, Version: 1.6.5)
      Space Actions Sections (confluence.sections.space.actions, Version: 1.0)
      Space Labels Sections (confluence.sections.space.labels, Version: 1.0)
      Page Menus Sections (confluence.pages.menus, Version: 1.0)
      blogpublish-plugin (com.atlassian.confluence.extra.blogpublish, Version: 1.0-SNAPSHOT)
      Core Extractors (confluence.extractors.core, Version: 1.4)
      Compatibility Macros (confluence.macros.compatibility, Version: 1.3)
      Bamboo Plugin (com.atlassian.confluence.extra.bamboo, Version: 0.1.1)
      Page Tabs (confluence.sections.page, Version: 1.0)
      Page Tree (bnpparibas.confluence.pagetree, Version: 1.6)
      Run Plugin (org.swift.confluence.run, Version: 0.7)
      View Raw Data (com.atlassian.confluence.plugin.viewrawdata, Version: 0.1)
      Core Listeners (confluence.listeners.core, Version: 1.3)
      Dynamic Task List 2 Plugin (confluence.extra.dynamictasklist2, Version: 2.2)
      Bamboo Theme (com.atlassian.confluence.themes.bamboo, Version: 0.1)
      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)
      System Web Resources (confluence.web.resources, Version: 1.0)
      GraphViz Plugin (confluence.extra.graphviz, Version: 1.3)
      User Information (com.atlassian.confluence.extra.userinfo, Version: 1.0)
      Attachment Actions (confluence.sections.attachments, Version: 1.0)
      Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 2.0-beta3)
      Layout Macros (confluence.extra.layout, Version: 1.1)
      Add Content Menu Sections (confluence.menu.add, Version: 1.0)
      German language pack (confluence.languages.de_DE, Version: 1.1)
      Metadata Plugin (org.andya.confluence.plugins.metadata, Version: 2.0.2)
      Excel Plugin (org.swift.confluence.excel, Version: 3.3.0)
      Global Statistics Plugin (confluence.extra.globalstats, Version: 1.0)
      Space Browse Sections (confluence.sections.space.browse, Version: 1.0)
      Tabular Metadata (confluence.extra.masterdetail, Version: 2.7)
      Google Maps Plugin (com.atlassian.confluence.ext.gmaps, Version: 0.5)
      Space Admin Sections (confluence.sections.space.admin, Version: 1.0)
      Cache Plugin (org.swift.confluence.cache, Version: 3.1.0)
      Mail Page Plugin (com.atlassian.confluence.ext.mailpage, Version: 1.3)
      Calendar Plugin (confluence.extra.calendar, Version: 2.6.1)
      Advanced Macros (confluence.macros.advanced, Version: 1.3)
      Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.12)
      IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.0)
      Slideshow Plugin (com.atlassian.confluence.ext.slideshow, Version: 0.3)
      Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0)
      FreeMind Plugin (com.atlassian.confluence.contrib.freemind, Version: 1.0.2)
      Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.0.7)
      Contributors Plugin (confluence.authors, Version: 0.8)
      Attachment Extractors (confluence.extractors.attachments, Version: 1.4)
      SQL Plugin (org.swift.confluence.sql, Version: 3.3.0)
      Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 2.0-beta2)
      RSVP Plugin (com.atlassian.confluence.extra.rsvp, Version: 1.4)
      Table Plugin (org.swift.confluence.table, Version: 3.3.1)
      BloggingRPC (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.2)
      Space Item Tabs (confluence.sections.space, Version: 1.0)
      Code Macro (confluence.macros.code, Version: 1.4)
      Dynamic Table Macros (revere.confluence.dynamictable, Version: 1.2)
      Request

      Information:
      URL: http://extranet.atlassian.com/500page.jsp

      • Scheme: http
      • Server: extranet.atlassian.com
      • Port: 80
      • URI: /500page.jsp
      • - Context Path:
      • - Servlet Path: /500page.jsp
      • - Path Info:
      • - Query String: pageId=680821681&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=680821681&type=TYPE_PDF
      • javax.servlet.error.message :
      • javax.servlet.error.exception : java.lang.ClassCastException: com.atlassian.confluence.pages.BlogPost
      • os_securityfilter_already_filtered : true
      • com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true
      • _sitemesh_using_stream : false
      • javax.servlet.error.request_uri : /pages/doexportpage.action
      • com.atlassian.gzipfilter.GzipFilter_already_filtered : true
      • javax.servlet.error.status_code : 500
      • gzipMimeTypes : text/html,text/javascript,text/css,application/x-javascript,application/javascript
      • _sitemesh_filterapplied : true
      • javax.servlet.error.servlet_name : action
      • webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@afc29
      • Confluence-Request-Time : 1202447320283
      • loginfilter.already.filtered : true
      • atlassian.core.seraph.original.url : /pages/doexportpage.action?pageId=680821681&type=TYPE_PDF
      • javax.servlet.jsp.jspException : java.lang.ClassCastException: com.atlassian.confluence.pages.BlogPost
      • sessioninview.FILTERED : true

      Parameters:

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

      Logging:
      0 log statements generated by this request.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ssmith Steve Smith
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: