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

InvocationTargetException when Instructor tries to grade unsubmitted assessments

    XMLWordPrintable

    Details

    • 11 status:
      Resolved
    • Previous Issue Keys:
      SAM-2717
    • Test Plan:
      Hide

      Create a site, add 2 or more students
      Create a test, add 1 question, release test
      Login as at least 1 student, take the test
      Login as the instructor again, click enter "0" in "Apply this score" to all participants with no submission.
      Push "Apply this score"
      Verify that 0 was applied to all non-submissions and did not affect the score of the student(s) who did submit.

      Show
      Create a site, add 2 or more students Create a test, add 1 question, release test Login as at least 1 student, take the test Login as the instructor again, click enter "0" in "Apply this score" to all participants with no submission. Push "Apply this score" Verify that 0 was applied to all non-submissions and did not affect the score of the student(s) who did submit.

      Description

      Steps to reproduce the issue:

      1. Publish an assessment.
      2. Any student submits the assessment.
      3. The instructor sets 0 to all students with "No Submission" by means of the option "Apply this score ... to all participants with "No Submission".

      Samigo fails and the log displays this error:

      2016-02-23 13:01:52,399 ERROR http-apr-19888-exec-5 org.sakaiproject.tool.assessment.ui.listener.evaluation.TotalScoreUpdateListener - InvocationTargetException: java.lang.reflect.InvocationTargetException
      Feb 23, 2016 1:01:52 PM com.sun.faces.lifecycle.InvokeApplicationPhase execute
      WARNING: failed to call saveTotalScores.
      java.lang.RuntimeException: failed to call saveTotalScores.
      	at org.sakaiproject.tool.assessment.ui.listener.evaluation.TotalScoreUpdateListener.processAction(TotalScoreUpdateListener.java:91)
      	at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
      	at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:774)
      	at javax.faces.component.UICommand.broadcast(UICommand.java:372)
      	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
      	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
      	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
      	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
      	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
      
      ...
      
      2016-02-23 13:01:52,399 ERROR http-apr-19888-exec-5 org.sakaiproject.tool.assessment.ui.listener.evaluation.TotalScoreUpdateListener - InvocationTargetException: java.lang.reflect.InvocationTargetException
      Feb 23, 2016 1:01:52 PM com.sun.faces.lifecycle.InvokeApplicationPhase execute
      WARNING: failed to call saveTotalScores.
      java.lang.RuntimeException: failed to call saveTotalScores.
      	at org.sakaiproject.tool.assessment.ui.listener.evaluation.TotalScoreUpdateListener.processAction(TotalScoreUpdateListener.java:91)
      	at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
      	at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:774)
      	at javax.faces.component.UICommand.broadcast(UICommand.java:372)
      	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
      	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
      	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
      	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
      	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
      
      

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  lgekeler Laura Gekeler
                  Reporter:
                  raulsv Raúl Sánchez Vegas
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration