4 Replies Latest reply on Jan 28, 2014 1:06 AM by hasnainraza3

    EL Exception, property not found exception at runtime

    laxman9

      Hi i m getting EL Exception, property not found excpetion, though i have method in my bean,

      dont understand why its failing to get property from the below method.

       

       

      public void listener(FileUploadEvent event) throws IOException {

              file = event.getUploadedFile();

          }

       

       

      Completre stack trace for the error.

       

      SEVERE: Error Rendering View[/examples/fileupload.xhtml]

      javax.el.ELException: /examples/fileupload.xhtml: Property 'listener' not found on type org.richfaces.demo.FileUploadBean

                at com.sun.faces.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:94)

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

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

                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:594)

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

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

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

                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:102)

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

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

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

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

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