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

NPE when exporting assessment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0, 2.7.1
    • Fix Version/s: 2.8.0
    • Labels:
      None
    • Previous Issue Keys:
      SAM-977

      Description

      I don't have steps to replicate, but we are seeing an NPE when exporting an assessment:

      java.lang.NullPointerException
      at org.sakaiproject.tool.assessment.qti.helper.item.ItemHelper12Impl.setFeedback(ItemHelper12Impl.java:1623)
      at org.sakaiproject.tool.assessment.qti.asi.Item.setFeedback(Item.java:401)
      at org.sakaiproject.tool.assessment.qti.asi.Item.update(Item.java:231)
      at org.sakaiproject.tool.assessment.qti.asi.Section.addItems(Section.java:327)
      at org.sakaiproject.tool.assessment.qti.asi.Section.update(Section.java:154)
      at org.sakaiproject.tool.assessment.qti.helper.AuthoringHelper.getAssessment(AuthoringHelper.java:262)
      at org.sakaiproject.tool.assessment.qti.helper.AuthoringHelper.getAssessment(AuthoringHelper.java:127)
      at org.sakaiproject.tool.assessment.services.qti.QTIService.getExportedAssessment(QTIService.java:167)
      at org.sakaiproject.tool.assessment.ui.bean.qti.XMLController.assessment(XMLController.java:183)
      at org.sakaiproject.tool.assessment.ui.bean.qti.XMLController.display(XMLController.java:120)
      at org.sakaiproject.tool.assessment.ui.bean.qti.XMLController.displayAssessmentXml(XMLController.java:90)
      at org.sakaiproject.tool.assessment.ui.listener.author.ExportAssessmentListener.processAction(ExportAssessmentListener.java:77)
      at javax.faces.event.ActionEvent.processListener(ActionEvent.java:57)
      at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:649)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  samigoteam SAMIGO TEAM (Inactive)
                  Reporter:
                  ottenhoff Sam Ottenhoff
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code