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

Icesoft | yangzhit | 7 years ago
  1. 0

    Menu Bar problem

    Icesoft | 7 years ago | yangzhit
    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
  2. 0

    BPM Workspace CSS error 'rowCssStyle' from bean of type fuego.workspace

    Oracle Community | 6 years ago | 780819
    javax.faces.el.EvaluationException: /jsf/view/viewPanelTemplate.xhtml @84,83 cssStyle="#{instance.rowCssStyle}": Error getting property 'rowCssStyle' from bean of type fuego.workspace.model.view.ViewTableInstanceBean: java.lang.NullPointerException
  3. 0

    Problems with IceFaces and Seam

    Icesoft | 10 years ago | tony.herstell
    javax.faces.el.EvaluationException: /file:/C:/Program%20Files/jboss-4.0.5.GA/server/default/./deploy/risingstars.ear/risingstars.war/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/debug.xhtml @103,89 rendered="#{org.jboss.seam.debug.introspector.attributes!=null}": Exception getting value of property attributes of base of type : org.jboss.seam.debug.Introspector$$EnhancerByCGLIB$$d90f5c82
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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

    ICEsoft JIRA Issue Tracker | 10 years ago | Mark Collette
    javax.faces.el.EvaluationException: null Expression: #{FileBean.name} FacesContext: null
  6. 0

    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

    ICEsoft JIRA Issue Tracker | 10 years ago | Mark Collette
    javax.faces.el.EvaluationException: null Expression: #{FileBean.name} FacesContext: null

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Facelets
      LegacyValueBinding.getValue
      1. com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
      1 frame
    3. JavaEE 7
      UIComponentBase.isRendered
      1. javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:335)
      1 frame
    4. com.icesoft.faces
      GroupRenderer.encodeChildren
      1. com.icesoft.faces.component.menubar.MenuBar.isRendered(MenuBar.java:324)
      2. com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:95)
      2 frames
    5. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721)
      1 frame
    6. com.icesoft.faces
      D2DViewHandler.renderView
      1. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:517)
      2. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
      3. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
      4. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
      5. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
      6. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
      7. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
      8. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
      9. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
      10. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
      11. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
      12. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
      13. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
      14. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
      15. com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:282)
      16. com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153)
      16 frames
    7. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
      2. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
      3 frames
    8. com.icesoft.faces
      MainServlet.service
      1. com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17)
      2. com.icesoft.faces.context.View$2$1.respond(View.java:47)
      3. com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:197)
      4. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
      5. com.icesoft.faces.context.View$2.serve(View.java:72)
      6. com.icesoft.faces.context.View.servePage(View.java:133)
      7. com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:55)
      8. com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:11)
      9. com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:114)
      10. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
      11. com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
      12. com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:42)
      13. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
      14. com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
      15. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:62)
      16. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
      17. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:153)
      17 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      1 frame
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      2 frames
    11. sg.gov.mda
      SessionFilter.doFilter
      1. sg.gov.mda.soa.common.tops.SessionFilter.doFilter(SessionFilter.java:73)
      1 frame
    12. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      9 frames
    13. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      4 frames
    14. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      1 frame
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:799)
      1 frame