java.lang.ClassCastException: net.sf.ehcache.Element cannot be cast to org.apache.jetspeed.cache.impl.EhCacheDistributedElementImpl

portals-jetspeed-dev | Woonsan Ko (JIRA) | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [jira] [Created] (JS2-1284) ClassCastException in EhCacheDistributedElementImpl

    portals-jetspeed-dev | 4 years ago | Woonsan Ko (JIRA)
    java.lang.ClassCastException: net.sf.ehcache.Element cannot be cast to org.apache.jetspeed.cache.impl.EhCacheDistributedElementImpl
  2. 0

    [jira] [Commented] (JS2-1284) ClassCastException in EhCacheDistributedElementImpl

    portals-jetspeed-dev | 4 years ago | Woonsan Ko (JIRA)
    java.lang.ClassCastException: net.sf.ehcache.Element cannot be cast to org.apache.jetspeed.cache.impl.EhCacheDistributedElementImpl
  3. 0

    [jira] [Comment Edited] (JS2-1284) ClassCastException in EhCacheDistributedElementImpl

    portals-jetspeed-dev | 4 years ago | Woonsan Ko (JIRA)
    java.lang.ClassCastException: net.sf.ehcache.Element cannot be cast to org.apache.jetspeed.cache.impl.EhCacheDistributedElementImpl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [jira] [Resolved] (JS2-1284) ClassCastException in EhCacheDistributedElementImpl

    portals-jetspeed-dev | 4 years ago | Woonsan Ko (JIRA)
    java.lang.ClassCastException: net.sf.ehcache.Element cannot be cast to org.apache.jetspeed.cache.impl.EhCacheDistributedElementImpl
  6. 0

    [jira] [Assigned] (JS2-1284) ClassCastException in EhCacheDistributedElementImpl

    portals-jetspeed-dev | 4 years ago | Woonsan Ko (JIRA)
    java.lang.ClassCastException: net.sf.ehcache.Element cannot be cast to org.apache.jetspeed.cache.impl.EhCacheDistributedElementImpl

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      net.sf.ehcache.Element cannot be cast to org.apache.jetspeed.cache.impl.EhCacheDistributedElementImpl

      at org.apache.jetspeed.cache.impl.EhCacheDistributedImpl.notifyElement()
    2. org.apache.jetspeed
      EhCacheDistributedImpl.notifyElementPut
      1. org.apache.jetspeed.cache.impl.EhCacheDistributedImpl.notifyElement(EhCacheDistributedImpl.java:241)
      2. org.apache.jetspeed.cache.impl.EhCacheDistributedImpl.notifyElementPut(EhCacheDistributedImpl.java:275)
      2 frames
    3. Ehcache
      Cache.put
      1. net.sf.ehcache.event.RegisteredEventListeners.notifyElementPut(RegisteredEventListeners.java:95)
      2. net.sf.ehcache.Cache.put(Cache.java:866)
      3. net.sf.ehcache.Cache.put(Cache.java:796)
      3 frames
    4. org.apache.jetspeed
      PortletPreferencesServiceImpl.getDefaultPreferences
      1. org.apache.jetspeed.cache.impl.EhCacheDistributedImpl.put(EhCacheDistributedImpl.java:88)
      2. org.apache.jetspeed.components.portletpreferences.PortletPreferencesServiceImpl.retrieveDefaultPreferences(PortletPreferencesServiceImpl.java:682)
      3. org.apache.jetspeed.components.portletpreferences.PortletPreferencesServiceImpl.getDefaultPreferences(PortletPreferencesServiceImpl.java:135)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor122.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    7. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    8. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    9. com.sun.proxy
      $Proxy5.getDefaultPreferences
      1. com.sun.proxy.$Proxy5.getDefaultPreferences(Unknown Source)
      1 frame
    10. org.apache.pluto
      PortletRequestImpl.getPreferences
      1. org.apache.pluto.container.impl.PortletPreferencesImpl.<init>(PortletPreferencesImpl.java:103)
      2. org.apache.pluto.container.impl.PortletRequestImpl.getPreferences(PortletRequestImpl.java:459)
      2 frames
    11. com.onehippo.jetspeed
      FileContentPortlet.doView
      1. com.onehippo.jetspeed.portlets.FileContentPortlet.doView(FileContentPortlet.java:32)
      1 frame
    12. Java Portlet Specification V2.0
      GenericPortlet.render
      1. javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:348)
      2. javax.portlet.GenericPortlet.render(GenericPortlet.java:253)
      2 frames
    13. org.apache.jetspeed
      PortletObjectProxy.invoke
      1. org.apache.jetspeed.portlet.PortletObjectProxy.proxyRender(PortletObjectProxy.java:280)
      2. org.apache.jetspeed.portlet.PortletObjectProxy.invoke(PortletObjectProxy.java:172)
      2 frames
    14. com.sun.proxy
      $Proxy64.render
      1. com.sun.proxy.$Proxy64.render(Unknown Source)
      1 frame
    15. org.apache.jetspeed
      JetspeedContainerServlet.doGet
      1. org.apache.jetspeed.factory.JetspeedPortletInstance.render(JetspeedPortletInstance.java:117)
      2. org.apache.jetspeed.container.services.JetspeedFilterChain.doFilter(JetspeedFilterChain.java:142)
      3. org.apache.jetspeed.container.services.JetspeedFilterChain.processFilter(JetspeedFilterChain.java:92)
      4. org.apache.jetspeed.container.services.JetspeedFilterManager.processFilter(JetspeedFilterManager.java:112)
      5. org.apache.jetspeed.container.JetspeedContainerServlet.doGet(JetspeedContainerServlet.java:290)
      5 frames
    16. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      2 frames
    17. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
      5 frames
    18. org.apache.jetspeed
      JetspeedPortletInvokerService.render
      1. org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(ServletPortletInvoker.java:165)
      2. org.apache.jetspeed.container.invoker.JetspeedPortletInvokerService.render(JetspeedPortletInvokerService.java:127)
      2 frames
    19. org.apache.pluto
      PortletContainerImpl.doRender
      1. org.apache.pluto.container.impl.PortletContainerImpl.doRender(PortletContainerImpl.java:157)
      1 frame
    20. org.apache.jetspeed
      RenderingJobImpl$1.run
      1. org.apache.jetspeed.container.JetspeedPortletContainerWrapper.doRender(JetspeedPortletContainerWrapper.java:69)
      2. org.apache.jetspeed.aggregator.impl.RenderingJobImpl.executeInternal(RenderingJobImpl.java:245)
      3. org.apache.jetspeed.aggregator.impl.RenderingJobImpl.access$000(RenderingJobImpl.java:57)
      4. org.apache.jetspeed.aggregator.impl.RenderingJobImpl$1.run(RenderingJobImpl.java:206)
      4 frames
    21. Java RT
      Subject.doAsPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAsPrivileged(Subject.java:454)
      2 frames
    22. org.apache.jetspeed
      WorkerImpl.run
      1. org.apache.jetspeed.security.JSSubject.doAsPrivileged(JSSubject.java:187)
      2. org.apache.jetspeed.aggregator.impl.RenderingJobImpl.execute(RenderingJobImpl.java:200)
      3. org.apache.jetspeed.util.ServletRequestCleanupService.executeNestedRenderJob(ServletRequestCleanupService.java:79)
      4. org.apache.jetspeed.aggregator.impl.RenderingJobImpl.run(RenderingJobImpl.java:154)
      5. org.apache.jetspeed.aggregator.impl.WorkerImpl.run(WorkerImpl.java:173)
      5 frames