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

Gradebook - View Grade Statistics on a Gradebook Item - Results in Error

    XMLWordPrintable

    Details

    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      ISSUE

      When an instructor uses "View Grade Statistics" for a gradebook item, an error happens.

      STEPS TO REPRODUCE

      • Go to https://qa2-us.nightly.sakaiproject.org
      • Create an instructor account and at least one student account
      • Create a project site with at least the Gradebook tool
      • Add the student as an access user to the site
      • Go to Gradebook
      • Add a gradebook item (e.g. Paper 01, 100 points, release and include)
      • Assign a grade to at least one student
      • From the drop-down below the gradebook item name, select "View Grade Statistics"
      • Error occurs

      NOTE: The error does NOT happen on Trunk, only on the 12.x nightly server currently called "Sakai 12.2-rc02."  I've tried one student and up to 200 students. I've added one grade only or multiple grades.  All attempts produce the same error.

      ERROR MESSAGE

      Something went wrong
       You should refresh and try again. If you end up back here, quote the following error number to your local IT Support: 0zJJTxWGGy.
      
      org.apache.wicket.WicketRuntimeException: Method onRequest of interface org.apache.wicket.behavior.IBehaviorListener targeted at org.sakaiproject.gradebookng.tool.component.GbGradeTable$1@3f37d5e9 on component [WebMarkupContainer [Component id = gradeTable]] threw an exception
       at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:268)
       at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
       at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:250)
       at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:236)
       at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)
       at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
       at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
       at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
       at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
       at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
       at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
       at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:137)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
       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:418)
       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.doSite(SiteHandler.java:469)
       at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:266)
       at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:154)
       at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:857)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
       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:467)
       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.reflect.InvocationTargetException
       at sun.reflect.GeneratedMethodAccessor4399.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:498)
       at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
       ... 55 more
       Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jfree.chart.JFreeChart
       at org.jfree.chart.ChartFactory.createBarChart(ChartFactory.java:923)
       at org.sakaiproject.gradebookng.tool.panels.AssignmentStatisticsPanel.onInitialize(AssignmentStatisticsPanel.java:146)
       at org.apache.wicket.Component.fireInitialize(Component.java:877)
       at org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:961)
       at org.apache.wicket.MarkupContainer.addedComponent(MarkupContainer.java:938)
       at org.apache.wicket.MarkupContainer.replace(MarkupContainer.java:746)
       at org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.setContent(ModalWindow.java:948)
       at org.sakaiproject.gradebookng.tool.model.GbModalWindow.setContent(GbModalWindow.java:89)
       at org.sakaiproject.gradebookng.tool.actions.ViewAssignmentStatisticsAction.handleEvent(ViewAssignmentStatisticsAction.java:41)
       at org.sakaiproject.gradebookng.tool.component.GbGradeTable.handleEvent(GbGradeTable.java:69)
       at org.sakaiproject.gradebookng.tool.component.GbGradeTable$1.onEvent(GbGradeTable.java:93)
       at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:145)
       at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:654)
       ... 59 more
      

       

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  alanregan Alan Regan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code