java.lang.ClassCastException: com.sun.portal.portletcontainer.portlet.impl.PortletContextImpl cannot be cast to org.apache.pluto.core.impl.PortletContextImpl

Oracle Community | 807567 | 7 years ago
  1. 0

    struts portlet error

    Oracle Community | 7 years ago | 807567
    java.lang.ClassCastException: com.sun.portal.portletcontainer.portlet.impl.PortletContextImpl cannot be cast to org.apache.pluto.core.impl.PortletContextImpl
  2. 0

    Memcached Java客户端2.6.1发布 - 编程语言 - ITeye资讯

    iteye.com | 1 year ago
    java.lang.ClassCastException: cannot be cast to
  3. 0

    cannot be cast to javax.servlet.Filter | Oracle Community

    oracle.com | 8 months ago
    java.lang.ClassCastException: cannot be cast to javax.servlet.Filter
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to authenticate Azure Mobile Services in Android Service

    Stack Overflow | 2 years ago | Neil
    java.lang.ClassCastException: *** cannot be cast to android.app.Activity
  6. 0

    adam2vcf

    Google Groups | 8 months ago | someya sayeh
    java.lang.ClassCastException: org.bdgenomics.formats.avro.Fragment cannot be cast to

    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

      com.sun.portal.portletcontainer.portlet.impl.PortletContextImpl cannot be cast to org.apache.pluto.core.impl.PortletContextImpl

      at com.test.PortalServletContextProvider.getServletContext()
    2. com.test
      PortalServletContextProvider.getServletContext
      1. com.test.PortalServletContextProvider.getServletContext(PortalServletContextProvider.java:24)
      1 frame
    3. org.apache.portals
      StrutsPortlet.doView
      1. org.apache.portals.bridges.struts.StrutsPortlet.getServletContext(StrutsPortlet.java:202)
      2. org.apache.portals.bridges.struts.StrutsPortlet.processRequest(StrutsPortlet.java:286)
      3. org.apache.portals.bridges.struts.StrutsPortlet.doView(StrutsPortlet.java:274)
      3 frames
    4. Java Portlet Specification V2.0
      GenericPortlet.render
      1. javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
      2. javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
      2 frames
    5. com.sun.portal
      PortletAppEngineServlet.service
      1. com.sun.portal.portletcontainer.appengine.PortletAppEngineServlet.service(PortletAppEngineServlet.java:393)
      1 frame
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      1 frame
    7. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
      2. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
      3. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      3 frames
    8. com.sun.portal
      PortletAppEngineFilter.doFilter
      1. com.sun.portal.portletcontainer.appengine.PortletAppEngineFilter.doFilter(PortletAppEngineFilter.java:105)
      1 frame
    9. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      3. org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:873)
      4. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
      5. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:679)
      6. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:594)
      6 frames
    10. com.sun.portal
      DesktopServlet.doGet
      1. com.sun.portal.portletcontainer.impl.PortletContainer.invokePAE(PortletContainer.java:818)
      2. com.sun.portal.portletcontainer.impl.PortletContainer.invokePAE(PortletContainer.java:695)
      3. com.sun.portal.portletcontainer.impl.PortletContainer.getMarkup(PortletContainer.java:209)
      4. com.sun.portal.portletcontainer.invoker.WindowInvoker.getPortletContent(WindowInvoker.java:375)
      5. com.sun.portal.portletcontainer.invoker.WindowInvoker.render(WindowInvoker.java:249)
      6. com.sun.portal.portletcontainer.driver.PortletContent.getContent(PortletContent.java:70)
      7. com.sun.portal.portletcontainer.driver.DesktopServlet.getPortletContents(DesktopServlet.java:296)
      8. com.sun.portal.portletcontainer.driver.DesktopServlet.getAllPortletContents(DesktopServlet.java:242)
      9. com.sun.portal.portletcontainer.driver.DesktopServlet.doGetPost(DesktopServlet.java:121)
      10. com.sun.portal.portletcontainer.driver.DesktopServlet.doGet(DesktopServlet.java:90)
      10 frames
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      2 frames
    12. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
      3. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
      5. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      6. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      6 frames
    13. Glassfish
      PESessionLockingStandardPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
      2 frames
    14. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
      2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
      5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
      6. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      8. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
      10. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
      10 frames
    15. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
      1 frame
    16. Glassfish Core
      DefaultReadTask.doTask
      1. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
      2. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
      3. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
      4. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
      5. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
      6. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
      6 frames
    17. Grizzly HTTP
      PortUnificationPipeline$PUTask.doTask
      1. com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
      1 frame
    18. Glassfish Core
      TaskBase.run
      1. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
      1 frame
    19. Grizzly HTTP
      SSLWorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
      1 frame