1 Reply Latest reply on Feb 4, 2010 8:21 PM by Pete Muir

    NPE with Weld on Jboss NB

    Alexander Bell Newbie

      Hi,


      I've tried to trun my app. on the latest Jboss Snapshot (Weld 1.0.1.CR1 included) from http://hudson.jboss.org/hudson/view/JBoss%20AS/job/JBoss-AS-6.0.x/.


      I get the following Exception if I want to open my page




      javax.servlet.ServletException
           javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)
           org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:66)
      19:09:06,636 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] Error Rendering View[/index.xhtml]: java.lang.NullPointerException
           at org.jboss.weld.exceptions.WeldExceptionMessage.<init>(WeldExceptionMessage.java:85)
           at org.jboss.weld.exceptions.WeldException.<init>(WeldException.java:69)
           at org.jboss.weld.el.AbstractWeldELResolver.getValue(AbstractWeldELResolver.java:133)
           at org.jboss.weld.integration.webtier.jsf.ForwardingELResolver.getValue(ForwardingELResolver.java:51)
           at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
           at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
           at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:67)
           at org.apache.el.parser.AstValue.getValue(AstValue.java:115)
           at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187)
           at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:71)
           at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:102)
           at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:190)
           at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:416)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1607)
           at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
           at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)



      Any ideas? Did anyone try that JBoss NB already?


      Alex