Uploaded image for project: 'uPortal'
  1. uPortal
  2. UP-3269

If you turn off 'Add Columns' for fragment and then change the layout and add a column, it throws a NPE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.2
    • Fix Version/s: 4.0.6
    • Component/s: None
    • Labels:

      Description

      If you turn off Add Columns for a fragment, and then change the layout by adding a columns (i.e. two columns, then select the three columns option), it will throw an NPE in the logs and give you 'An Unknown error occurred' alert).

      ERROR [http-8080-1] Dec/21 15:31:34,837 remoting.UpdatePreferencesServlet.[] - java.lang.NullPointerException
      java.lang.NullPointerException
      at org.jasig.portal.layout.dlm.remoting.UpdatePreferencesServlet.changeColumns(UpdatePreferencesServlet.java:324)
      at org.jasig.portal.layout.dlm.remoting.UpdatePreferencesServlet.doPost(UpdatePreferencesServlet.java:151)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      This relates to UP-3268 where the user should not be given the option to perform this action.

      uP4 is also affected except you get no feedback at all, only an error in the Web Inspector:
      POST https://up40-nightly.jasig.org/api/layout 500 (Internal Server Error)

        Attachments

        Error rendering 'com.atlassian.jira.jira-view-issue-plugin:attachmentmodule'. Please contact your JIRA administrators.

          Issue Links

            Activity

              People

              • Assignee:
                steve.swinsburg Steve Swinsburg
                Reporter:
                steve.swinsburg Steve Swinsburg
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: