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

Potential NPE source in BaseAssignmentService

    XMLWordPrintable

    Details

    • 2.9 Status:
      Resolved

      Description

      In BaseAssignmentService the following code:
      try

      { m_position_order = Long.valueOf(attributes.getValue("position_order")).intValue(); }

      catch (Exception e)

      { m_position_order = 0; // prevents null pointer if there is no position_order defined as well as helps with the sorting }

      Can result in a NPE if attributes.getValue("position_order").

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                zqian Zhen Qian
                Reporter:
                darolmar@abierta.upv.es David Roldán Martínez
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration