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

NPE when trying to preview portfolios when running in tomcat 5.5.27 and websphere

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.0, 2.7.0
    • Component/s: OSP: Portfolios
    • Labels:
      None

      Description

      Site with a matrix, several wizards and two templates. I filled out one form in the wizard. I went into the portfolio and tried to view it. I had created the portfolio but not put any content in it. I'm assuming that is the problem.

      org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: /WEB-INF/jsp/presentation/renderPresentation.jsp(6,14) Attribute value request.getAttribute("renderer") is quoted with " which must be escaped when used within the value
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768)
      caused by: org.sakaiproject.tool.api.ToolException: /WEB-INF/jsp/presentation/renderPresentation.jsp(6,14) Attribute value request.getAttribute("renderer") is quoted with " which must be escaped when used within the value
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1216)
      caused by: org.apache.jasper.JasperException: /WEB-INF/jsp/presentation/renderPresentation.jsp(6,14) Attribute value request.getAttribute("renderer") is quoted with " which must be escaped when used within the value
      at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
      at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
      at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
      at org.apache.jasper.compiler.Parser.parseQuoted(Parser.java:307)
      at org.apache.jasper.compiler.Parser.parseAttributeValue(Parser.java:250)
      at org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:211)
      at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:149)
      at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1350)
      at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1589)
      at org.apache.jasper.compiler.Parser.parse(Parser.java:132)
      at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:212)
      at org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
      at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:156)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

        Gliffy Diagrams

          Zeplin

            Attachments

            1. 15736.diff
              0.9 kB
              Charles Hedrick

              Issue Links

                Activity

                  People

                  • Assignee:
                    jbush John Bush
                    Reporter:
                    hedrick Charles Hedrick
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration