myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udo Schnurpfeil (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TOBAGO-1218) ArithmeticException: divide by zero in ProgressRenderer.encodeEnd(ProgressRenderer.java:57)
Date Tue, 04 Dec 2012 10:20:58 GMT

    [ https://issues.apache.org/jira/browse/TOBAGO-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509643#comment-13509643
] 

Udo Schnurpfeil commented on TOBAGO-1218:
-----------------------------------------

This happens when the range model has min == max
                
> ArithmeticException: divide by zero in ProgressRenderer.encodeEnd(ProgressRenderer.java:57)
> -------------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-1218
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1218
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Themes
>    Affects Versions: 1.5.6
>         Environment: in production mode with websphere 6.1 
>            Reporter: Andreas Precht
>            Assignee: Udo Schnurpfeil
>
>  viewhandler   E   Error Rendering View[/faces/Import/DatenImport.xhtml]
>                                  java.lang.ArithmeticException: divide by zero
>  at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.ProgressRenderer.encodeEnd(ProgressRenderer.java:57)
>  at org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.encodeEnd(AbstractRendererBaseWrapper.java:101)
>  at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:657)
>  at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:101)
>  at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:77)
>  at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encodeChildren(RenderUtils.java:72)
>  at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildren(GridLayoutRenderer.java:53)
>  at org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.encodeChildren(AbstractRendererBaseWrapper.java:96)
>  at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:626)
>  at org.apache.myfaces.tobago.internal.component.AbstractUIPanel.encodeChildren(AbstractUIPanel.java:48)
>  at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:94)
>  at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:77)
>  at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encodeChildren(RenderUtils.java:72)
>  at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildren(GridLayoutRenderer.java:53)
>  at org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.encodeChildren(AbstractRendererBaseWrapper.java:96)
>  at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:626)
>  at org.apache.myfaces.tobago.internal.component.AbstractUIPanel.encodeChildren(AbstractUIPanel.java:48)
>  at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:524)
>  at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:533)
>  at javax.faces.render.Renderer.encodeChildren(Renderer.java:81)
>  at org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.encodeChildren(AbstractRendererBaseWrapper.java:96)
>  at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:626)
>  at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:94)
>  at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:77)
>  at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.PageRenderer.encodeEnd(PageRenderer.java:550)
>  at org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.encodeEnd(AbstractRendererBaseWrapper.java:101)
> xhtml snippet:
> 		<ui:define name="Buttonleiste">
> 			<tc:panel>
> 				<f:facet name="layout">
> 					<tc:gridLayout rows="auto" columns="*;auto;auto" />
> 				</f:facet>
> 				<tc:panel />
> 				<tc:button label="prüfen und speichern" action="${DatenimportViewForm.doPruefenUndSichern}"
image="${baseBundle.btn_sichern_pic }"
> 						disabled="${DatenimportViewForm.speichernKnopfDisabled }">
> 					<f:facet name="popup">
> 						<b:popup label="Verarbeitungs-Dialog" id="verarbeitungsPopup" height="120" width="350"
>
> 							<tc:panel id="verarbeitungsPanel">
> 								<f:facet name="layout">
> 									<tc:gridLayout rows="*;auto;auto;*;auto" columns="*" />
> 								</f:facet>
> 								<f:facet name="reload">
> 									<tc:reload frequency="1000" />
> 								</f:facet>
> 								<tc:attribute name="renderedPartially" value="verarbeitungsPanel" />
> 		
> 								<tc:panel />
> 		
> 								<tc:out value="${DatenimportViewForm.popupMeldung }" />
>                            		<tc:progress value="${DatenimportViewFormState.progress
}" />

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message