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

Date Manager doesn't work with Shared Lessons Page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 20.1, 21.0 [Tentative]
    • Fix Version/s: 20.1, 21.0 [Tentative]
    • Component/s: Lessons, Site Info
    • Labels:
      None
    • 20 status:
      Resolved
    • Test Plan:
      Hide
      1. Add Lesson tool
      2. Go to Lesson tool
      3. Click Add Content
      4. Click Add Subpage
      5. Click Choose Existing Page (Does not create a new copy of the page)
      6. Select Lessons
      7. Click Use selected item
      8. Click Site Info
      9. Click Date Manager

      Date Manager should appears

      Show
      Add Lesson tool Go to Lesson tool Click Add Content Click Add Subpage Click Choose Existing Page (Does not create a new copy of the page) Select Lessons Click Use selected item Click Site Info Click Date Manager Date Manager should appears

      Description

      Stackoverflow error. See testing plan

       

      06-Jul-2020 06:09:55.169 WARN [http-nio-20113-exec-22] org.sakaiproject.portal.charon.handlers.SiteHandler.bufferContent Failed to buffer content.
      org.sakaiproject.tool.api.ToolException: org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.StackOverflowError
      	at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.help(ActiveToolComponent.java:591)
      	at org.sakaiproject.cheftool.ToolServlet.sendToHelper(ToolServlet.java:675)
      	at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:219)
      	at org.sakaiproject.cheftool.VelocityPortletPaneledAction.doGet(VelocityPortletPaneledAction.java:1193)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
      	at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      	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:712)
      	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
      	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:352)
      	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
      	at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:508)
      	at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1500)
      	at org.sakaiproject.portal.charon.handlers.SiteHandler.doToolBuffer(SiteHandler.java:1254)
      	at org.sakaiproject.portal.charon.handlers.SiteHandler.bufferContent(SiteHandler.java:1088)
      	at org.sakaiproject.portal.charon.handlers.SiteHandler.doSite(SiteHandler.java:499)
      	at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:275)
      	at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:163)
      	at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:857)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      	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: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:200)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
      	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:679)
      	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:408)
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:836)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747)
      	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: org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.StackOverflowError
      	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:982)
      	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
      	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
      	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
      	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
      	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
      	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:352)
      	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
      	at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.help(ActiveToolComponent.java:578)
      	... 50 more
      Caused by: java.lang.StackOverflowError
      	at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.readPayload(AbstractDataPageIO.java:501)
      	at org.apache.ignite.internal.processors.cache.persistence.CacheDataRowAdapter.readIncomplete(CacheDataRowAdapter.java:325)
      	at org.apache.ignite.internal.processors.cache.persistence.CacheDataRowAdapter.doInitFromLink(CacheDataRowAdapter.java:261)
      	at org.apache.ignite.internal.processors.cache.persistence.CacheDataRowAdapter.initFromLink(CacheDataRowAdapter.java:160)
      	at org.apache.ignite.internal.processors.cache.persistence.CacheDataRowAdapter.initFromLink(CacheDataRowAdapter.java:131)
      	at org.apache.ignite.internal.processors.cache.tree.DataRow.<init>(DataRow.java:55)
      	at org.apache.ignite.internal.processors.cache.tree.CacheDataRowStore.dataRow(CacheDataRowStore.java:130)
      	at org.apache.ignite.internal.processors.cache.tree.CacheDataTree.getRow(CacheDataTree.java:419)
      	at org.apache.ignite.internal.processors.cache.tree.CacheDataTree.getRow(CacheDataTree.java:63)
      	at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$GetOne.found(BPlusTree.java:2954)
      	at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Search.run0(BPlusTree.java:305)
      	at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$GetPageHandler.run(BPlusTree.java:5711)
      	at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Search.run(BPlusTree.java:278)
      	at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$GetPageHandler.run(BPlusTree.java:5697)
      	at org.apache.ignite.internal.processors.cache.persistence.tree.util.PageHandler.readPage(PageHandler.java:169)
      	at org.apache.ignite.internal.processors.cache.persistence.DataStructure.read(DataStructure.java:364)
      	at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.read(BPlusTree.java:5898)
      	at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.findDown(BPlusTree.java:1365)
      	at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.doFind(BPlusTree.java:1332)
      	at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.findOne(BPlusTree.java:1300)
      	at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.findOne(BPlusTree.java:1285)
      	at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.find(IgniteCacheOffheapManagerImpl.java:2749)
      	at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.read(IgniteCacheOffheapManagerImpl.java:637)
      	at org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedSingleGetFuture.localGet(GridPartitionedSingleGetFuture.java:450)
      	at org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedSingleGetFuture.tryLocalGet(GridPartitionedSingleGetFuture.java:412)
      	at org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedSingleGetFuture.mapKeyToNode(GridPartitionedSingleGetFuture.java:377)
      	at org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedSingleGetFuture.map(GridPartitionedSingleGetFuture.java:252)
      	at org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedSingleGetFuture.init(GridPartitionedSingleGetFuture.java:241)
      	at org.apache.ignite.internal.processors.cache.distributed.dht.colocated.GridDhtColocatedCache.getAsync(GridDhtColocatedCache.java:297)
      	at org.apache.ignite.internal.processors.cache.GridCacheAdapter.get(GridCacheAdapter.java:4860)
      	at org.apache.ignite.internal.processors.cache.GridCacheAdapter.repairableGet(GridCacheAdapter.java:4826)
      	at org.apache.ignite.internal.processors.cache.GridCacheAdapter.get(GridCacheAdapter.java:1484)
      	at org.apache.ignite.internal.processors.cache.GridCacheProxyImpl.get(GridCacheProxyImpl.java:400)
      	at org.apache.ignite.cache.hibernate.HibernateCacheProxy.get(HibernateCacheProxy.java:147)
      	at org.apache.ignite.cache.hibernate.HibernateAccessStrategyAdapter.get(HibernateAccessStrategyAdapter.java:128)
      	at org.apache.ignite.cache.hibernate.HibernateAbstractRegionAccessStrategy.get(HibernateAbstractRegionAccessStrategy.java:40)
      	at org.hibernate.engine.internal.CacheHelper.fromSharedCache(CacheHelper.java:55)
      	at org.hibernate.engine.internal.CacheHelper.fromSharedCache(CacheHelper.java:67)
      	at org.hibernate.event.internal.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:598)
      	at org.hibernate.event.internal.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:452)
      	at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:213)
      	at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:275)
      	at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:151)
      	at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1106)
      	at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:1025)
      	at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:716)
      	at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:282)
      	at org.hibernate.cache.internal.StandardQueryCache.get(StandardQueryCache.java:204)
      	at org.sakaiproject.hibernate.IgniteStandardQueryCache.get(IgniteStandardQueryCache.java:43)
      	at org.hibernate.loader.Loader.getResultFromQueryCache(Loader.java:2481)
      	at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2389)
      	at org.hibernate.loader.Loader.list(Loader.java:2362)
      	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.springframework.orm.hibernate4.HibernateTemplate$35.doInHibernate(HibernateTemplate.java:1017)
      	at org.springframework.orm.hibernate4.HibernateTemplate$35.doInHibernate(HibernateTemplate.java:1006)
      	at org.springframework.orm.hibernate4.HibernateTemplate.doExecute(HibernateTemplate.java:341)
      	at org.springframework.orm.hibernate4.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:309)
      	at org.springframework.orm.hibernate4.HibernateTemplate.findByCriteria(HibernateTemplate.java:1006)
      	at org.springframework.orm.hibernate4.HibernateTemplate.findByCriteria(HibernateTemplate.java:998)
      	at org.sakaiproject.lessonbuildertool.model.SimplePageToolDaoImpl.findItemsOnPage(SimplePageToolDaoImpl.java:199)
      	at sun.reflect.GeneratedMethodAccessor2091.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.$Proxy132.findItemsOnPage(Unknown Source)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1278)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296)
      	at org.sakaiproject.datemanager.impl.DateManagerServiceImpl.addAllSubpages(DateManagerServiceImpl.java:1296) 

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                jjmerono@um.es Juan José Meroño Sánchez
                Reporter:
                jesusmmp Jesus Maria Mendez
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration