myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Osella" <sose...@austin.rr.com>
Subject Re: ajax4jsf and myfaces
Date Sat, 07 Oct 2006 12:20:36 GMT
Gerald,

Thanks for responding.  I removed the DISPATCHER elements in the web.xml . 
The AJAX4JSF filter is the first filter in the web.xml.

I am using the following code:

<h:inputText id="customerEmailAddress" 
value="#{SessionBean.customerEmailAddress}" >
    <a4j:support event="onkeyup" 
actionListener="#{SessionBean.customerEmailAddressListener}" 
reRender="cellPhoneNumber" />
</h:inputText>

and:

<h:outputLabel for="cellPhoneNumber" 
value="#{bundle.customer_cell_phone_number}"/>
<h:inputText id="cellPhoneNumber" tabindex="5" 
alt="#{bundle.customer_cell_phone_number}"/>



This is the exception that is being raised:

07:07:26,725 - ERROR org.apache.myfaces.lifecycle.PhaseListenerManager - 
Exception in PhaseListener RENDER_RESPONSE(6) afterPhase
java.lang.NullPointerException: null values not allowed
 at 
org.apache.commons.collections.map.AbstractReferenceMap.put(AbstractReferenceMap.java:251)
 at 
org.apache.myfaces.application.jsp.JspStateManagerImpl$SerializedViewCollection.add(JspStateManagerImpl.java:717)
 at 
org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedViewInServletSession(JspStateManagerImpl.java:493)
 at 
org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:332)
 at 
org.ajax4jsf.framework.renderer.AjaxRendererUtils.saveViewState(AjaxRendererUtils.java:816)
 at 
org.ajax4jsf.framework.renderer.AjaxRendererUtils.encodeAreas(AjaxRendererUtils.java:799)
 at 
org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:128)
 at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.encodeAjax(AjaxViewRoot.java:570)
 at 
org.ajax4jsf.framework.ajax.AjaxContext.renderAjaxRegion(AjaxContext.java:256)
 at 
org.ajax4jsf.framework.renderer.AjaxRenderPhaseListener.afterPhase(AjaxRenderPhaseListener.java:84)



Mime
View raw message