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

Fail in Saving grade and Release to student in an assignment with Gradebook

    Details

    • 12 status:
      Resolved
    • Test Plan:
      Hide

      1. Create an assignment
      2. Display only to selected groups (select one or more groups)
      3. Submission Type: Inline and Attachments
      4. Points - 10
      5. Add Assignment to Gradebook (be sure you have Gradebook tool in your site)
      6. Post the assignment
      7. As student, send an assignment with only text
      8. As instructor, click Grade
      9. Click student's submission
      10. Fill Grade and Instructor Summary Comments
      11. Click Save and Realease to Student

      An error appears in the log

      Show
      1. Create an assignment 2. Display only to selected groups (select one or more groups) 3. Submission Type: Inline and Attachments 4. Points - 10 5. Add Assignment to Gradebook (be sure you have Gradebook tool in your site) 6. Post the assignment 7. As student, send an assignment with only text 8. As instructor, click Grade 9. Click student's submission 10. Fill Grade and Instructor Summary Comments 11. Click Save and Realease to Student An error appears in the log

      Description

      29-May-2018 08:01:39.285 INFO [http-nio-20013-exec-13] org.sakaiproject.assignment.tool.AssignmentAction.getSubmission function putSubmissionInfoIntoState requesting submission with reference = /assignment/s/6aef69bc-4813-4846-9777-64d917f13243/b85dd9c4-72e5-4ccd-bd27-19c07af0ff33/ba461e94-9ef5-46be-8ef0-e36662198b84
      29-May-2018 08:01:39.516 INFO [http-nio-20013-exec-16] org.sakaiproject.assignment.tool.AssignmentAction.getSubmission function build_instructor_grade_submission_context requesting submission with reference = /assignment/s/6aef69bc-4813-4846-9777-64d917f13243/b85dd9c4-72e5-4ccd-bd27-19c07af0ff33/ba461e94-9ef5-46be-8ef0-e36662198b84
      29-May-2018 08:01:46.530 INFO [http-nio-20013-exec-20] org.sakaiproject.assignment.tool.AssignmentAction.getSubmission function readGradeForm requesting submission with reference = /assignment/s/6aef69bc-4813-4846-9777-64d917f13243/b85dd9c4-72e5-4ccd-bd27-19c07af0ff33/ba461e94-9ef5-46be-8ef0-e36662198b84
      29-May-2018 08:01:46.540 INFO [http-nio-20013-exec-20] org.sakaiproject.assignment.tool.AssignmentAction.getSubmission function grade_submission_option requesting submission with reference = /assignment/s/6aef69bc-4813-4846-9777-64d917f13243/b85dd9c4-72e5-4ccd-bd27-19c07af0ff33/ba461e94-9ef5-46be-8ef0-e36662198b84
      29-May-2018 08:01:46.631 INFO [http-nio-20013-exec-20] org.sakaiproject.assignment.tool.AssignmentAction.getSubmission function integrateGradebook requesting submission with reference = /assignment/s/6aef69bc-4813-4846-9777-64d917f13243/b85dd9c4-72e5-4ccd-bd27-19c07af0ff33/ba461e94-9ef5-46be-8ef0-e36662198b84
      29-May-2018 08:01:46.682 WARN [http-nio-20013-exec-20] org.sakaiproject.cheftool.VelocityPortletPaneledAction.actionDispatch Exception calling method doAssignment_form java.lang.reflect.InvocationTargetException (Caused by java.lang.NullPointerException)
      java.lang.reflect.InvocationTargetException
      at sun.reflect.GeneratedMethodAccessor1559.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.sakaiproject.cheftool.VelocityPortletPaneledAction.actionDispatch(VelocityPortletPaneledAction.java:740)
      at org.sakaiproject.cheftool.VelocityPortletPaneledAction.processAction(VelocityPortletPaneledAction.java:552)
      at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:228)
      at org.sakaiproject.cheftool.VelocityPortletPaneledAction.doGet(VelocityPortletPaneledAction.java:1152)
      at org.sakaiproject.cheftool.ToolServlet.doPost(ToolServlet.java:152)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:426)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:728)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:470)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:356)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:316)
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:513)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1488)
      at org.sakaiproject.portal.charon.handlers.SiteHandler.doToolBuffer(SiteHandler.java:1228)
      at org.sakaiproject.portal.charon.handlers.SiteHandler.bufferContent(SiteHandler.java:1062)
      at org.sakaiproject.portal.charon.handlers.SiteHandler.doSite(SiteHandler.java:491)
      at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:267)
      at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:155)
      at org.sakaiproject.portal.charon.handlers.WorksiteHandler.doPost(WorksiteHandler.java:69)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doPost(SkinnableCharonPortal.java:1172)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:475)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
      at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:677)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1468)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.NullPointerException
      at org.sakaiproject.component.gradebook.GradebookExternalAssessmentServiceImpl.isUpdateSameScore(GradebookExternalAssessmentServiceImpl.java:981)
      at org.sakaiproject.component.gradebook.GradebookExternalAssessmentServiceImpl.lambda$updateExternalAssessmentScore$11(GradebookExternalAssessmentServiceImpl.java:875)
      at org.springframework.orm.hibernate4.HibernateTemplate.doExecute(HibernateTemplate.java:341)
      at org.springframework.orm.hibernate4.HibernateTemplate.execute(HibernateTemplate.java:296)
      at org.sakaiproject.component.gradebook.GradebookExternalAssessmentServiceImpl.updateExternalAssessmentScore(GradebookExternalAssessmentServiceImpl.java:908)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
      at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
      at com.sun.proxy.$Proxy94.updateExternalAssessmentScore(Unknown Source)
      at org.sakaiproject.assignment.tool.AssignmentAction.integrateGradebook(AssignmentAction.java:4984)
      at org.sakaiproject.assignment.tool.AssignmentAction.grade_submission_option(AssignmentAction.java:5833)
      at org.sakaiproject.assignment.tool.AssignmentAction.doReturn_grade_submission(AssignmentAction.java:5658)
      at org.sakaiproject.assignment.tool.AssignmentAction.doAssignment_form(AssignmentAction.java:10066)
      ... 56 more
      29-May-2018 08:01:46.903 INFO [http-nio-20013-exec-19] org.sakaiproject.assignment.tool.AssignmentAction.getSubmission function build_instructor_grade_submission_context requesting submission with reference = /assignment/s/6aef69bc-4813-4846-9777-64d917f13243/b85dd9c4-72e5-4ccd-bd27-19c07af0ff33/ba461e94-9ef5-46be-8ef0-e36662198b84

       

      See testing plan

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ern Earle R Nietzel
                  Reporter:
                  jesusmmp Jesus Maria Mendez
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code