[richfaces-issues] [JBoss JIRA] Created: (RF-1481) listShuttle: http 500 error on submit in case if target list is initially empty

Tsikhon Kuprevich (JIRA) jira-events at lists.jboss.org
Mon Dec 3 10:02:52 EST 2007


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

        



More information about the richfaces-issues mailing list