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.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Icesoft by Tenanijebo, 1 year ago
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
via icesoft.org by Unknown author, 2 years ago
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
via ICEsoft JIRA Issue Tracker by Jack Van Ooststroom, 1 year ago
/WEB-INF/includes/examples/panel/panelTabSet-static.jspx @147,86 selectedIndex="#{staticTabbedPaneExample.focusIndex}": Error getting property 'focusIndex' from bean of type org.icefaces.application.showcase.view.bean.examples.layoutPanel.panelTabset.StaticTabSetBean: java.lang.NumberFormatException: null
via ICEsoft JIRA Issue Tracker by Jack Van Ooststroom, 1 year ago
/WEB-INF/includes/examples/panel/panelTabSet-static.jspx @147,86 selectedIndex="#{staticTabbedPaneExample.focusIndex}": Error getting property 'focusIndex' from bean of type org.icefaces.application.showcase.view.bean.examples.layoutPanel.panelTabset.StaticTabSetBean: java.lang.NumberFormatException: null
via Oracle Community by 697801, 4 months ago
/jsf/view/instance/externalVariable.xhtml @5,130 value="#{instance.externalVariables[cellComponent.id]}": Error getting property 'externalVariables' from bean of type fuego.workspace.model.view.ViewTableInstanceBean: java.lang.IllegalArgumentException: Cannot form at given Object as a Number
via ICEsoft JIRA Issue Tracker by Pate Gurre, 1 year ago
/basicData/zone.jspx @66,28 value="#{basicDataController.zonesxagency}": Error getting property 'zonesxagency' from bean of type co.com.avon.mycompany.sac.basicData.controller.basicDataController: java.lang.NullPointerException
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 org.springframework.web.context.request.RequestContextHolder.currentRequestAttributes(RequestContextHolder.java:102)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:285)
at de.mindmatters.faces.spring.factory.DelegatingVariableResolver.resolveVariable(DelegatingVariableResolver.java:101)
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)
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 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 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 java.lang.Thread.run(Thread.java:797)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 6 months ago
20 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.