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

Evaluators from different groups click on evaluations and get a 500 error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Incorporated
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: OSP: Wizards - Matrix
    • Labels:
      None
    • Environment:
      HSQLDB, Tomcat 5.5.27, OS X

      Description

      To recreate,

      Start with no groups and 2 evaluators (1 and 2).
      Have evaluator1 complete an evaluation form in a participant1's cell.
      Form 2 groups. Evaluator2 will be in the same group as student1. Evaluator1 in the same group as student2.

      As evaluator2, enter the cell with the evaluation in it. You will see it as a link. Click it and see the 500 error:

      Not sure what the intended result should be. Recommend either:

      • Showing evals from outside the current group as non-links (current evaluator would see who did it, and when, but not the contents)
      • Allowing the current user to view the evaluation. (having a sense of the history of the cell might be useful when evaluating this time.)

      Stack trace from catalina.out:

      14:40:16,410 WARN BaseContentService.java:6521 BaseContentService:6521 - PermissionException /content/user/95ab1606-20f1-414c-b5ce-2ddc591278a6/portfolio-interaction/ebbb65e0-2809-4a82-a0c5-8fd3da5b9abe/3B5CCDBFA9DD0529D7A7C391DAAD759F/92BB3608EFDF53A04403FD2086A50593/A1E85A75B30F65ACA374DB21320C451A
      14:40:16,419 ERROR ApplicationDispatcher.java:711 [springapp]:711 - Servlet.service() for servlet springapp threw exception
      org.sakaiproject.exception.PermissionException user=2e3e17f0-db8b-47cc-90d9-79ac4139f62b lock=content.read resource=/content/user/95ab1606-20f1-414c-b5ce-2ddc591278a6/portfolio-interaction/ebbb65e0-2809-4a82-a0c5-8fd3da5b9abe/3B5CCDBFA9DD0529D7A7C391DAAD759F/92BB3608EFDF53A04403FD2086A50593/A1E85A75B30F65ACA374DB21320C451A
      at org.sakaiproject.content.impl.BaseContentService.unlock(BaseContentService.java:1669)
      at org.sakaiproject.content.impl.BaseContentService.getResource(BaseContentService.java:4152)
      at org.sakaiproject.metaobj.shared.mgt.impl.FileArtifactFinder.load(FileArtifactFinder.java:122)
      at org.sakaiproject.metaobj.shared.control.FormViewController.handleRequest(FormViewController.java:58)
      at org.sakaiproject.metaobj.utils.mvc.impl.servlet.ViewControllerImpl.handle(ViewControllerImpl.java:78)
      at org.springframework.web.servlet.mvc.AbstractCommandController.handleRequestInternal(AbstractCommandController.java:84)
      at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
      at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:857)
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:475)
      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:430)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.spring.util.SpringTool.dispatch(SpringTool.java:231)
      at org.sakaiproject.spring.util.SpringTool.doGet(SpringTool.java:294)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:555)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.help(ActiveToolComponent.java:555)
      at org.sakaiproject.metaobj.shared.mgt.impl.MetaobjHttpAccess.handleAccess(MetaobjHttpAccess.java:91)
      at org.sakaiproject.metaobj.shared.mgt.HttpAccessBase.handleAccess(HttpAccessBase.java:59)
      at org.theospi.portfolio.security.mgt.OspHttpAccessBase.handleAccess(OspHttpAccessBase.java:55)
      at org.theospi.portfolio.matrix.model.impl.MatrixHttpAccess.handleAccess(MatrixHttpAccess.java:71)
      at org.sakaiproject.access.tool.AccessServlet.dispatch(AccessServlet.java:338)
      at org.sakaiproject.access.tool.AccessServlet.doGet(AccessServlet.java:184)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
      at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:592)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:613)
      14:40:16,494 ERROR ApplicationDispatcher.java:711 formView]:711 - Servlet.service() for servlet sakai.metaobj.formView threw exception
      org.sakaiproject.exception.PermissionException user=2e3e17f0-db8b-47cc-90d9-79ac4139f62b lock=content.read resource=/content/user/95ab1606-20f1-414c-b5ce-2ddc591278a6/portfolio-interaction/ebbb65e0-2809-4a82-a0c5-8fd3da5b9abe/3B5CCDBFA9DD0529D7A7C391DAAD759F/92BB3608EFDF53A04403FD2086A50593/A1E85A75B30F65ACA374DB21320C451A
      at org.sakaiproject.content.impl.BaseContentService.unlock(BaseContentService.java:1669)
      at org.sakaiproject.content.impl.BaseContentService.getResource(BaseContentService.java:4152)
      at org.sakaiproject.metaobj.shared.mgt.impl.FileArtifactFinder.load(FileArtifactFinder.java:122)
      at org.sakaiproject.metaobj.shared.control.FormViewController.handleRequest(FormViewController.java:58)
      at org.sakaiproject.metaobj.utils.mvc.impl.servlet.ViewControllerImpl.handle(ViewControllerImpl.java:78)
      at org.springframework.web.servlet.mvc.AbstractCommandController.handleRequestInternal(AbstractCommandController.java:84)
      at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
      at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:857)
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:475)
      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:430)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.spring.util.SpringTool.dispatch(SpringTool.java:231)
      at org.sakaiproject.spring.util.SpringTool.doGet(SpringTool.java:294)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:555)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.help(ActiveToolComponent.java:555)
      at org.sakaiproject.metaobj.shared.mgt.impl.MetaobjHttpAccess.handleAccess(MetaobjHttpAccess.java:91)
      at org.sakaiproject.metaobj.shared.mgt.HttpAccessBase.handleAccess(HttpAccessBase.java:59)
      at org.theospi.portfolio.security.mgt.OspHttpAccessBase.handleAccess(OspHttpAccessBase.java:55)
      at org.theospi.portfolio.matrix.model.impl.MatrixHttpAccess.handleAccess(MatrixHttpAccess.java:71)
      at org.sakaiproject.access.tool.AccessServlet.dispatch(AccessServlet.java:338)
      at org.sakaiproject.access.tool.AccessServlet.doGet(AccessServlet.java:184)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
      at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:592)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:613)
      14:40:16,508 WARN AccessServlet.java:388 AccessServlet:388 - dispatch(): exception:
      java.lang.RuntimeException: org.sakaiproject.tool.api.ToolException: Request processing failed; nested exception is java.lang.RuntimeException: org.sakaiproject.exception.PermissionException user=2e3e17f0-db8b-47cc-90d9-79ac4139f62b lock=content.read resource=/content/user/95ab1606-20f1-414c-b5ce-2ddc591278a6/portfolio-interaction/ebbb65e0-2809-4a82-a0c5-8fd3da5b9abe/3B5CCDBFA9DD0529D7A7C391DAAD759F/92BB3608EFDF53A04403FD2086A50593/A1E85A75B30F65ACA374DB21320C451A
      at org.sakaiproject.metaobj.shared.mgt.impl.MetaobjHttpAccess.handleAccess(MetaobjHttpAccess.java:94)
      at org.sakaiproject.metaobj.shared.mgt.HttpAccessBase.handleAccess(HttpAccessBase.java:59)
      at org.theospi.portfolio.security.mgt.OspHttpAccessBase.handleAccess(OspHttpAccessBase.java:55)
      at org.theospi.portfolio.matrix.model.impl.MatrixHttpAccess.handleAccess(MatrixHttpAccess.java:71)
      at org.sakaiproject.access.tool.AccessServlet.dispatch(AccessServlet.java:338)
      at org.sakaiproject.access.tool.AccessServlet.doGet(AccessServlet.java:184)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
      at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:592)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:613)
      Caused by: org.sakaiproject.tool.api.ToolException: Request processing failed; nested exception is java.lang.RuntimeException: org.sakaiproject.exception.PermissionException user=2e3e17f0-db8b-47cc-90d9-79ac4139f62b lock=content.read resource=/content/user/95ab1606-20f1-414c-b5ce-2ddc591278a6/portfolio-interaction/ebbb65e0-2809-4a82-a0c5-8fd3da5b9abe/3B5CCDBFA9DD0529D7A7C391DAAD759F/92BB3608EFDF53A04403FD2086A50593/A1E85A75B30F65ACA374DB21320C451A
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.help(ActiveToolComponent.java:568)
      at org.sakaiproject.metaobj.shared.mgt.impl.MetaobjHttpAccess.handleAccess(MetaobjHttpAccess.java:91)
      ... 25 more

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    smkeesle Sean Keesler (Inactive)
                    Reporter:
                    smkeesle Sean Keesler (Inactive)
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    1 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration