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

Unable to add page to portfolio

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.9.2
    • Fix Version/s: None
    • Component/s: OSP: Portfolios
    • Labels:
      None

      Description

      There was a null pointer exception when I tried to add a page to a portfolio. The steps to reproduce are:

      1) Create a new portfolio
      2) Click Add/Edit Content
      3) Click Add Page
      4) Click Select Layout
      5) Select Two Column
      6) In the Page Content, first column, click Add Row
      7) Exception

      This appears to be the same problem reported in #SAK-21612. Exception summary:

      "An exception occurred processing JSP page /freeForm/pageProperties.jsp at line 158"
      "158: <ospx:xmlDocument factory="#

      {freeForm.factory}

      ""
      Stacktrace:
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
      caused by: java.lang.NullPointerException
      at org.theospi.portfolio.presentation.render.TextTypeTagHandler.startElement(TextTypeTagHandler.java:127)
      at org.theospi.jsf.impl.DefaultXmlTagHandler.startElement(DefaultXmlTagHandler.java:64)
      ....

      See attached log.

        Gliffy Diagrams

          Zeplin

            Attachments

            1. portflio_npe_log.txt
              17 kB
            2. reproduce_npe_portfolio_1.png
              reproduce_npe_portfolio_1.png
              106 kB
            3. reproduce_npe_portfolio_2.png
              reproduce_npe_portfolio_2.png
              141 kB
            4. reproduce_npe_portfolio_3.png
              reproduce_npe_portfolio_3.png
              122 kB
            5. reproduce_npe_portfolio_4.png
              reproduce_npe_portfolio_4.png
              132 kB
            6. reproduce_npe_portfolio_5.png
              reproduce_npe_portfolio_5.png
              117 kB
            7. reproduce_npe_portfolio_6.png
              reproduce_npe_portfolio_6.png
              109 kB
            8. reproduce_npe_portfolio_7.png
              reproduce_npe_portfolio_7.png
              132 kB

              Activity

                People

                Assignee:
                osp-jira OSP Jira Team (Inactive)
                Reporter:
                jswink Joshua Swink
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration