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)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Unknown by Unknown author,
  • Stack trace

    • 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(UIComponentTag.java:475) at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:356) at org.apache.myfaces.taglib.UIComponentBodyTagBase.doEndTag(UIComponentBodyTagBase.java:55) at org.apache.jsp.jsp.auswahl.auswahl_jsp._jspx_meth_t_panelTabbedPane_(auswahl_jsp.java:4337) at org.apache.jsp.jsp.auswahl.auswahl_jsp._jspService(auswahl_jsp.java:607) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.