[
https://issues.jboss.org/browse/WELD-811?page=com.atlassian.jira.plugin.s...
]
Ales Justin updated WELD-811:
-----------------------------
Comment: was deleted
(was: Hi
I am getting this on JBoss AS 7 Final, worked on 6.0 and 6.1 Snapshots, not even sure what
to look for, can someone point in the right direction?
00:50:46,810 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle]
(http--192.168.1.129-8080-3) No CreationalContext registered for EL evaluation, it is
likely that the the expression factory has not been wrapped by the CDI BeanManager, which
must be done to use the ELResolver from CDI: java.lang.IllegalStateException: No
CreationalContext registered for EL evaluation, it is likely that the the expression
factory has not been wrapped by the CDI BeanManager, which must be done to use the
ELResolver from CDI
at
org.jboss.weld.el.AbstractWeldELResolver.getELCreationalContext(AbstractWeldELResolver.java:179)
[weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
at org.jboss.weld.el.AbstractWeldELResolver.lookup(AbstractWeldELResolver.java:147)
[weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
at org.jboss.weld.el.AbstractWeldELResolver.getValue(AbstractWeldELResolver.java:112)
[weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
at
org.jboss.as.weld.webtier.jsf.ForwardingELResolver.getValue(ForwardingELResolver.java:46)
[jboss-as-weld-7.0.0.Final.jar:7.0.0.Final]
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
[jboss-el-api_2.2_spec-1.0.0.Final.jar:1.0.0.Final]
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
[jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
[jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:67)
[jbossweb-7.0.0.CR4.jar:7.0.0.Final]
at org.apache.el.parser.AstValue.getValue(AstValue.java:115)
[jbossweb-7.0.0.CR4.jar:7.0.0.Final]
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187)
[jbossweb-7.0.0.CR4.jar:7.0.0.Final]
at
com.sun.faces.application.ApplicationImpl.evaluateExpressionGet(ApplicationImpl.java:429)
[jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
at
org.jboss.as.weld.webtier.jsf.ForwardingApplication.evaluateExpressionGet(ForwardingApplication.java:169)
[jboss-as-weld-7.0.0.Final.jar:7.0.0.Final]
at com.sun.faces.context.UrlBuilder.evaluateExpressions(UrlBuilder.java:320)
[jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
at com.sun.faces.context.UrlBuilder.addParameters(UrlBuilder.java:129)
[jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
at
com.sun.faces.context.ExternalContextImpl.encodeRedirectURL(ExternalContextImpl.java:899)
[jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
at
com.sun.faces.application.view.MultiViewHandler.getRedirectURL(MultiViewHandler.java:373)
[jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
at javax.faces.application.ViewHandlerWrapper.getRedirectURL(ViewHandlerWrapper.java:189)
[jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.jboss.weld.jsf.ConversationAwareViewHandler.getRedirectURL(ConversationAwareViewHandler.java:153)
[weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
at
com.sun.faces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:166)
[jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
[jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
at javax.faces.component.UICommand.broadcast(UICommand.java:315)
[jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
[jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
[jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
[jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
[jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
[jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
[jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
[jbossweb-7.0.0.CR4.jar:7.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.0.CR4.jar:7.0.0.Final]
at
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
[weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.0.CR4.jar:7.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.0.CR4.jar:7.0.0.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[jbossweb-7.0.0.CR4.jar:7.0.0.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[jbossweb-7.0.0.CR4.jar:7.0.0.Final]
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
[jboss-as-web-7.0.0.Final.jar:7.0.0.Final]
at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:49)
[jboss-as-jpa-7.0.0.Final.jar:7.0.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
[jbossweb-7.0.0.CR4.jar:7.0.0.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.0.CR4.jar:7.0.0.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.0.CR4.jar:7.0.0.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[jbossweb-7.0.0.CR4.jar:7.0.0.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.0.CR4.jar:7.0.0.Final]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
[jbossweb-7.0.0.CR4.jar:7.0.0.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
[jbossweb-7.0.0.CR4.jar:7.0.0.Final]
at java.lang.Thread.run(Thread.java:679) [:1.6.0_22]
)
Hierarchy injection is not working with external annotation type.
-----------------------------------------------------------------
Key: WELD-811
URL:
https://issues.jboss.org/browse/WELD-811
Project: Weld
Issue Type: Bug
Components: Weld SPI
Affects Versions: 1.1.0.CR3
Reporter: Rogerio Baldini
In WeldClassImpl constructor, superclass is set as an Object.class when annotatedType is
instanceof ExternalAnnotatedType (discovered flag). Why?
This behavior causes a non injection of superclasses fields and methods. Is this correct
?
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira