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

Grading discussion topic: Stacktraces for isotheruserediting:list:isAnotherUserEditing:

    XMLWordPrintable

Details

    • Hide
      1. Create a rubric.
      2. Create a gradebook item in Gradebook.
      3. Associate the rubric with the gradebook item.
      4. In Forums, link a topic with the gradebook item under Topic Settings.
      5. Post in the topic as a student.
      6. As an instructor, go to Statistics & Grading > Statistics & Grading by Topic > Topic Title > Grade next to that student.
      7. Click on the rubric cells to select ratings for each criteria and submit grade.
      8. As the student, navigate to Gradebook. The student should be able to see the score in the gradebook cell and view the completed rubric when they click on the rubric icon.
      9. Check the server logs - there shouldn't be any errors
      Show
      Create a rubric. Create a gradebook item in Gradebook. Associate the rubric with the gradebook item. In Forums, link a topic with the gradebook item under Topic Settings. Post in the topic as a student. As an instructor, go to Statistics & Grading > Statistics & Grading by Topic > Topic Title > Grade next to that student. Click on the rubric cells to select ratings for each criteria and submit grade. As the student, navigate to Gradebook. The student should be able to see the score in the gradebook cell and view the completed rubric when they click on the rubric icon. Check the server logs - there shouldn't be any errors

    Description

      When grading a discussion topic with a rubric, there are multiple stacktraces on the server.

      The graded rubric does display when reopening in the topic, it displays in the gradebook for both the instructor and the student with the selected cells and any comments.
       
      Full stacktrace:
       
      RuntimeException:Fatal error trying to execute custom action method: isotheruserediting:list:isAnotherUserEditing:
       
      23-Mar-2021 21:19:26.902 WARN [http-nio-20020-exec-12] org.sakaiproject.entitybroker.util.servlet.DirectServlet.dispatch Direct request failure: RuntimeException:Fatal error trying to execute custom action method: isotheruserediting:list:isAnotherUserEditing:Direct request failure: RuntimeException:Fatal error trying to execute custom action method: isotheruserediting:list:isAnotherUserEditing:
       
      Sakai version: 20-SNAPSHOT(ff421205)
       
      Server: qa20-mysql.nightly.sakaiproject.org(ip-172-31-7-189) [ip-172-31-7-189-1616478665830]
       
      Request URI: /direct/gbng/isotheruserediting/32dd7c79-2630-4974-aaf7-b9830ec811ca.json
       
      Path Info: /gbng/isotheruserediting/32dd7c79-2630-4974-aaf7-b9830ec811ca.json 
      Context path: /direct
      Method: GET
       
      Server: ip-172-31-7-189-1616478665830
      User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36 Edg/89.0.774.57
      Browser ID: Win-Mozilla
      IP address: 68.50.236.114
      User ID: 5379bfbd-92df-4386-9ce0-a5ffdccb5a74
      User EID: jdoe
      User Display ID: jdoe
      :{}
      java.lang.RuntimeException: Fatal error trying to execute custom action method: isotheruserediting:list:isAnotherUserEditing
      at org.sakaiproject.entitybroker.rest.EntityActionsManager.handleCustomActionExecution(EntityActionsManager.java:231)
      at org.sakaiproject.entitybroker.rest.EntityActionsManager.handleCustomActionRequest(EntityActionsManager.java:96)
      at org.sakaiproject.entitybroker.rest.EntityHandlerImpl.handleEntityAccess(EntityHandlerImpl.java:409)
      at org.sakaiproject.entitybroker.util.servlet.DirectServlet.dispatch(DirectServlet.java:189)
      at org.sakaiproject.entitybroker.servlet.SakaiDirectServlet.dispatch(SakaiDirectServlet.java:148)
      at org.sakaiproject.entitybroker.util.servlet.DirectServlet.handleRequest(DirectServlet.java:159)
      at org.sakaiproject.entitybroker.util.servlet.DirectServlet.service(DirectServlet.java:134)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166 
      at org.sakaiproject.oauth.filter.OAuthPostFilter.doFilter(OAuthPostFilter.java:76)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      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.sakaiproject.oauth.filter.OAuthPreFilter.doFilter(OAuthPreFilter.java:74)
      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:53 
      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:202)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
      at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:747)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373 
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1589)
      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.reflect.InvocationTargetException
      at sun.reflect.GeneratedMethodAccessor5210.invoke(Unknown Source 
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43 
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.sakaiproject.entitybroker.rest.EntityActionsManager.handleCustomActionExecution(EntityActionsManager.java:206)
      ... 38 more
      Caused by: org.springframework.orm.hibernate4.HibernateSystemException: No default constructor for entity: : org.sakaiproject.tool.gradebook.GradingEvent; nested exception is org.hibernate.InstantiationException: No default constructor for entity: : org.sakaiproject.tool.gradebook.GradingEvent
      at org.springframework.orm.hibernate4.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:218)
      at org.springframework.orm.hibernate4.HibernateTemplate.doExecute(HibernateTemplate.java:344)
      at org.springframework.orm.hibernate4.HibernateTemplate.execute(HibernateTemplate.java:29
      at org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl.getGradingEvents(GradebookServiceHibernateImpl.java:3600)
      at sun.reflect.GeneratedMethodAccessor4293.invoke(Unknown Source)
      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:283)
      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.$Proxy106.getGradingEvents(Unknown Source)
      at org.sakaiproject.gradebookng.business.GradebookNgBusinessService.getEditingNotifications(GradebookNgBusinessService.java:2030)
      at org.sakaiproject.gradebookng.rest.GradebookNgEntityProvider.isAnotherUserEditing(GradebookNgEntityProvider.java:182)
      ... 42 more
      Caused by: org.hibernate.InstantiationException: No default constructor for entity: : org.sakaiproject.tool.gradebook.GradingEvent
      at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:120 
      at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:136)
      at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:737)
      at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:4761)
      at org.hibernate.internal.SessionImpl.instantiate(SessionImpl.java:1427)
      at org.hibernate.internal.SessionImpl.instantiate(SessionImpl.java:1415) 
      at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1619) 
      at org.hibernate.loader.Loader.getRow(Loader.java:1515)
      at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:726) 
      at org.hibernate.loader.Loader.processResultSet(Loader.java:953) 
      at org.hibernate.loader.Loader.doQuery(Loader.java:921) 
      at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:355)
      at org.hibernate.loader.Loader.doList(Loader.java:2554) 
      at org.hibernate.loader.Loader.doList(Loader.java:2540)
      at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2370) 
      at org.hibernate.loader.Loader.list(Loader.java:2365)
      at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:126)
      at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1718)
      at org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:380)
      at org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl.lambda$getGradingEvents$19(GradebookServiceHibernateImpl.java:3605)
      at org.springframework.orm.hibernate4.HibernateTemplate.doExecute(HibernateTemplate.java:341)
       
      ... 58 more

      Gliffy Diagrams

        Zeplin

          Attachments

            Issue Links

              Activity

                People

                  Unassigned Unassigned
                  agschmidt Andrea Schmidt
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                    Created:
                    Updated:
                    Resolved:

                    Git Integration