myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans Sowa" <hanss...@gmail.com>
Subject Tree 2 - ArithmeticException: / by zero
Date Wed, 22 Mar 2006 14:43:29 GMT
Hi

I use the tree2 and sometime if I click on a element of the tree I got this
Exception. Had somebody a similar problem and could solve it?

thanks in advance.


2006-03-22 15:35:21 ApplicationDispatcher[/eMORIS] Servlet.service() for
servlet jsp threw exception
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_0
(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)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(
ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(
ApplicationDispatcher.java:474)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(
ApplicationDispatcher.java:409)
    at org.apache.catalina.core.ApplicationDispatcher.forward(
ApplicationDispatcher.java:312)
    at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(
ServletExternalContextImpl.java:416)
    at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(
JspViewHandlerImpl.java:234)
    at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java
:373)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:157)
    at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(
ExtensionsFilter.java:123)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(
StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java
:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:595)

2006-03-22 15:35:21 StandardWrapperValve[Faces Servlet]: Servlet.service()
for servlet Faces Servlet threw exception
javax.faces.FacesException: / by zero
    at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(
ServletExternalContextImpl.java:422)
    at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(
JspViewHandlerImpl.java:234)
    at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java
:373)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:157)
    at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(
ExtensionsFilter.java:123)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(
StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java
:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.jasper.JasperException: / by zero
    at org.apache.jasper.servlet.JspServletWrapper.service(
JspServletWrapper.java:372)
    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)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(
ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(
ApplicationDispatcher.java:474)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(
ApplicationDispatcher.java:409)
    at org.apache.catalina.core.ApplicationDispatcher.forward(
ApplicationDispatcher.java:312)
    at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(
ServletExternalContextImpl.java:416)
    ... 30 more

--
mfg Hans Sowa
mailto:hanssowa@gmail.com

Mime
View raw message