Hi,

a nested <webtest/>? In fact this should not be allowed. What is your
used case for that?

Cheers,
Marc.
-- 
Web: http://www.efficient-webtesting.com
Blog: http://mguillem.wordpress.com

Jonathan Rosenberg wrote:
> I'm hoping someone will have some tips on how to work around a 
> java.lang.NullPointerException I'm seeing in a test.
> 
> I'm thinking the problem is triggered when webtest is trying to restore the 
> previous response after executing a nested <webtest/>.
> Here are the first few lines of the stack  trace:
> 
> --- Nested Exception ---
> java.lang.NullPointerException
>       at 
> com.canoo.webtest.engine.WebClientContext.getCurrentResponse(WebClientContext.java:197)
>       at com.canoo.webtest.engine.Context.getCurrentResponse(Context.java:98)
>       at 
> com.canoo.webtest.engine.WebTestException.readUrlCurrentResponse(WebTestException.java:29)
>       at 
> com.canoo.webtest.engine.WebTestException.<init>(WebTestException.java:25)
>       at 
> com.canoo.webtest.engine.StepExecutionException.<init>(StepExecutionException.java:18)
> 
> Any thoughts on this?
> 
> --
> Jonathan Rosenberg
> Founder & Executive Director, Tabby's Place
> http://www.tabbysplace.org/
> 
> 
> 
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> 

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to