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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...