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

NPE with image map delivery

    Details

    • 11 status:
      Resolved
    • Previous Issue Keys:
      SAM-3046

      Description

      We're getting an NPE with the image Map question. The error looks to be a bad pattern with setting the value directly to the mbean

      mbean.setIsCorrect(data.getIsCorrect());

      This should check for null and set a true if it's not null (and true)

      java.lang.NullPointerException
              at org.sakaiproject.tool.assessment.ui.listener.delivery.DeliveryActionListener.populateImageMapQuestion(DeliveryActionListener.java:2471)
              at org.sakaiproject.tool.assessment.ui.listener.delivery.DeliveryActionListener.getQuestionBean(DeliveryActionListener.java:1772)
      

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  jonespm Matthew Jones
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration