[JBoss JIRA] Created: (RF-7971) "IllegalArgumentException: In AbstractTreeDataModel rowIndex must be -1" error in AbstractTreeDataModel.setRowIndex() when attempting to expand or collapse a tree node under JSF2
by Ian Springer (JIRA)
"IllegalArgumentException: In AbstractTreeDataModel rowIndex must be -1" error in AbstractTreeDataModel.setRowIndex() when attempting to expand or collapse a tree node under JSF2
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: RF-7971
URL: https://jira.jboss.org/jira/browse/RF-7971
Project: RichFaces
Issue Type: Bug
Components: component-tree
Affects Versions: 3.3.2.GA
Environment: AS 5.2 snapshot build (included JSF2 RI)
Reporter: Ian Springer
Priority: Critical
When I try to expand or collapse a tree node in the As admin console, I get the below exception. The exception is somehow caused by the fact that JSF2 is being used.
14:53:45,127 WARN [ExceptionFilter] handling uncaught exception
javax.servlet.ServletException: In AbstractTreeDataModel rowIndex must be -1.
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:323)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.jboss.on.embedded.LazyStartupFilter.doFilter(LazyStartupFilter.java:87)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:93)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.jav
a:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java
:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: In AbstractTreeDataModel rowIndex must be -1.
at org.richfaces.model.AbstractTreeDataModel.setRowIndex(AbstractTreeDataModel.java:52)
at org.ajax4jsf.component.UIDataAdaptor.setRowIndex(UIDataAdaptor.java:289)
at javax.faces.component.UIData.visitColumnsAndRows(UIData.java:1539)
at javax.faces.component.UIData.visitTree(UIData.java:1207)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1454)
at javax.faces.component.UIForm.visitTree(UIForm.java:333)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1454)
at javax.faces.component.UIViewRoot.processRestoreState(UIViewRoot.java:868)
at org.ajax4jsf.application.AjaxStateManager.restoreView(AjaxStateManager.java:439)
at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:131)
at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:143)
at org.jboss.seam.jsf.SeamViewHandler.restoreView(SeamViewHandler.java:93)
at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:316)
at org.ajax4jsf.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:107)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:199)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:310)
... 41 more
14:53:45,127 WARN [ExceptionFilter] exception root cause
java.lang.IllegalArgumentException: In AbstractTreeDataModel rowIndex must be -1.
at org.richfaces.model.AbstractTreeDataModel.setRowIndex(AbstractTreeDataModel.java:52)
at org.ajax4jsf.component.UIDataAdaptor.setRowIndex(UIDataAdaptor.java:289)
at javax.faces.component.UIData.visitColumnsAndRows(UIData.java:1539)
at javax.faces.component.UIData.visitTree(UIData.java:1207)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1454)
at javax.faces.component.UIForm.visitTree(UIForm.java:333)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1454)
at javax.faces.component.UIViewRoot.processRestoreState(UIViewRoot.java:868)
at org.ajax4jsf.application.AjaxStateManager.restoreView(AjaxStateManager.java:439)
at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:131)
at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:143)
at org.jboss.seam.jsf.SeamViewHandler.restoreView(SeamViewHandler.java:93)
at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:316)
at org.ajax4jsf.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:107)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:199)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:310)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.jboss.on.embedded.LazyStartupFilter.doFilter(LazyStartupFilter.java:87)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:93)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.jav
a:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java
:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
14:53:45,127 WARN [ExceptionFilter] running exception handlers
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Created: (RF-7918) rich:extendedDataTable ajax sort issue when used in with rich:tabPanel
by Akash Singla (JIRA)
rich:extendedDataTable ajax sort issue when used in with rich:tabPanel
----------------------------------------------------------------------
Key: RF-7918
URL: https://jira.jboss.org/jira/browse/RF-7918
Project: RichFaces
Issue Type: Bug
Components: component-ScrollableDataTable, component-tables
Affects Versions: 3.3.2.CR1, 3.3.1
Environment: JSF 1.2_12, JDK 1.6, richFaces 3.3.1 /3.3.2 CR1, facelets 1.1.14
Reporter: Akash Singla
Hi,
I'm using a rich:tabPanel layout for my pages.
Each page contains a rich:extendedDataTable.
Now, I switch between the tabs of the tabpanel and reach a page at random.
This page contains rich:extendedDataTable.
When I try to sort or group the table columns, the table data is lost and a white screen with an ajax-loader is rendered inside the table .
This is the ajax-loader path:
Code:
http://localhost:8080/faces/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/im...
I have tried submit mode as ajax and server for the tabPanel and the problem is occuring for both.
Also, if I come to any of the pages of the tab-Panel through the menu-item in the toolbar of the application, the ajax sorting works fine.
But it breaks when moving within the tabs of the tab-panel.
Please Help.
Akash
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Created: (RF-5591) User is unable to clean the existing date in <rich:calendar> if <a4j:support> is used to re-render the input
by Igor Dikhtyaruk (JIRA)
User is unable to clean the existing date in <rich:calendar> if <a4j:support> is used to re-render the input
------------------------------------------------------------------------------------------------------------
Key: RF-5591
URL: https://jira.jboss.org/jira/browse/RF-5591
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Reporter: Igor Dikhtyaruk
example:
xhtml:
<rich:calendar id="selectedDate" datePattern="dd MMM yyyy"
value="#{myBean.selectedDate}" enableManualInput="true"
popup="true">
<a4j:support ajaxSingle="true" event="oninputchange"
reRender="selectedDate" bypassUpdates="true" />
<a4j:support ajaxSingle="true" event="onchanged"
reRender="selectedDate" bypassUpdates="true" />
</rich:calendar>
java bean:
package au.gov.austrac;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import org.jboss.seam.annotations.Name;
@Name("myBean")
public class MyBean {
private Date selectedDate = new Date();
public Date getSelectedDate() {
return selectedDate;
}
public void setSelectedDate(Date selectedDate) {
this.selectedDate = selectedDate;
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Created: (RF-7269) RichFaces Javascript error while page is loading for the first time
by Amarendra Nandigam (JIRA)
RichFaces Javascript error while page is loading for the first time
-------------------------------------------------------------------
Key: RF-7269
URL: https://jira.jboss.org/jira/browse/RF-7269
Project: RichFaces
Issue Type: Bug
Components: performance
Affects Versions: 3.3.1, 3.3.0
Environment: tomcat server 6.0.18, spring webflow 2.0.6, facelets 1.1.14, myfaces 1.2.2
Reporter: Amarendra Nandigam
The problem seems to be happening when the browser downloads js files for the listShuttle. During that time the script method is called before even script gets loaded. Here are the details that we found:
can now reliably reproduce the javascript errors. Here are my steps:
1) Clear browser cache. Go to Tools > Internet Options > General Tab >
Temporary Internet Files section. Click the Delete Files button, check the box
for "Delete all offline content", click OK, click the Delete Files button
again, leave the box unchecked this time, click OK again, click OK on the
Internet Options window.
2) Login as JOGLETRE
3) Go to Order RFIs
4) Select RFI Type = Architectural Plan Addition/Revision
5) You may get the errors. If not, logout, close your browser window, and
repeat steps 1-4. It seems to happen most of the time.
I used the Microsoft Script Debugger to identify the sources of the errors.
http://blogs.msdn.com/ie/archive/2004/10/26/247912.aspx
Error 1: "'undefined' is null or not an object" is caused by
3_3_0.GAorg.ajax4jsf.javascript.PrototypeScript, line 9, characters 117 to 140:
value=source[property];
Error 2: "'RichFaces.ListShuttle.Target.SelectItem' is null or not an object"
is caused by this block of code (entire block is highlighted by the Script
Debugger):
new Richfaces.ListShuttle(
new Richfaces.ListShuttle.Target(
'submitForm:options',
'submitForm:optionstlInternal_tab',
'submitForm:optionstlInternal_header_tab',
'submitForm:optionstlFocusKeeper',
[['up', 'disup'], ['down', 'disdown'],
['last', 'dislast'], ['first','disfirst']],
'submitForm:optionssortLabel',
{onorderchanged:null,
onorderchange:null,
ontopclick:null,
onbottomclick:null,
onupclick:null,
ondownclick:null},
Richfaces.ListShuttle.Target.SelectItem,
null,
null
),
new Richfaces.ListShuttle.Source(
'submitForm:options',
'submitForm:optionsinternal_tab',
'submitForm:optionsinternal_header_tab',
'submitForm:optionsfocusKeeper',
undefined,
Richfaces.ListShuttle.Source.SelectItem,
null,
null),
"submitForm:options",
[['copy', 'discopy'], ['copyAll', 'discopyAll'],
['remove', 'disremove'], ['removeAll','disremoveAll']],
"false",
{onlistchanged:null,
onlistchange:null,
oncopyallclick:null,
oncopyclick:null,
onremoveallclick:null,
onremoveclick:null,
onfocus:null,
onblur:null
}
);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Created: (RF-7203) contextMenu: onselect doesn't cancel the action if false is returned
by Daniel Wiell (JIRA)
contextMenu: onselect doesn't cancel the action if false is returned
--------------------------------------------------------------------
Key: RF-7203
URL: https://jira.jboss.org/jira/browse/RF-7203
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.1
Environment: RichFaces 3.3.1.GA, Seam 2.1.2.CR2
Reporter: Daniel Wiell
<h:outputLink id="link" value="#">
Click me!
<rich:componentControl event="onclick" for="contextMenu" operation="show"/>
</h:outputLink>
<rich:contextMenu id="contextMenu" attached="true" submitMode="ajax">
<rich:menuItem
onselect="if(!confirm('After canceling this, an oncomplete popup shouldnt be shown')) return false;"
oncomplete="alert('oncomplete');">
Select this
</rich:menuItem>
</rich:contextMenu>.
The above snipped works as expected in 3.3.0.GA and cancels the action when the onselect returns false, but 3.3.1.GA ignores the return value and proceeds no matter what.
This is a showstopper for us when it comes to upgrading, as we use a similar approach as above to confirm removal of entries.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years