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

Links in friend request email generate stacktraces when using xsl-portal

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.2, 2.7.0
    • Fix Version/s: 2.7.0, 2.8.0
    • Component/s: Profile
    • Labels:
      None
    • Previous Issue Keys:
      PRFL-264

      Description

      This is in Sakai 2-6-x. When your sakai instance is using xsl-portal, and users click on the "<somebody> added you as a connection on Sakai" link in an email, they get this stacktrace:

      org.sakaiproject.portal.api.PortalHandlerException: java.lang.RuntimeException: Failed to render template
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768)
      caused by: java.lang.RuntimeException: Failed to render template
      at org.sakaiproject.portal.charon.handlers.SiteHandler.doSendResponse(SiteHandler.java:320)
      caused by: java.lang.NullPointerException
      at org.sakaiproject.portal.xsltcharon.impl.XsltRenderContext.createToolXml(XsltRenderContext.java:395)
      at org.sakaiproject.portal.xsltcharon.impl.XsltRenderContext.createColumnToolsXml(XsltRenderContext.java:366)
      at org.sakaiproject.portal.xsltcharon.impl.XsltRenderContext.createPageXml(XsltRenderContext.java:347)
      at org.sakaiproject.portal.xsltcharon.impl.XsltRenderContext.createPageCategories(XsltRenderContext.java:256)
      at org.sakaiproject.portal.xsltcharon.impl.XsltRenderContext.produceDocument(XsltRenderContext.java:135)
      at org.sakaiproject.portal.xsltcharon.impl.XsltRenderEngine.render(XsltRenderEngine.java:158)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.sendResponse(SkinnableCharonPortal.java:1677)
      at org.sakaiproject.portal.charon.handlers.SiteHandler.doSendResponse(SiteHandler.java:320)
      at org.sakaiproject.portal.charon.handlers.SiteHandler.doSite(SiteHandler.java:262)
      at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:113)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:607)
      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:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
      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:174)
      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
      at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:595)

      only clue in logs: The reference to entity "panel" must end with the ';' delimiter.

      If the email link is changed to ".../portal/..." instead of ".../xsl-portal/..." it works just fine.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  steve.swinsburg Steve Swinsburg
                  Reporter:
                  nicola@nyu.edu Nicola Monat-Jacobs
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration