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

Stack Overflow in Lessons LessonsAccess.java

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 10.0
    • Fix Version/s: 10.2, 11.0
    • Component/s: Lessons
    • Labels:
      None
    • 10 status:
      Resolved
    • Previous Issue Keys:
      LSNBLDR-421

      Description

      Fatal internal error handling request:
      java.lang.StackOverflowError
      at java.util.HashMap.addEntry(HashMap.java:884)
      at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:427)
      at java.util.HashMap.put(HashMap.java:505)
      at org.hibernate.util.IdentityMap.put(IdentityMap.java:170)
      at org.hibernate.engine.StatefulPersistenceContext.addEntry(StatefulPersistenceContext.java:504)
      at org.hibernate.engine.StatefulPersistenceContext.addEntity(StatefulPersistenceContext.java:458)
      at org.hibernate.engine.TwoPhaseLoad.addUninitializedCachedEntity(TwoPhaseLoad.java:312)
      at org.hibernate.event.def.DefaultLoadEventListener.assembleCacheEntry(DefaultLoadEventListener.java:640)
      at org.hibernate.event.def.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:605)
      at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:459)
      at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:227)
      at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285)
      at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152)
      at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090)
      at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1038)
      at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:630)
      at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:236)
      at org.hibernate.cache.StandardQueryCache.get(StandardQueryCache.java:153)
      at org.hibernate.loader.Loader.getResultFromQueryCache(Loader.java:2366)
      at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2309)
      at org.hibernate.loader.Loader.list(Loader.java:2268)
      at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)
      at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1716)
      at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
      at org.springframework.orm.hibernate3.HibernateTemplate$36.doInHibernate(HibernateTemplate.java:1056)
      at org.springframework.orm.hibernate3.HibernateTemplate$36.doInHibernate(HibernateTemplate.java:1046)
      at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:406)
      at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
      at org.springframework.orm.hibernate3.HibernateTemplate.findByCriteria(HibernateTemplate.java:1046)
      at org.springframework.orm.hibernate3.HibernateTemplate.findByCriteria(HibernateTemplate.java:1039)
      at org.sakaiproject.lessonbuildertool.model.SimplePageToolDaoImpl.getPage(SimplePageToolDaoImpl.java:816)
      at sun.reflect.GeneratedMethodAccessor1072.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
      at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at com.sun.proxy.$Proxy59.getPage(Unknown Source)
      at org.sakaiproject.lessonbuildertool.service.LessonsAccess.getPagePaths(LessonsAccess.java:164)
      at org.sakaiproject.lessonbuildertool.service.LessonsAccess.getPagePaths(LessonsAccess.java:210)
      at org.sakaiproject.lessonbuildertool.service.LessonsAccess.getPagePaths(LessonsAccess.java:210)
      at org.sakaiproject.lessonbuildertool.service.LessonsAccess.getPagePaths(LessonsAccess.java:210)
      at org.sakaiproject.lessonbuildertool.service.LessonsAccess.getPagePaths(LessonsAccess.java:210)
      at org.sakaiproject.lessonbuildertool.service.LessonsAccess.getPagePaths(LessonsAccess.java:210)
      at org.sakaiproject.lessonbuildertool.service.LessonsAccess.getPagePaths(LessonsAccess.java:210)

      (The previous line repeated about 200 times)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                hedrick Charles Hedrick
                Reporter:
                baholladay Bryan Holladay
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code