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

NPE if the lower/upper bound is not defined

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 11.5.4
    • Course
    • None

    Description

      This can happen if the high score is defined for the structure course element with the option "Calculate passing score?" set with "Adopt from course element".

      2017-08-03 13:55:50,088 [ajp-nio2-8008-exec-943] ERROR HighScoreManager - OLAT::ERROR ^%^ N8-E81 ^%^ org.olat.course.highscore.manager 
      https://olat.xyz.ch/auth/RepositoryEntry/336101424 ^%^ Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
      >>>stack of 1.cause::java.lang.NullPointerException: null
      -> at org.olat.course.highscore.manager.HighScoreManager.processHistogramData(HighScoreManager.java:146)
         at org.olat.course.highscore.ui.HighScoreRunController.initForm(HighScoreRunController.java:233)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.initForm(FormBasicController.java:280)
         at org.olat.course.highscore.ui.HighScoreRunController.setupContent(HighScoreRunController.java:192)
         at org.olat.course.highscore.ui.HighScoreRunController.(HighScoreRunController.java:116)
         at org.olat.course.nodes.st.STCourseNodeRunController.(STCourseNodeRunContro[...]
      

      Attachments

        Activity

          People

            srosse Stéphane Rossé
            srosse Stéphane Rossé
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 minute
                1m