Re: NPE from unit testing with equanda-tapestry5

2010-07-28 Thread Josh Canfield
I found this on the list some time ago. You can add the HttpServletRequest/Response in a test module. public class PageTesterModule { // Ensure that there are valid HTTP request/response objects in the test public static void contributeRequestHandler( final OrderedConfiguratio

NPE from unit testing with equanda-tapestry5

2010-07-27 Thread Dongmei Cao
Hi, I use the equanda/Tabs in my web application. It actually works pretty well except it throws NPE in unit testing: ERROR] TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: java.lang.NullPointerException java.lang.NullPointerException at org.equ