Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-1422

NPE on fresh system in assessment tool when no one ever started a scorm module

    XMLWordPrintable

    Details

      Description

      Very rare case:

      • setup new system
      • import course with scorm module (or create course)
      • open assessment tool in course
      • select a user and the scorm module
        => NPE
      <dispatchinfo>
      <componentinfo>
      <compname>table</compname>
      <compclass>org.olat.core.gui.components.table.Table</compclass>
      <extendedinfo>n/a</extendedinfo>
      <event>
      <class&gt;org.olat.core.gui.components.table.TableEvent</class&gt;
      <command>r</command>
      <tostring>cmd:r, rowId:2, actionId:cmd.select.node</tostring>
      </event>
      </componentinfo>
      <controllerinfo>
      <controllername>org.olat.core.gui.components.table.TableController</controllername>
      <controllername>org.olat.course.assessment.IdentityAssessmentOverviewController</controllername>
      <controllername>org.olat.course.assessment.IdentityAssessmentEditController</controllername>
      <controllername>org.olat.course.assessment.AssessmentMainController</controllername>
      <controllername>org.olat.course.run.CourseRuntimeController</controllername>
      <controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      </controllerinfo>
      </dispatchinfo> 
      Throwable: java.lang.NullPointerException
      
      message:null,java.lang.NullPointerException
      
      at org.olat.modules.scorm.ScormDirectoryHelper.getScoDirectory(ScormDirectoryHelper.java:55)
      at org.olat.modules.scorm.assessment.ScormAssessmentManager.visitScoDatasMultiResults(ScormAssessmentManager.java:102)
      at org.olat.modules.scorm.assessment.ScormResultDetailsController.init(ScormResultDetailsController.java:107)
      at org.olat.modules.scorm.assessment.ScormResultDetailsController.(ScormResultDetailsController.java:88)
      at org.olat.course.nodes.ScormCourseNode.getDetailsEditController(ScormCourseNode.java:552)
      at org.olat.course.assessment.AssessmentEditController.(AssessmentEditController.java:148)
      at org.olat.course.assessment.IdentityAssessmentEditController.doEditNodeAssessment(IdentityAssessmentEditController.java:196)
      at org.olat.course.assessment.IdentityAssessmentEditController.event(IdentityAssessmentEditController.java:158)
      at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:245)
      at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
      

        Attachments

          Activity

            People

            Assignee:
            gnaegi Florian Gnägi
            Reporter:
            gnaegi Florian Gnägi
            Tester:
            Stéphane Rossé
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: