Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-786

Pastecode example fails with latest Weld Build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.1.0.CR1
    • None
    • None
    • None

      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)

              marius.bogoevici Marius Bogoevici (Inactive)
              marius.bogoevici Marius Bogoevici (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: