java.lang.ClassCastException: com.liferay.portlet.PortletContextImpl cannot be cast to javax.servlet.ServletContext

Icesoft | rafaljaw | 9 years ago
  1. 0

    icefaces charts and liferay

    Icesoft | 9 years ago | rafaljaw
    java.lang.ClassCastException: com.liferay.portlet.PortletContextImpl cannot be cast to javax.servlet.ServletContext
  2. 0

    outputChart error message

    Icesoft | 7 years ago | bugme
    java.lang.ClassCastException: java.lang.Double cannot be cast to [D
  3. 0
    When you have no build parameters, uncheck 'This build is parameterized'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

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

    ClassCastException in HandleFactory.getPkgFragmentRoot (355)

    Eclipse Bugzilla | 1 year ago | error-reports-inbox
    java.lang.ClassCastException: cannot be cast to org.eclipse.wst.jsdt.internal.core.PackageFragmentRoot

    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.liferay.portlet.PortletContextImpl cannot be cast to javax.servlet.ServletContext

      at com.icesoft.faces.component.outputchart.OutputChart.getPath()
    2. com.icesoft.faces
      OutputChartRenderer.encodeBegin
      1. com.icesoft.faces.component.outputchart.OutputChart.getPath(OutputChart.java:440)
      2. com.icesoft.faces.component.outputchart.OutputChart.getFolder(OutputChart.java:526)
      3. com.icesoft.faces.component.outputchart.OutputChartRenderer.encodeBegin(OutputChartRenderer.java:79)
      3 frames
    3. JavaEE 7
      UIComponentBase.encodeBegin
      1. javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:785)
      1 frame
    4. com.icesoft.faces
      GroupRenderer.encodeChildren
      1. com.icesoft.faces.component.outputchart.OutputChart.encodeBegin(OutputChart.java:382)
      2. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:340)
      3. com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:92)
      3 frames
    5. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
      1 frame
    6. com.icesoft.faces
      GroupRenderer.encodeChildren
      1. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:342)
      2. com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:92)
      2 frames
    7. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
      1 frame
    8. com.icesoft.faces
      PanelTabSetRenderer.encodeEnd
      1. com.icesoft.faces.component.util.CustomComponentUtils.renderChild(CustomComponentUtils.java:339)
      2. com.icesoft.faces.component.paneltabset.PanelTabSetRenderer.writeTabCell(PanelTabSetRenderer.java:909)
      3. com.icesoft.faces.component.paneltabset.PanelTabSetRenderer.encodeEnd(PanelTabSetRenderer.java:410)
      3 frames
    9. JavaEE 7
      UIComponentBase.encodeEnd
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833)
      1 frame
    10. com.icesoft.faces
      D2DViewHandler.renderView
      1. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:570)
      2. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565)
      3. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565)
      4. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
      5. com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153)
      5 frames
    11. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
      2. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      3 frames
    12. com.icesoft.faces
      MainServlet.service
      1. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCyclePartial(ReceiveSendUpdates.java:69)
      2. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:43)
      3. com.icesoft.faces.webapp.http.core.IDVerifier.service(IDVerifier.java:25)
      4. com.icesoft.faces.webapp.http.core.ViewBoundServer.service(ViewBoundServer.java:52)
      5. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)
      6. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)
      7. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
      8. com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29)
      9. com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:109)
      10. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35)
      11. com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
      12. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
      13. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:98)
      13 frames
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      1 frame
    14. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:343)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
      6 frames
    15. com.icesoft.faces
      BlockingServlet.service
      1. com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:54)
      1 frame
    16. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
      8 frames
    17. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    18. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame