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.

  • ice:inputFile component and its upload button
    via by Unknown author,
  • Re:ice:inputFile component and its upload button
    via by Tenanijebo,
    • javax.faces.el.EvaluationException: /views/test.xhtml @20,62 value="#{controllerBean.personId}": org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'controllerBean': Scope 'request' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request? If you are actually operating within a web request and still receive this message,your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request. at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60) at javax.faces.component.UIOutput.getValue(UIOutput.java:167) at com.icesoft.faces.renderkit.dom_html_basic.DomBasicInputRenderer.getValue(DomBasicInputRenderer.java:60) at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.getValue(DomBasicRenderer.java:153) at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeEnd(DomBasicRenderer.java:125) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:740) at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:352) at com.icesoft.faces.renderkit.dom_html_basic.GridRenderer.encodeChildren(GridRenderer.java:196) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:561) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565) at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:317) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153) at de.mindmatters.faces.lifecycle.RenderResponsePhase.executePhase(RenderResponsePhase.java:45) at de.mindmatters.faces.lifecycle.AbstractPhase.execute(AbstractPhase.java:37) at de.mindmatters.faces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:166) at de.mindmatters.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:226) at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:146) at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState$RenderRunner.run(PersistentFacesState.java:299) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668) at java.lang.Thread.run(Thread.java:797) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'controllerBean': Scope 'request' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request? If you are actually operating within a web request and still receive this message,your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:304) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) at de.mindmatters.faces.spring.factory.DelegatingVariableResolver.resolveVariable(DelegatingVariableResolver.java:101) at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) at com.sun.el.parser.AstValue.getValue(AstValue.java:85) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:183) at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) ... 33 more Caused by: java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request? If you are actually operating within a web request and still receive this message,your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request. at org.springframework.web.context.request.RequestContextHolder.currentRequestAttributes(RequestContextHolder.java:102) at org.springframework.web.context.request.AbstractRequestAttributesScope.get(AbstractRequestAttributesScope.java:40) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:285) ... 41 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Victor_ITVictor_IT
    1 times, last one,
    18 more bugmates