I have been trying to create FacesRequests in a util class, so that I could 
re-use the same FacesRequest in other SeamTests. However, I seem to be getting 
a NullPointerException when I do this. The NPE comes from the SeamTest class in 
line 407 which is

phases.beforePhase( new PhaseEvent(facesContext, PhaseId.RESTORE_VIEW, 
MockLifecycle.INSTANCE) );

The phases variable is null and hence the NPE. :)

Should it be possible to create FacesRequest in a different class for re-use, 
or must it be within a class that extends SeamTest.

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030057#4030057

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030057
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to