Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-597

Concurrency issue in DatabasePageManger cache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.1-dev
    • 2.1
    • PSML
    • None
    • java 1.5, oracle 9

    Description

      The following exception tells me there is a concurrency issue with this ArrayList. Shouldn't access be synchonized, or a synchronized List?

      Caused by: java.lang.ArrayIndexOutOfBoundsException: 10
      at java.util.ArrayList.clear(ArrayList.java:455)
      at org.apache.jetspeed.om.folder.impl.FolderImpl.resetAll(FolderImpl.java:365)
      at org.apache.jetspeed.page.impl.DatabasePageManager.getAll(DatabasePageManager.java:920)
      at sun.reflect.GeneratedMethodAccessor418.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.apache.jetspeed.util.interceptors.PageManagerInterceptor.invoke(PageManagerInterceptor.java:46)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
      at $Proxy4.getAll(Unknown Source)
      at org.apache.jetspeed.om.folder.impl.FolderImpl.getAll(FolderImpl.java:827)
      at org.apache.jetspeed.om.folder.proxy.FolderProxy.aggregateChildren(FolderProxy.java:763)
      at org.apache.jetspeed.om.folder.proxy.FolderProxy.getAll(FolderProxy.java:309)
      at org.apache.jetspeed.om.folder.proxy.FolderProxy.getPages(FolderProxy.java:450)
      at org.apache.jetspeed.om.folder.proxy.FolderProxy.getPage(FolderProxy.java:473)
      at org.apache.jetspeed.om.folder.proxy.FolderProxy.selectDefaultPageFromAggregateFolders(FolderProxy.java:715)
      at org.apache.jetspeed.om.folder.proxy.FolderProxy.getDefaultPage(FolderProxy.java:324)
      at org.apache.jetspeed.om.folder.proxy.FolderProxy.invoke(FolderProxy.java:203)
      at $Proxy78.getDefaultPage(Unknown Source)
      at org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl.selectRequestPage(PortalSiteSessionContextImpl.java:465)
      at org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl.selectRequestPage(PortalSiteSessionContextImpl.java:221)
      at org.apache.jetspeed.portalsite.impl.PortalSiteRequestContextImpl.getPage(PortalSiteRequestContextImpl.java:212)
      at org.apache.jetspeed.portalsite.impl.PortalSiteRequestContextImpl.getManagedPage(PortalSiteRequestContextImpl.java:195)
      at org.apache.jetspeed.profiler.impl.ProfilerValveImpl.invoke(ProfilerValveImpl.java:248)
      ... 43 more

      Attachments

        Activity

          People

            Unassigned Unassigned
            ethanadams Ethan Adams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: