2 Replies Latest reply on Apr 6, 2012 12:12 PM by Drew McLaughlin

    Problem with a4j:ajax and f:setPropertyActionListener in RF4

    Drew McLaughlin Newbie

      Hi,

       

      I'm curretnly upgrading to RF4 from 3.3 and I'm having a problem with a f:setPropertyActionListener which is located within and a4j:ajax. I'm using the f:setPropertyActionListener to set a property on the bean which is then used by the method called by the listener attached to the click event of the a4j:ajax behaviour.

       

      This used to work in RF3.3 and no longer works - I believe this may be something to do with the fact that the a4j:ajax tag is no longer a component but is in stead a behaviour (although I must confess that my knowledge of RF and JSF is overly extensive and so I perhpas do not understand the full implications of this).

       

      To specify the problem exactly, in the code below, the f:setPropertyActionListener will set the property on the bean, but the listener on the a4j:ajax behaviour never calls the method on the bean. If I remove the f:setPropertyActionListener then the method called by the listener on the bean does fire but as the property is not set the method does not work correctly.

       

                   <h:column id="tableListRowImage">
                       <h:graphicImage id="imageOfTableListRow"
                          url="/images/radioselected.gif"
                          rendered="#{waterSprinklerSetupBean.sessionData.selectedWaterSupplyId eq waterSupply.id}">
                       </h:graphicImage> 
      
                       <h:commandLink rendered="#{waterSupply.typeCode != 55010 and waterSprinklerSetupBean.sessionData.selectedWaterSupplyId != waterSupply.id}"
                                      styleClass="fakeRadioButton" >
                          <a4j:ajax event="click"  
                                    listener="#{waterSprinklerSetupBean.selectWaterSupplyRow}" 
                                    limitRender="true"
                                    render="waterSuppliesTablePanel, createOrEditButton, upperMenuForm, waterSuppliesTable, detailsPanel1, detailsPanel2, createOrEditButton, gradingPanels, selectBoosterAtPanel"
                                    onbegin="document.body.style.cursor = 'wait'"
                                    oncomplete="document.body.style.cursor = 'default'">
      
                               <f:setPropertyActionListener target="#{waterSprinklerSetupBean.sessionData.selectedWaterSupplyId}" 
                                                            value="#{waterSupply.id}" />
                          </a4j:ajax>
      
                          <h:graphicImage id="imageOfTableListRow2"
                                          url="/images/radionotselected.gif">
                          </h:graphicImage>
                       </h:commandLink> 
      
                       <h:graphicImage id="imageOfTableListRow3" 
                                       url="/images/radiodisabled.gif" 
                                       rendered="#{waterSupply.typeCode == 55010}">
                       </h:graphicImage> 
                   </h:column>
      

       

      I would be very greatful if anyone can propse another method of doing this.

       

      Many thanks!

       

      ~Drew

        • 1. Re: Problem with a4j:ajax and f:setPropertyActionListener in RF4
          Nikolai Alexeev Newbie

          Did you try to use a4j:commandLink? With a4j:commandLink you code could look like this:

           

          <a4j:commandLink rendered="#{waterSupply.typeCode != 55010 and waterSprinklerSetupBean.sessionData.selectedWaterSupplyId != waterSupply.id}"
                  styleClass="fakeRadioButton"
                  action="#{waterSprinklerSetupBean.selectWaterSupplyRow}" 
                      limitRender="true"
                      render="waterSuppliesTablePanel, createOrEditButton, upperMenuForm, waterSuppliesTable, detailsPanel1, detailsPanel2, createOrEditButton, gradingPanels, selectBoosterAtPanel"
                      onbegin="document.body.style.cursor = 'wait'"
                      oncomplete="document.body.style.cursor = 'default'">
              <f:setPropertyActionListener target="#{waterSprinklerSetupBean.sessionData.selectedWaterSupplyId}" 
                          value="#{waterSupply.id}" />
          
              <h:graphicImage id="imageOfTableListRow2"
                  url="/images/radionotselected.gif">
              </h:graphicImage>
          </a4j:commandLink>
          
          • 2. Re: Problem with a4j:ajax and f:setPropertyActionListener in RF4
            Drew McLaughlin Newbie

            Hi Nikolai,

             

            Thanks for your reply! I have tried this approach but the problem here is that the selectWaterSupplyRow method is designed to take and AjaxBehaviourEvent. This means that I get the error:

             

            Property 'selectWaterSupplyRow' not found on type com.lmig.lit.lpew.jsf.beans.WaterSprinklerSetupBean

             

            In this case the method on my bean looks like this:

             

                public void selectWaterSupplyRow(AjaxBehaviorEvent aEvent)

                        throws AbortProcessingException

                {

                    // Set the selected water supply object

                    getUserSessionBean().setCurrentWaterSupply(

                            (WaterSupply) mWaterSupplyTable.getRowData());

             

             

                    // Plug the water supply into the current water supply sprinkler

                    // system setup

                    getCurrentWaterSupplySprinklerSystemSetup().setWaterSupply(

                            (WaterSupply) mWaterSupplyTable.getRowData());

                    getNavigationBean().setAsChanged(aEvent);

                }

             

            The only way I could overcome the "property not found" error was to adapt the getSelectWaterSupplyRow method to have no parameters and return a String, as below:

             

                public String getSelectWaterSupplyRow() throws AbortProcessingException

                {

                    // Set the selected water supply object

                    getUserSessionBean().setCurrentWaterSupply(

                            (WaterSupply) mWaterSupplyTable.getRowData());

             

             

                    // Plug the water supply into the current water supply sprinkler

                    // system setup

                    getCurrentWaterSupplySprinklerSystemSetup().setWaterSupply(

                            (WaterSupply) mWaterSupplyTable.getRowData());

                    getNavigationBean().setAsChanged(new ActionEvent(null));

                   

                    return "SUCCESS";

                   

                }

             

            But this results in the following error:

             

            SEVERE: Error Rendering View[/waterSprinklerSetup.jspx]

            javax.el.ELException: Error reading 'selectWaterSupplyRow' on type com.lmig.lit.lpew.jsf.beans.WaterSprinklerSetupBean

                      at javax.el.BeanELResolver.getValue(BeanELResolver.java:91)

                      at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)

                      at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)

                      at org.apache.el.parser.AstValue.getValue(AstValue.java:169)

                      at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189)

                      at com.sun.faces.facelets.el.ELText$ELTextVariable.toString(ELText.java:214)

                      at com.sun.faces.facelets.el.ELText$ELTextComposite.toString(ELText.java:155)

                      at com.sun.faces.facelets.compiler.CommentInstruction.write(CommentInstruction.java:77)

                      at com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:82)

                      at com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:183)

                      at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:276)

                      at org.richfaces.renderkit.AbstractTableBaseRenderer.encodeColumn(AbstractTableBaseRenderer.java:82)

                      at org.richfaces.renderkit.DataTableRenderer.encodeRow(DataTableRenderer.java:259)

                      at org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:80)

                      at org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:65)

                      at org.richfaces.component.UIDataAdaptor.walk(UIDataAdaptor.java:803)

                      at org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:90)

                      at org.richfaces.renderkit.AbstractRowsRenderer.processRows(AbstractRowsRenderer.java:103)

                      at org.richfaces.renderkit.AbstractTableRenderer.encodeTableRows(AbstractTableRenderer.java:141)

                      at org.richfaces.renderkit.AbstractTableRenderer.doEncodeChildren(AbstractTableRenderer.java:195)

                      at org.richfaces.renderkit.RendererBase.encodeChildren(RendererBase.java:157)

                      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)

                      at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:276)

                      at org.richfaces.renderkit.html.PanelRenderer.encodeEnd(PanelRenderer.java:181)

                      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1763)

                      at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:276)

                      at org.richfaces.renderkit.html.PanelRenderer.encodeEnd(PanelRenderer.java:181)

                      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1763)

                      at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)

                      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)

                      at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:401)

                      at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)

                      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)

                      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)

                      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)

                      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

                      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:410)

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                      at com.lmig.lit.lpew.filter.EWFilter.doFilter(EWFilter.java:127)

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                      at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:112)

                      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)

                      at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)

                      at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)

                      at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)

                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)

                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)

                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)

                      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:851)

                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)

                      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:278)

                      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)

                      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)

                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

                      at java.lang.Thread.run(Thread.java:662)

            Caused by: java.lang.IllegalArgumentException: null source

                      at java.util.EventObject.<init>(EventObject.java:38)

                      at javax.faces.event.FacesEvent.<init>(FacesEvent.java:72)

                      at javax.faces.event.ActionEvent.<init>(ActionEvent.java:69)

                      at com.lmig.lit.lpew.jsf.beans.WaterSprinklerSetupBean.getSelectWaterSupplyRow(WaterSprinklerSetupBean.java:266)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                      at java.lang.reflect.Method.invoke(Method.java:597)

                      at javax.el.BeanELResolver.getValue(BeanELResolver.java:87)

                      ... 83 more

            06-Apr-2012 17:11:10 org.apache.catalina.core.StandardWrapperValve invoke

            SEVERE: Servlet.service() for servlet [Faces Servlet] in context with path [/LPEW_V2] threw exception [null source] with root cause

            java.lang.IllegalArgumentException: null source

                      at java.util.EventObject.<init>(EventObject.java:38)

                      at javax.faces.event.FacesEvent.<init>(FacesEvent.java:72)

                      at javax.faces.event.ActionEvent.<init>(ActionEvent.java:69)

                      at com.lmig.lit.lpew.jsf.beans.WaterSprinklerSetupBean.getSelectWaterSupplyRow(WaterSprinklerSetupBean.java:266)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                      at java.lang.reflect.Method.invoke(Method.java:597)

                      at javax.el.BeanELResolver.getValue(BeanELResolver.java:87)

                      at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)

                      at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)

                      at org.apache.el.parser.AstValue.getValue(AstValue.java:169)

                      at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189)

                      at com.sun.faces.facelets.el.ELText$ELTextVariable.toString(ELText.java:214)

                      at com.sun.faces.facelets.el.ELText$ELTextComposite.toString(ELText.java:155)

                      at com.sun.faces.facelets.compiler.CommentInstruction.write(CommentInstruction.java:77)

                      at com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:82)

                      at com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:183)

                      at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:276)

                      at org.richfaces.renderkit.AbstractTableBaseRenderer.encodeColumn(AbstractTableBaseRenderer.java:82)

                      at org.richfaces.renderkit.DataTableRenderer.encodeRow(DataTableRenderer.java:259)

                      at org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:80)

                      at org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:65)

                      at org.richfaces.component.UIDataAdaptor.walk(UIDataAdaptor.java:803)

                      at org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:90)

                      at org.richfaces.renderkit.AbstractRowsRenderer.processRows(AbstractRowsRenderer.java:103)

                      at org.richfaces.renderkit.AbstractTableRenderer.encodeTableRows(AbstractTableRenderer.java:141)

                      at org.richfaces.renderkit.AbstractTableRenderer.doEncodeChildren(AbstractTableRenderer.java:195)

                      at org.richfaces.renderkit.RendererBase.encodeChildren(RendererBase.java:157)

                      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)

                      at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:276)

                      at org.richfaces.renderkit.html.PanelRenderer.encodeEnd(PanelRenderer.java:181)

                      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1763)

                      at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:276)

                      at org.richfaces.renderkit.html.PanelRenderer.encodeEnd(PanelRenderer.java:181)

                      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1763)

                      at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)

                      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)

                      at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:401)

                      at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)

                      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)

                      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)

                      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)

                      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

                      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:410)

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                      at com.lmig.lit.lpew.filter.EWFilter.doFilter(EWFilter.java:127)

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                      at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:112)

                      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)

                      at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)

                      at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)

                      at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)

                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)

                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)

                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)

                      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:851)

                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)

                      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:278)

                      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)

                      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)

                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

                      at java.lang.Thre[http-bio-8080-exec-5] ERROR [h:LP545/10.140.37.160, u:N9994037 ,r:8971 ,b:MSIE 9.0 ,s:7073D6AC7E16C4036C2EA5AE19609C26] Error Page: null source  (lpew.error)

            java.lang.IllegalArgumentException: null source

                      at java.util.EventObject.<init>(EventObject.java:38)

                      at javax.faces.event.FacesEvent.<init>(FacesEvent.java:72)

                      at javax.faces.event.ActionEvent.<init>(ActionEvent.java:69)

                      at com.lmig.lit.lpew.jsf.beans.WaterSprinklerSetupBean.getSelectWaterSupplyRow(WaterSprinklerSetupBean.java:266)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                      at java.lang.reflect.Method.invoke(Method.java:597)

                      at javax.el.BeanELResolver.getValue(BeanELResolver.java:87)

                      at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)

                      at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)

                      at org.apache.el.parser.AstValue.getValue(AstValue.java:169)

                      at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189)

                      at com.sun.faces.facelets.el.ELText$ELTextVariable.toString(ELText.java:214)

                      at com.sun.faces.facelets.el.ELText$ELTextComposite.toString(ELText.java:155)

                      at com.sun.faces.facelets.compiler.CommentInstruction.write(CommentInstruction.java:77)

                      at com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:82)

                      at com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:183)

                      at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:276)

                      at org.richfaces.renderkit.AbstractTableBaseRenderer.encodeColumn(AbstractTableBaseRenderer.java:82)

                      at org.richfaces.renderkit.DataTableRenderer.encodeRow(DataTableRenderer.java:259)

                      at org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:80)

                      at org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:65)

                      at org.richfaces.component.UIDataAdaptor.walk(UIDataAdaptor.java:803)

                      at org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:90)

                      at org.richfaces.renderkit.AbstractRowsRenderer.processRows(AbstractRowsRenderer.java:103)

                      at org.richfaces.renderkit.AbstractTableRenderer.encodeTableRows(AbstractTableRenderer.java:141)

                      at org.richfaces.renderkit.AbstractTableRenderer.doEncodeChildren(AbstractTableRenderer.java:195)

                      at org.richfaces.renderkit.RendererBase.encodeChildren(RendererBase.java:157)

                      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)

                      at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:276)

                      at org.richfaces.renderkit.html.PanelRenderer.encodeEnd(PanelRenderer.java:181)

                      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1763)

                      at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:276)

                      at org.richfaces.renderkit.html.PanelRenderer.encodeEnd(PanelRenderer.java:181)

                      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1763)

                      at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)

                      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)

                      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)

                      at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:401)

                      at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)

                      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)

                      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)

                      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)

                      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

                      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:410)

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                      at com.lmig.lit.lpew.filter.EWFilter.doFilter(EWFilter.java:127)

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                      at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:112)

                      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)

                      at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)

                      at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)

                      at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

                      at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)

                      at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)

                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)

                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)

                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)

                      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:851)

                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)

                      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:278)

                      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)

                      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)

                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

                      at java.lang.Thread.run(Thread.java:662)

            ad.run(Thread.java:662)

             

            I think this means the setPropertyActionListener is no longer working? Can anyone shed any more light on the problem?

             

            Many thanks again!


            ~Drew