[webbeans-issues] [JBoss JIRA] Closed: (WBRI-202) Namespaced resolution not working with JSF2

Pete Muir (JIRA) jira-events at lists.jboss.org
Sat Mar 28 13:08:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/WBRI-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed WBRI-202.
--------------------------

    Resolution: Cannot Reproduce Bug
      Assignee: Pete Muir


Wasn't an issue with JSF2, but with bean deployment

> Namespaced resolution not working with JSF2
> -------------------------------------------
>
>                 Key: WBRI-202
>                 URL: https://jira.jboss.org/jira/browse/WBRI-202
>             Project: Web Beans
>          Issue Type: Bug
>          Components: EL integration, Glassfish integration, JSF Integration
>         Environment: Glassfish w/ JSF 2.0
>            Reporter: Roger Kitain
>            Assignee: Pete Muir
>             Fix For: 1.0.0.PREVIEW
>
>
> Implemented Bootstrap SPI for Glassfish;
> Deployed webbeans-numberguess demo application;
> Upon visiting localhost:8080/webbeans-numberguess I get:
> SEVERE: Error Rendering View[/home.xhtml]
> com.sun.facelets.tag.TagAttributeException: /home.xhtml @24,92 minimum="#{game.smallest}" /home.xhtml @24,92 minimum="#{game.smallest}" /home.xhtml @24,92 minimum="#{game.smallest}": java.lang.IllegalArgumentException: Cannot convert Namespace(game.smallest.) of type class org.jboss.webbeans.el.Namespace to long
> 	at com.sun.facelets.tag.BeanPropertyTagRule$DynamicPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:80)
> 	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.ValidateHandler.apply(ValidateHandler.java:98)
> 	at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
> 	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
> 	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
> 	at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
> 	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
> 	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
> 	at com.sun.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:64)
> 	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:131)
> 	at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:337)
> 	at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:307)
> 	at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
> 	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
> 	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
> 	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.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(DefaultFaceletContext.java:140)
> 	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
> 	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java: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:524)
> 	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
> 	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)
> 	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:102)
> 	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:311)
> 	at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
> 	at org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:462)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
> 	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
> 	at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
> 	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
> 	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
> 	at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
> 	at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
> 	at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
> 	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
> 	at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
> 	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
> 	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
> 	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> 	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
> 	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
> 	at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
> 	at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
> Caused by: com.sun.facelets.tag.TagAttributeException: /home.xhtml @24,92 minimum="#{game.smallest}" /home.xhtml @24,92 minimum="#{game.smallest}": java.lang.IllegalArgumentException: Cannot convert Namespace(game.smallest.) of type class org.jboss.webbeans.el.Namespace to long
> 	at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:235)
> 	at com.sun.facelets.tag.BeanPropertyTagRule$DynamicPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:75)
> 	... 65 more
> Caused by: javax.el.ELException: /home.xhtml @24,92 minimum="#{game.smallest}": java.lang.IllegalArgumentException: Cannot convert Namespace(game.smallest.) of type class org.jboss.webbeans.el.Namespace to long
> 	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
> 	at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:233)
> 	... 66 more
> Caused by: java.lang.IllegalArgumentException: Cannot convert Namespace(game.smallest.) of type class org.jboss.webbeans.el.Namespace to long
> 	at com.sun.el.lang.ELSupport.coerceToNumber(ELSupport.java:294)
> 	at com.sun.el.lang.ELSupport.coerceToType(ELSupport.java:354)
> 	at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:209)
> 	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
> 	... 67 more
> Mar 23, 2009 7:17:41 PM org.apache.catalina.core.StandardWrapperValve log
> SEVERE: StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
> com.sun.facelets.tag.TagAttributeException: /home.xhtml @24,92 minimum="#{game.smallest}" /home.xhtml @24,92 minimum="#{game.smallest}" /home.xhtml @24,92 minimum="#{game.smallest}": java.lang.IllegalArgumentException: Cannot convert Namespace(game.smallest.) of type class org.jboss.webbeans.el.Namespace to long
> 	at com.sun.facelets.tag.BeanPropertyTagRule$DynamicPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:80)
> 	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.ValidateHandler.apply(ValidateHandler.java:98)
> 	at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
> 	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
> 	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
> 	at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
> 	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
> 	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
> 	at com.sun.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:64)
> 	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:131)
> 	at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:337)
> 	at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:307)
> 	at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
> 	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
> 	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
> 	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.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(DefaultFaceletContext.java:140)
> 	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
> 	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java: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:524)
> 	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
> 	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)
> 	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:102)
> 	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:311)
> 	at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
> 	at org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:462)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
> 	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
> 	at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
> 	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
> 	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
> 	at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
> 	at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
> 	at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
> 	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
> 	at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
> 	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
> 	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
> 	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> 	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
> 	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
> 	at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
> 	at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
> Caused by: com.sun.facelets.tag.TagAttributeException: /home.xhtml @24,92 minimum="#{game.smallest}" /home.xhtml @24,92 minimum="#{game.smallest}": java.lang.IllegalArgumentException: Cannot convert Namespace(game.smallest.) of type class org.jboss.webbeans.el.Namespace to long
> 	at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:235)
> 	at com.sun.facelets.tag.BeanPropertyTagRule$DynamicPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:75)
> 	... 65 more
> Caused by: javax.el.ELException: /home.xhtml @24,92 minimum="#{game.smallest}": java.lang.IllegalArgumentException: Cannot convert Namespace(game.smallest.) of type class org.jboss.webbeans.el.Namespace to long
> 	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
> 	at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:233)
> 	... 66 more
> Caused by: java.lang.IllegalArgumentException: Cannot convert Namespace(game.smallest.) of type class org.jboss.webbeans.el.Namespace to long
> 	at com.sun.el.lang.ELSupport.coerceToNumber(ELSupport.java:294)
> 	at com.sun.el.lang.ELSupport.coerceToType(ELSupport.java:354)
> 	at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:209)
> 	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
> 	... 67 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list