java.lang.ArithmeticException: / by zero at org.apache.myfaces.custom.datascroller.HtmlDataScroller.getPageIndex( HtmlDataScroller.java:222) at org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.setVariables( HtmlDataScrollerRenderer.java:105) at org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.encodeBegin (HtmlDataScrollerRenderer.java:185) at javax.faces.component.UIComponentBase.encodeBegin( UIComponentBase.java :491) at org.apache.myfaces.renderkit.RendererUtils.renderChild( RendererUtils.java:435) at org.apache.myfaces.renderkit.RendererUtils.renderChildren( RendererUtils.java:421) at org.apache.myfaces.renderkit.RendererUtils.renderChild ( RendererUtils.java:442) at org.apache.myfaces.renderkit.RendererUtils.renderChildren( RendererUtils.java:421) at org.apache.myfaces.renderkit.html.HtmlGroupRendererBase.encodeEnd( HtmlGroupRendererBase.java:74) at javax.faces.component.UIComponentBase.encodeEnd( UIComponentBase.java:515) at org.apache.myfaces.renderkit.RendererUtils.renderChild( RendererUtils.java:444) at org.apache.myfaces.custom.panelstack.HtmlPanelStackRenderer.encodeEnd ( HtmlPanelStackRenderer.java:79) at javax.faces.component.UIComponentBase.encodeEnd( UIComponentBase.java:515) at org.apache.myfaces.renderkit.RendererUtils.renderChild( RendererUtils.java:444) at org.apache.myfaces.renderkit.RendererUtils.renderChildren ( RendererUtils.java:421) at org.apache.myfaces.renderkit.RendererUtils.renderChild( RendererUtils.java:442) at org.apache.myfaces.renderkit.RendererUtils.renderChildren( RendererUtils.java:421) at org.apache.myfaces.renderkit.html.HtmlGroupRendererBase.encodeEnd ( HtmlGroupRendererBase.java:74) at javax.faces.component.UIComponentBase.encodeEnd( UIComponentBase.java:515) at org.apache.myfaces.renderkit.RendererUtils.renderChild( RendererUtils.java:444) at org.apache.myfaces.custom.tabbedpane.HtmlTabbedPaneRenderer.writeTabsContents( HtmlTabbedPaneRenderer.java:543) at org.apache.myfaces.custom.tabbedpane.HtmlTabbedPaneRenderer.encodeEnd( HtmlTabbedPaneRenderer.java:235) at javax.faces.component.UIComponentBase.encodeEnd( UIComponentBase.java :515)

