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

TimedAssessmentRunnable NullPointerException

    XMLWordPrintable

    Details

    • 21 Status:
      Verified
    • 20 status:
      Verified
    • 19 status:
      Verified
    • Test Plan:
      Hide

      Not sure how to replicate so just basic regression testing

      1. Create a new assessment with one question
      2. Make it timed.... two minutes ..... due date far in the future. unlimited submissions.
      3. take it as several students .... try to abandon test while beginning .....

      Expected result: no stack traces in logs. All submissions are viewable in the Scores panel by instructor (after the timer submits them)

      Show
      Not sure how to replicate so just basic regression testing 1. Create a new assessment with one question 2. Make it timed.... two minutes ..... due date far in the future. unlimited submissions. 3. take it as several students .... try to abandon test while beginning ..... Expected result: no stack traces in logs. All submissions are viewable in the Scores panel by instructor (after the timer submits them)

      Description

      Not sure how to replicate. Found in Production

      19-Sep-2020 16:56:37.333 INFO [pool-11-thread-1] org.sakaiproject.tool.assessment.ui.queue.delivery.TimedAssessmentRunnable.run SAMIGO_TIMED_ASSESSMENT:SUBMIT ID:1073538 userId:6ed20be7-040f-4bbc-9164-1465f5ad54fa
      19-Sep-2020 16:56:37.334 INFO [pool-11-thread-1] org.sakaiproject.tool.assessment.ui.queue.delivery.TimedAssessmentRunnable.run SAMIGO_TIMED_ASSESSMENT:SUBMIT:FORGRADE ID:1073538 userId:6ed20be7-040f-4bbc-9164-1465f5ad54fa
      19-Sep-2020 16:56:37.751 WARN [pool-11-thread-1] org.sakaiproject.tool.assessment.integration.helper.integrated.GradebookHelperImpl.getGradebookUId getGradebookUId() - no tool placement found, probably taking an assessment via URL.
      19-Sep-2020 16:56:37.754 WARN [pool-11-thread-1] org.sakaiproject.tool.assessment.ui.queue.delivery.TimedAssessmentRunnable.run SAMIGO_TIMED_ASSESSMENT:SUBMIT:ERROR - null
      java.lang.NullPointerException
      at org.sakaiproject.tool.assessment.services.GradingService.notifyGradebook(GradingService.java:1611) at org.sakaiproject.tool.assessment.services.GradingService.notifyGradebookByScoringType(GradingService.java:1299)
      at org.sakaiproject.tool.assessment.ui.queue.delivery.TimedAssessmentRunnable.run(TimedAssessmentRunnable.java:175) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748) 19-Sep-2020 16:56:37.755 INFO [pool-11-thread-1] org.sakaiproject.tool.assessment.ui.queue.delivery.TimedAssessmentQueue.remove SAMIGO_TIMED_ASSESSMENT:QUEUE:REMOVE ID:1073538

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  agschmidt Andrea Schmidt
                  Reporter:
                  ottenhoff Sam Ottenhoff
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration