hi,
I want to develop a simple test on a jsf page
JSFClientSession client = new JSFClientSession("/page/public/loginPC.dme");
i can't instanciate a JSFClientSession with a xhtml jsf page
i get the following exception when reloading the cactus page :
java.lang.NullPointerException
12:33:12,515 ERROR [STDERR] at org.apache.xml.serializer.TreeWalker.startNode(TreeWalker.java:368)
12:33:12,515 ERROR [STDERR] at org.apache.xml.serializer.TreeWalker.traverse(TreeWalker.java:143)
12:33:12,515 ERROR [STDERR] at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:389)
12:33:12,515 ERROR [STDERR] at org.jboss.jsfunit.facade.DOMUtil.convertToDomLevel2(DOMUtil.java:143)
12:33:12,515 ERROR [STDERR] at org.jboss.jsfunit.facade.JSFClientSession.doWebRequest(JSFClientSession.java:189)
12:33:12,515 ERROR [STDERR] at org.jboss.jsfunit.facade.JSFClientSession.doInitialRequest(JSFClientSession.java:122)
12:33:12,515 ERROR [STDERR] at org.jboss.jsfunit.facade.JSFClientSession.(JSFClientSession.java:75)
12:33:12,515 ERROR [STDERR] at fr.sigems.dme.test.JSFUnitTest.testLogin(JSFUnitTest.java:28)
i have ever tried to remove the processing instruction line in loginPC.xhtml, as proposed in JSFUNIT-70
but i got an exception when executing this page with normal application
can somebody help me?
Off hand, I don't know what would be wrong as long as you took all the processing instructions out of the document. Maybe you could attach your xhtml file to the JSFUNIT-70 case?
Stan