[JBoss JIRA] Created: (WELD-786) Numberguess example fails with latest Weld Build
by Marius Bogoevici (JIRA)
Numberguess example fails with latest Weld Build
------------------------------------------------
Key: WELD-786
URL: https://issues.jboss.org/browse/WELD-786
Project: Weld
Issue Type: Bug
Reporter: Marius Bogoevici
Priority: Critical
java.lang.ClassCastException: org.jboss.weld.examples.pastecode.session.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$opt$jboss$jboss-6$0$0-SNAPSHOT$server$default$deploy$weld-pastecode$war"-SessionBean-CodeFragmentManagerImpl_$$_WeldProxy cannot be cast to java.lang.String
org.jboss.weld.examples.pastecode.session.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$opt$jboss$jboss-6$0$0-SNAPSHOT$server$default$deploy$weld-pastecode$war"-SessionBean-CodeFragmentManagerImpl_$$_WeldProxy.toString(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$opt$jboss$jboss-6$0$0-SNAPSHOT$server$default$deploy$weld-pastecode$war"-SessionBean-CodeFragmentManagerImpl_$$_WeldProxy.java)
java.lang.String.valueOf(String.java:2826)
java.lang.StringBuilder.append(StringBuilder.java:115)
org.jboss.weld.bean.proxy.TargetBeanInstance.invoke(TargetBeanInstance.java:95)
org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:106)
org.jboss.weld.examples.pastecode.session.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$opt$jboss$jboss-6$0$0-SNAPSHOT$server$default$deploy$weld-pastecode$war"-SessionBean-CodeFragmentManagerImpl_$$_WeldProxy.destroy(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$opt$jboss$jboss-6$0$0-SNAPSHOT$server$default$deploy$weld-pastecode$war"-SessionBean-CodeFragmentManagerImpl_$$_WeldProxy.java)
org.jboss.weld.bean.SessionBean.destroy(SessionBean.java:384)
org.jboss.weld.context.ForwardingContextual.destroy(ForwardingContextual.java:34)
org.jboss.weld.context.CreationalContextImpl.destroy(CreationalContextImpl.java:100)
org.jboss.weld.context.CreationalContextImpl.release(CreationalContextImpl.java:90)
org.jboss.weld.bean.ProducerMethod.destroy(ProducerMethod.java:240)
org.jboss.weld.context.ForwardingContextual.destroy(ForwardingContextual.java:34)
org.jboss.weld.context.CreationalContextImpl.destroy(CreationalContextImpl.java:100)
org.jboss.weld.context.CreationalContextImpl.release(CreationalContextImpl.java:90)
org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:62)
org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55)
com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:106)
com.sun.faces.facelets.component.UIRepeat.getValue(UIRepeat.java:268)
com.sun.faces.facelets.component.UIRepeat.getDataModel(UIRepeat.java:244)
com.sun.faces.facelets.component.UIRepeat.setIndex(UIRepeat.java:434)
com.sun.faces.facelets.component.UIRepeat.process(UIRepeat.java:468)
com.sun.faces.facelets.component.UIRepeat.encodeChildren(UIRepeat.java:953)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1643)
javax.faces.render.Renderer.encodeChildren(Renderer.java:164)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:849)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1643)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:389)
com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127)
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira