[JBoss JIRA] Created: (RF-1481) listShuttle: http 500 error on submit in case if target list is initially empty
by Tsikhon Kuprevich (JIRA)
listShuttle: http 500 error on submit in case if target list is initially empty
-------------------------------------------------------------------------------
Key: RF-1481
URL: http://jira.jboss.com/jira/browse/RF-1481
Project: RichFaces
Issue Type: Bug
Reporter: Tsikhon Kuprevich
Assigned To: Nick Belaevski
Priority: Critical
Attachments: fixes.xhtml
1. Load the page.
=> Target list does not display any items since it is empty.
2. Move some element from source to target.
3. Click Submit.
=> HTTP 500 error:
javax.servlet.ServletException
javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
root cause
java.lang.NullPointerException
org.richfaces.component.UIOrderingBaseComponent.createDataAdder(UIOrderingBaseComponent.java:727)
org.richfaces.component.UIListShuttle.validate(UIListShuttle.java:496)
org.richfaces.component.UIOrderingBaseComponent.executeValidate(UIOrderingBaseComponent.java:406)
org.richfaces.component.UIOrderingBaseComponent.processValidators(UIOrderingBaseComponent.java:445)
javax.faces.component.UIForm.processValidators(UIForm.java:229)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1039)
javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:693)
org.ajax4jsf.component.AjaxViewRoot.access$201(AjaxViewRoot.java:57)
org.ajax4jsf.component.AjaxViewRoot$3.invokeRoot(AjaxViewRoot.java:319)
org.ajax4jsf.context.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:56)
org.ajax4jsf.context.AjaxContextImpl.invokeOnRegionOrRoot(AjaxContextImpl.java:173)
org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:333)
com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:243)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:113)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (RF-1491) listShuttle: immediate submit fillowed by ajax submit causes an exception
by Tsikhon Kuprevich (JIRA)
listShuttle: immediate submit fillowed by ajax submit causes an exception
-------------------------------------------------------------------------
Key: RF-1491
URL: http://jira.jboss.com/jira/browse/RF-1491
Project: RichFaces
Issue Type: Bug
Environment: JSF 1.2
tomcat 6.0
Reporter: Tsikhon Kuprevich
Assigned To: Nick Belaevski
Priority: Critical
1. Click ajax submit.
2. Click immediate submit
=>
SEVERE: Error Rendering View[/pages/fixes.xhtml]
java.lang.IllegalArgumentException
at javax.faces.model.ListDataModel.getRowData(ListDataModel.java:139)
at org.ajax4jsf.model.SequenceDataModel.getRowData(SequenceDataModel.java:147)
at org.richfaces.model.ListShuttleDataModel.getRowData(ListShuttleDataModel.java:234)
at org.ajax4jsf.component.UIDataAdaptor.getRowData(UIDataAdaptor.java:242)
at org.richfaces.component.UIOrderingBaseComponent$2.process(UIOrderingBaseComponent.java:174)
at org.richfaces.model.ListShuttleDataModel.walkMap(ListShuttleDataModel.java:183)
at org.richfaces.model.ListShuttleDataModel.walkSource(ListShuttleDataModel.java:192)
at org.richfaces.model.ListShuttleDataModel.walk(ListShuttleDataModel.java:214)
at org.ajax4jsf.component.UIDataAdaptor.walk(UIDataAdaptor.java:994)
at org.richfaces.component.UIOrderingBaseComponent.saveState(UIOrderingBaseComponent.java:168)
at org.richfaces.component.UIListShuttle.saveState(UIListShuttle.java:163)
at org.richfaces.component.html.HtmlListShuttle.saveState(HtmlListShuttle.java:686)
at javax.faces.component.UIComponentBase.processSaveState(UIComponentBase.java:1084)
at javax.faces.component.UIComponentBase.processSaveState(UIComponentBase.java:1100)
at javax.faces.component.UIComponentBase.processSaveState(UIComponentBase.java:1100)
at org.ajax4jsf.application.AjaxStateManager.buildSerializedView(AjaxStateManager.java:331)
at org.ajax4jsf.application.AjaxStateManager.saveSerializedView(AjaxStateManager.java:314)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:601)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:243)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
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:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (RF-1347) Elements under modalPanel tremble if autosized=true
by Alexander Francuzov (JIRA)
Elements under modalPanel tremble if autosized=true
---------------------------------------------------
Key: RF-1347
URL: http://jira.jboss.com/jira/browse/RF-1347
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Environment: FF 2.0.0.9
JDK 1.5
Tomcat 5.5
JSF 1.1RI
Reporter: Alexander Francuzov
Assigned To: Nick Belaevski
Set attribute autosized to true and drag modal panel
<rich:modalPanel id="MPid" minHeight="#{modalPanel.minHeight}" minWidth="#{modalPanel.minWidth}" height="#{modalPanel.height}"
width="#{modalPanel.width}" moveable="#{modalPanel.moveable}" autosized="true" onhide="print('onhideInputID', 'onhide work!')"
onshow="print('onshowInputID', 'onshow work!')">
<f:facet name="header">
<h:outputText value="Heder goes here..." />
</f:facet>
<h:outputText value="This is Modal Panel example" styleClass="text1" />
<f:verbatim>
<br />
<br />
</f:verbatim>
<h:outputLink onclick="Richfaces.hideModalPanel('MPform:MPid');return false;" value="Close">
<f:verbatim>Close</f:verbatim>
</h:outputLink>
</rich:modalPanel>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months