grokbase.com | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    [MyFaces-users] Tree 2 - ArithmeticException: / by zero - Grokbase

    grokbase.com | 6 months ago
    java.lang.ArithmeticException: / by zero at org.apache.myfaces.custom.datascroller.HtmlDataScroller.getPageIndex( HtmlDataScroller.java:222) at org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.setVariables( HtmlDataScrollerRenderer.java:105) at org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.encodeBegin (HtmlDataScrollerRenderer.java:185) at javax.faces.component.UIComponentBase.encodeBegin( UIComponentBase.java :491) at org.apache.myfaces.renderkit.RendererUtils.renderChild( RendererUtils.java:435) at org.apache.myfaces.renderkit.RendererUtils.renderChildren( RendererUtils.java:421) at org.apache.myfaces.renderkit.RendererUtils.renderChild ( RendererUtils.java:442) at org.apache.myfaces.renderkit.RendererUtils.renderChildren( RendererUtils.java:421) at org.apache.myfaces.renderkit.html.HtmlGroupRendererBase.encodeEnd( HtmlGroupRendererBase.java:74) at javax.faces.component.UIComponentBase.encodeEnd( UIComponentBase.java:515) at org.apache.myfaces.renderkit.RendererUtils.renderChild( RendererUtils.java:444) at org.apache.myfaces.custom.panelstack.HtmlPanelStackRenderer.encodeEnd ( HtmlPanelStackRenderer.java:79) at javax.faces.component.UIComponentBase.encodeEnd( UIComponentBase.java:515) at org.apache.myfaces.renderkit.RendererUtils.renderChild( RendererUtils.java:444) at org.apache.myfaces.renderkit.RendererUtils.renderChildren ( RendererUtils.java:421) at org.apache.myfaces.renderkit.RendererUtils.renderChild( RendererUtils.java:442) at org.apache.myfaces.renderkit.RendererUtils.renderChildren( RendererUtils.java:421) at org.apache.myfaces.renderkit.html.HtmlGroupRendererBase.encodeEnd ( HtmlGroupRendererBase.java:74) at javax.faces.component.UIComponentBase.encodeEnd( UIComponentBase.java:515) at org.apache.myfaces.renderkit.RendererUtils.renderChild( RendererUtils.java:444) at org.apache.myfaces.custom.tabbedpane.HtmlTabbedPaneRenderer.writeTabsContents( HtmlTabbedPaneRenderer.java:543) at org.apache.myfaces.custom.tabbedpane.HtmlTabbedPaneRenderer.encodeEnd( HtmlTabbedPaneRenderer.java:235) at javax.faces.component.UIComponentBase.encodeEnd( UIComponentBase.java :515)

    Root Cause Analysis

    1. java.lang.ArithmeticException

      / by zero at org.apache.myfaces.custom.datascroller.HtmlDataScroller.getPageIndex( HtmlDataScroller.java:222) at org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.setVariables( HtmlDataScrollerRenderer.java:105) at org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.encodeBegin (HtmlDataScrollerRenderer.java:185) at javax.faces.component.UIComponentBase.encodeBegin( UIComponentBase.java :491) at org.apache.myfaces.renderkit.RendererUtils.renderChild( RendererUtils.java:435) at org.apache.myfaces.renderkit.RendererUtils.renderChildren( RendererUtils.java:421) at org.apache.myfaces.renderkit.RendererUtils.renderChild ( RendererUtils.java:442) at org.apache.myfaces.renderkit.RendererUtils.renderChildren( RendererUtils.java:421) at org.apache.myfaces.renderkit.html.HtmlGroupRendererBase.encodeEnd( HtmlGroupRendererBase.java:74) at javax.faces.component.UIComponentBase.encodeEnd( UIComponentBase.java:515) at org.apache.myfaces.renderkit.RendererUtils.renderChild( RendererUtils.java:444) at org.apache.myfaces.custom.panelstack.HtmlPanelStackRenderer.encodeEnd ( HtmlPanelStackRenderer.java:79) at javax.faces.component.UIComponentBase.encodeEnd( UIComponentBase.java:515) at org.apache.myfaces.renderkit.RendererUtils.renderChild( RendererUtils.java:444) at org.apache.myfaces.renderkit.RendererUtils.renderChildren ( RendererUtils.java:421) at org.apache.myfaces.renderkit.RendererUtils.renderChild( RendererUtils.java:442) at org.apache.myfaces.renderkit.RendererUtils.renderChildren( RendererUtils.java:421) at org.apache.myfaces.renderkit.html.HtmlGroupRendererBase.encodeEnd ( HtmlGroupRendererBase.java:74) at javax.faces.component.UIComponentBase.encodeEnd( UIComponentBase.java:515) at org.apache.myfaces.renderkit.RendererUtils.renderChild( RendererUtils.java:444) at org.apache.myfaces.custom.tabbedpane.HtmlTabbedPaneRenderer.writeTabsContents( HtmlTabbedPaneRenderer.java:543) at org.apache.myfaces.custom.tabbedpane.HtmlTabbedPaneRenderer.encodeEnd( HtmlTabbedPaneRenderer.java:235) at javax.faces.component.UIComponentBase.encodeEnd( UIComponentBase.java :515)

      at javax.faces.webapp.UIComponentTag.encodeEnd()
    2. JavaEE 7
      UIComponentTag.doEndTag
      1. javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:475)
      2. javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:356)
      2 frames