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

TimedAssessmentRunnable IndexOutOfBoundsException

    XMLWordPrintable

    Details

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

      Will work on steps to replicate. Best guess so far:

      a) Create simple one question assessment with 2 minute time limit and a set to allow only 1 submission. 
      b) take it once as student and do well and submit
      c) start it again as student and abandon it immediately while clicking begin without answering any questions

      Expected result: two rows in Event Log for this student as there were two attempts

      Show
      Will work on steps to replicate. Best guess so far: a) Create simple one question assessment with 2 minute time limit and a set to allow only 1 submission.  b) take it once as student and do well and submit c) start it again as student and abandon it immediately while clicking begin without answering any questions Expected result: two rows in Event Log for this student as there were two attempts

      Description

      What we are seeing, occasionally but with enough frequency that it's concerning, is that on a test that only allows a single submission and has a timer, that a student will run out of time and their submission is turned in. But immediately after the time runs out, the student somehow re-enters the test a second time. We don't know if this is caused by something the student actively does when the timer expires.
      
      There is no second submission logged in the Event Log, and no data (sam.assessment.take) for starting a second attempt shows up in the user events for the student. The instructor though, will see two submissions for the student in the Total Scores screen - one intentional, one bogus and empty. The second, empty submission is turned in on the student's behalf when our auto-submit job runs. 
      
      
      
      
      15-Sep-2020 11:58:31.567 INFO [pool-11-thread-2] org.sakaiproject.tool.assessment.ui.queue.delivery.TimedAssessmentRunnable.run SAMIGO_TIMED_ASSESSMENT:SUBMIT ID:1692762 userId:b5cb0553-1c49-49f4-9160-a5fc9198112f
      15-Sep-2020 11:58:31.567 INFO [pool-11-thread-2] org.sakaiproject.tool.assessment.ui.queue.delivery.TimedAssessmentRunnable.run SAMIGO_TIMED_ASSESSMENT:SUBMIT:FORGRADE ID:1692762 userId:b5cb0553-1c49-49f4-9160-a5fc9198112f
      15-Sep-2020 11:58:33.785 WARN [pool-11-thread-2] org.sakaiproject.tool.assessment.ui.queue.delivery.TimedAssessmentRunnable.run SAMIGO_TIMED_ASSESSMENT:SUBMIT:ERROR - Index: 0, Size: 0
      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
              at java.util.ArrayList.rangeCheck(ArrayList.java:657)
              at java.util.ArrayList.get(ArrayList.java:433)
              at org.sakaiproject.tool.assessment.ui.queue.delivery.TimedAssessmentRunnable.run(TimedAssessmentRunnable.java:137)
              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)
      15-Sep-2020 11:58:33.786 INFO [pool-11-thread-2] org.sakaiproject.tool.assessment.ui.queue.delivery.TimedAssessmentQueue.remove SAMIGO_TIMED_ASSESSMENT:QUEUE:REMOVE ID:1692762
      

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  ottenhoff Sam Ottenhoff
                  Reporter:
                  ottenhoff Sam Ottenhoff
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration