Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-8348

PDF and RTF versions of a page produce no output and a stack trace is seen in the logs

    XMLWordPrintable

Details

    • Bug
    • Status: CLOSED
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • Rwiki
    • None

    Description

      java.lang.RuntimeException: /wiki/site/7d66144b-5de7-4ca5-00c2-ce363f8e619f/home.pdf
      at uk.ac.cam.caret.sakai.rwiki.component.service.impl.RWikiObjectServiceImpl$2.handleAccess(RWikiObjectServiceImpl.java:1420)
      at org.sakaiproject.access.tool.AccessServlet.dispatch(AccessServlet.java:337)
      at org.sakaiproject.access.tool.AccessServlet.doGet(AccessServlet.java:184)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
      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 org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:540)
      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.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      at java.lang.Thread.run(Thread.java:613)
      Caused by: java.lang.RuntimeException: Failed to serialise java.lang.NullPointerException
      at uk.ac.cam.caret.sakai.rwiki.component.service.impl.XSLTEntityHandler.outputContent(XSLTEntityHandler.java:380)
      at uk.ac.cam.caret.sakai.rwiki.component.service.impl.RWikiObjectServiceImpl$2.handleAccess(RWikiObjectServiceImpl.java:1361)
      ... 22 more
      Caused by: java.lang.RuntimeException: java.lang.NullPointerException
      at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3407)
      at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433)
      at uk.ac.cam.caret.sakai.rwiki.component.service.impl.XSLTEntityHandler.outputContent(XSLTEntityHandler.java:373)
      ... 23 more
      WARN: sendError: java.lang.IllegalStateException (2007-02-08 12:17:10,992 http-8080-Processor23_org.sakaiproject.access.tool.AccessServlet)

      WARN: Warning(Unknown location): fo:table, table-layout="auto" is currently not supported by FOP (2007-02-08 12:17:38,870 http-8080-Processor24_org.apache.fop.fo.FONode)
      ERROR: No LayoutManager maker for class class org.apache.fop.fo.flow.TableAndCaption (2007-02-08 12:17:38,887 http-8080-Processor24_org.apache.fop.layoutmgr.LayoutManagerMapping)
      java.lang.RuntimeException: java.lang.NullPointerException
      at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3407)
      at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433)
      at uk.ac.cam.caret.sakai.rwiki.component.service.impl.XSLTEntityHandler.outputContent(XSLTEntityHandler.java:373)
      at uk.ac.cam.caret.sakai.rwiki.component.service.impl.RWikiObjectServiceImpl$2.handleAccess(RWikiObjectServiceImpl.java:1361)
      at org.sakaiproject.access.tool.AccessServlet.dispatch(AccessServlet.java:337)
      at org.sakaiproject.access.tool.AccessServlet.doGet(AccessServlet.java:184)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
      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 org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:540)
      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.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      at java.lang.Thread.run(Thread.java:613)
      WARN: Error getting wiki page via access :/wiki/site/7d66144b-5de7-4ca5-00c2-ce363f8e619f/home.pdf (2007-02-08 12:17:38,924 http-8080-Processor24_uk.ac.cam.caret.sakai.rwiki.component.service.impl.RWikiObjectServiceImpl)
      WARN: dispatch(): exception: (2007-02-08 12:17:38,924 http-8080-Processor24_org.sakaiproject.access.tool.AccessServlet)
      java.lang.RuntimeException: /wiki/site/7d66144b-5de7-4ca5-00c2-ce363f8e619f/home.pdf
      at uk.ac.cam.caret.sakai.rwiki.component.service.impl.RWikiObjectServiceImpl$2.handleAccess(RWikiObjectServiceImpl.java:1420)
      at org.sakaiproject.access.tool.AccessServlet.dispatch(AccessServlet.java:337)
      at org.sakaiproject.access.tool.AccessServlet.doGet(AccessServlet.java:184)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
      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 org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:540)
      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.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      at java.lang.Thread.run(Thread.java:613)
      Caused by: java.lang.RuntimeException: Failed to serialise java.lang.NullPointerException
      at uk.ac.cam.caret.sakai.rwiki.component.service.impl.XSLTEntityHandler.outputContent(XSLTEntityHandler.java:380)
      at uk.ac.cam.caret.sakai.rwiki.component.service.impl.RWikiObjectServiceImpl$2.handleAccess(RWikiObjectServiceImpl.java:1361)
      ... 22 more
      Caused by: java.lang.RuntimeException: java.lang.NullPointerException
      at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3407)
      at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433)
      at uk.ac.cam.caret.sakai.rwiki.component.service.impl.XSLTEntityHandler.outputContent(XSLTEntityHandler.java:373)
      ... 23 more
      WARN: sendError: java.lang.IllegalStateException (2007-02-08 12:17:38,926 http-8080-Processor24_org.sakaiproject.access.tool.AccessServlet)

      Gliffy Diagrams

        Zeplin

          Attachments

            Issue Links

              Activity

                People

                  ianeboston Ian Boston
                  ianeboston Ian Boston
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                    Created:
                    Updated:
                    Resolved:

                    Git Integration