1 Reply Latest reply on Oct 16, 2008 10:06 PM by jbalunas

    AjaxRenderUtils.buildAjaxFunction NullPointerExcepton

      I am using Netbeans 6.1 and ajax4jsf1.1.1 and i am getting

      NullPointerExcepton:

      Caused by: java.lang.NullPointerException
      at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:368)
      at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:347)
      at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildOnEvent(AjaxRendererUtils.java:156)
      at org.ajax4jsf.ajax.UIAjaxSupport.getEventString(UIAjaxSupport.java:115)
      at org.ajax4jsf.framework.ajax.EventValueBinding.getValue(EventValueBinding.java:92)
      at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:73)


      Jsp Code:

      <h:selectOneMenu id="makeid" value="#{common$modelSelectionPage.selectedMake}" >
      <f:selectItem itemLabel="-Select Make-" itemValue=""></f:selectItem>
      <f:selectItems value="#{common$modelSelectionPage.makeList}"></f:selectItems>

      <a:support event="onchange" reRender="modelid,yearid" id="renderMake"
      action="#{common$modelSelectionPage.onChangeMake}" />
      </h:selectOneMenu>

      Could any one please help me out to solve this issue?