[JBoss JIRA] Created: (RF-10789) java.lang.ArithmeticException: / by zero on rich:scrollableDataTable
by Rohit Kamboj (JIRA)
java.lang.ArithmeticException: / by zero on rich:scrollableDataTable
--------------------------------------------------------------------
Key: RF-10789
URL: https://issues.jboss.org/browse/RF-10789
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.3.1.SP2
Reporter: Rohit Kamboj
On executing a4j:commandLink under rich:scrollableDataTable, the following exception occurs:
14:36:56,787 WARNING [lifecycle] / by zero
java.lang.ArithmeticException: / by zero
at org.richfaces.renderkit.html.SelectionRendererContributor.decode(SelectionRendererContributor.java:159)
at org.richfaces.renderkit.CompositeRenderer$1.execute(CompositeRenderer.java:77)
at org.richfaces.renderkit.CompositeRenderer$Command.execute(CompositeRenderer.java:61)
at org.richfaces.renderkit.CompositeRenderer.doDecode(CompositeRenderer.java:149)
at org.ajax4jsf.renderkit.RendererBase.decode(RendererBase.java:75)
at org.richfaces.renderkit.html.ScrollableDataTableBaseRenderer.doDecode(ScrollableDataTableBaseRenderer.java:679)
at org.ajax4jsf.renderkit.RendererBase.decode(RendererBase.java:75)
at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:789)
at org.ajax4jsf.component.UIDataAdaptor.processDecodes(UIDataAdaptor.java:1141)
at org.ajax4jsf.component.UIDataAdaptor.processDecodes(UIDataAdaptor.java:1150)
at org.richfaces.component.UIScrollableDataTable.processDecodes(UIScrollableDataTable.java:169)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
at javax.faces.component.UIForm.processDecodes(UIForm.java:208)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months
[JBoss JIRA] Created: (RF-9390) Myfaces 2.0.2 causes test failures
by Jay Balunas (JIRA)
Myfaces 2.0.2 causes test failures
----------------------------------
Key: RF-9390
URL: https://jira.jboss.org/browse/RF-9390
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: build, third-party
Reporter: Jay Balunas
Priority: Critical
Fix For: 4.0.0.Milestone4
Results :
Failed tests:
testVisitCallback(org.richfaces.context.ExtendedPartialVisitContextTest)
Tests in error:
testStaticLibrary(org.richfaces.resource.ResourceLibraryTest)
testDynamicLibrary(org.richfaces.resource.ResourceLibraryTest)
testSubtreeIdsForWildcardIds(org.richfaces.context.ExtendedPartialVisitContextTest)
testSubtreeIdsForWildcardIdsWithLimitRender(org.richfaces.context.ExtendedPartialVisitContextTest)
testSubtreeIdsForWildcardIds2WithLimitRender(org.richfaces.context.ExtendedPartialVisitContextTest)
Tests run: 147, Failures: 1, Errors: 5, Skipped: 1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months
[JBoss JIRA] Created: (RF-10784) AjaxViewRoot swallows NoSuchElementException from by the application code
by Vladimir Kravchenko (JIRA)
AjaxViewRoot swallows NoSuchElementException from by the application code
-------------------------------------------------------------------------
Key: RF-10784
URL: https://issues.jboss.org/browse/RF-10784
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.3.2.SR1
Reporter: Vladimir Kravchenko
AjaxViewRoot.processEvents() swallows NoSuchElemntException thrown by an apllication code, due to too wide catch block:
{code}
public void processEvents(FacesContext context,
EventsQueue phaseEventsQueue, boolean havePhaseEvents) {
FacesEvent event;
while (havePhaseEvents) {
try {
event = (FacesEvent) phaseEventsQueue.remove();
UIComponent source = event.getComponent();
try {
source.broadcast(event);
} catch (AbortProcessingException e) {
if (_log.isErrorEnabled()) {
UIComponent component = event.getComponent();
String id = null != component ? component
.getClientId(context) : "";
_log.error(
"Error processing faces event for the component "
+ id, e);
}
}
} catch (NoSuchElementException e) {
havePhaseEvents = false;
}
}
}
{code}
http://anonsvn.jboss.org/repos/richfaces/tags/3.3.3.Final/framework/impl/...
A NoSuchElemtException thrown inside "source.broadcast(event);" will be swallowed by the catch block.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months