java.lang.ClassCastException: java.lang.Double cannot be cast to [D

Icesoft | bugme | 7 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

    outputChart error message

    Icesoft | 7 years ago | bugme
    java.lang.ClassCastException: java.lang.Double cannot be cast to [D
  2. 0

    icefaces charts and liferay

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

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Double cannot be cast to [D

      at com.icesoft.faces.component.outputchart.AbstractChart.getAs2dDoubleArray()
    2. com.icesoft.faces
      OutputChartRenderer.encodeBegin
      1. com.icesoft.faces.component.outputchart.AbstractChart.getAs2dDoubleArray(AbstractChart.java:155)
      2. com.icesoft.faces.component.outputchart.AxisChart.getData(AxisChart.java:311)
      3. com.icesoft.faces.component.outputchart.AxisChart.buildChart(AxisChart.java:67)
      4. com.icesoft.faces.component.outputchart.AbstractChart.encode(AbstractChart.java:73)
      5. com.icesoft.faces.component.outputchart.OutputChartRenderer.encodeBegin(OutputChartRenderer.java:65)
      5 frames
    3. JavaEE 7
      UIComponentBase.encodeBegin
      1. javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:813)
      1 frame
    4. com.icesoft.faces
      GroupRenderer.encodeChildren
      1. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:356)
      2. com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:96)
      2 frames
    5. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
      1 frame
    6. com.icesoft.faces
      GroupRenderer.encodeChildren
      1. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      2. com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:96)
      2 frames
    7. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
      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:924)
      3. com.icesoft.faces.component.paneltabset.PanelTabSetRenderer.encodeEnd(PanelTabSetRenderer.java:421)
      3 frames
    9. JavaEE 7
      UIComponentBase.encodeEnd
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:861)
      1 frame
    10. com.icesoft.faces
      GroupRenderer.encodeChildren
      1. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:370)
      2. com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:96)
      2 frames
    11. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
      1 frame
    12. com.icesoft.faces
      GridRenderer.encodeChildren
      1. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      2. com.icesoft.faces.renderkit.dom_html_basic.GridRenderer.encodeChildren(GridRenderer.java:208)
      2 frames
    13. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
      1 frame
    14. com.icesoft.faces
      GroupRenderer.encodeChildren
      1. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
      2. com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:96)
      2 frames
    15. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
      1 frame