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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via grokbase.com by Unknown author, 1 year ago
( 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
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 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 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 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.