[
http://jira.jboss.com/jira/browse/JBSEAM-1411?page=all ]
Jonas Erma closed JBSEAM-1411.
------------------------------
Resolution: Done
Nevermind, ant cleanall did magic!
Function 's:hasRole' not found
------------------------------
Key: JBSEAM-1411
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1411
Project: JBoss Seam
Issue Type: Bug
Components: Security
Affects Versions: 1.3.0.ALPHA
Environment: JBoss 4.2
Reporter: Jonas Erma
Fix For: 1.3.0.ALPHA
I just rebuilt seam CVS and started getting "Function 's:hasRole' not
found".
com.sun.facelets.tag.TagAttributeException: /includes/header_right.xml @47,53 re
ndered="#{s:hasRole('EDITOR')}" Function 's:hasRole' not found
at com.sun.facelets.tag.TagAttribute.getValueExpression(TagAttribute.jav
a:259)
at com.sun.facelets.tag.jsf.ComponentRule$ValueExpressionMetadata.applyM
etadata(ComponentRule.java:69)
at com.sun.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:36)
at com.sun.facelets.tag.MetaTagHandler.setAttributes(MetaTagHandler.java
:62)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java
:144)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
ndler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentH
andler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java
:169)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentH
andler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java
:169)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
ndler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentH
andler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java
:169)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
ndler.java:47)
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.jav
a:49)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:
25)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFac
eletContext.java:143)
at com.sun.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:60)
at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.j
ava:128)
at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(Def
aultFaceletContext.java:306)
at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(Default
FaceletContext.java:279)
at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
ndler.java:47)
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.jav
a:49)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
ndler.java:47)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:
25)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFac
eletContext.java:143)
at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.j
ava:113)
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.jav
a:49)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:
25)
at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java
:503)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav
a:546)
at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapp
er.java:108)
at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandle
r.java:233)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
se.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.j
ava:164)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:14
1)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewri
ter.java:90)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewrit
eFilter.java:406)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.jav
a:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:60)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.jav
a:55)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:81)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.jav
a:55)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:47)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.jav
a:55)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseX
MLFilter.java:127)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.
java:277)
at org.jboss.seam.web.AbstractAjax4jsfFilter.doFilter(AbstractAjax4jsfFi
lter.java:35)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.jav
a:55)
at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:126)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:179)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:433)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC
onnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.el.ELException: Function 's:hasRole' not found
at org.jboss.el.lang.ExpressionBuilder.visit(ExpressionBuilder.java:176)
at org.jboss.el.parser.SimpleNode.accept(SimpleNode.java:129)
at org.jboss.el.lang.ExpressionBuilder.prepare(ExpressionBuilder.java:13
8)
at org.jboss.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:152)
at org.jboss.el.lang.ExpressionBuilder.createValueExpression(ExpressionB
uilder.java:195)
at org.jboss.el.ExpressionFactoryImpl.createValueExpression
23:43:09,708 ERROR [STDERR] (ExpressionFactoryImpl.java:68)
at org.jboss.seam.ui.facelet.SeamExpressionFactory.createValueExpression
(SeamExpressionFactory.java:100)
at com.sun.facelets.tag.TagAttribute.getValueExpression(TagAttribute.jav
a:256)
... 87 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira