javax.faces.el.EvaluationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Menu Bar problem
    via by yangzhit,
  • Problems with IceFaces and Seam
    via by tony.herstell,
  • In autoBeansFacelets, I use the ice:inputFile component, but it shows up as a 500 error, because it's throwing an exception. In this case, trying to resolve #{FileBean.name} for the label attribute fails, because there is no FacesContext available to the Facelets EL class LegacyValueBinding. <ice:inputFile id="inputFileComponent" label="#{FileBean.name}" file="#{FileBean.file}" progressListener="#{ProgressBean.progress}"/> javax.faces.el.EvaluationException: null Expression: #{FileBean.name} FacesContext: null at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:61) at com.icesoft.faces.component.inputfile.InputFile.getLabel(InputFile.java:251) at com.icesoft.faces.component.inputfile.InputFile.getHtml(InputFile.java:852) at com.icesoft.faces.component.inputfile.FileUploadServlet.sendOutput(FileUploadServlet.java:214) at com.icesoft.faces.component.inputfile.FileUploadServlet.doGet(FileUploadServlet.java:81) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NullPointerException at com.sun.facelets.el.ELAdaptor.getELContext(ELAdaptor.java:47) at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:55) ... 24 more
    via by Mark Collette,
  • In autoBeansFacelets, I use the ice:inputFile component, but it shows up as a 500 error, because it's throwing an exception. In this case, trying to resolve #{FileBean.name} for the label attribute fails, because there is no FacesContext available to the Facelets EL class LegacyValueBinding. <ice:inputFile id="inputFileComponent" label="#{FileBean.name}" file="#{FileBean.file}" progressListener="#{ProgressBean.progress}"/> javax.faces.el.EvaluationException: null Expression: #{FileBean.name} FacesContext: null at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:61) at com.icesoft.faces.component.inputfile.InputFile.getLabel(InputFile.java:251) at com.icesoft.faces.component.inputfile.InputFile.getHtml(InputFile.java:852) at com.icesoft.faces.component.inputfile.FileUploadServlet.sendOutput(FileUploadServlet.java:214) at com.icesoft.faces.component.inputfile.FileUploadServlet.doGet(FileUploadServlet.java:81) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NullPointerException at com.sun.facelets.el.ELAdaptor.getELContext(ELAdaptor.java:47) at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:55) ... 24 more
    via by Mark Collette,
    • javax.faces.el.EvaluationException: /inc/tops-header.jspx @28,66 rendered="#{menuBar.rendered}": Error getting property 'rendered' from bean of type sg.gov.mda.soa.common.tops.MenuBarBean: java.lang.NullPointerException at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60) at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:335) at com.icesoft.faces.component.menubar.MenuBar.isRendered(MenuBar.java:324) at com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:95) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:517) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522) at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:282) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17) at com.icesoft.faces.context.View$2$1.respond(View.java:47) at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:197) at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36) at com.icesoft.faces.context.View$2.serve(View.java:72) at com.icesoft.faces.context.View.servePage(View.java:133) at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:55) at com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:11) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:114) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:42) at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19) at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:62) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:153) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at sg.gov.mda.soa.common.tops.SessionFilter.doFilter(SessionFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:799)
    No Bugmate found.