1 Reply Latest reply on Dec 18, 2007 9:32 AM by ssilvert

    Error with MyFaces

    gleydsonlima

      I'm trying JSFUnit with Apache Myfaces 1.2 and JBoss 4.0.5 GA. I modified the JSFUnit sample to request my URL like this:

      JSFClientSession client = new JSFClientSession("/portais/docente/docente.jsf");

      But, when test executes, returns:

      java.lang.NullPointerException
      at org.jboss.jsfunit.framework.FacesContextBridge.getCurrentInstance(FacesContextBridge.java:54)

      It's important for the project use a Test Unit with JSF, than, I will try JSFUnit!

      Thanks!