Tapastry error about not having a tml only for some requests
Posted
by
dinesh707
on Stack Overflow
See other posts from Stack Overflow
or by dinesh707
Published on 2012-11-20T08:13:34Z
Indexed on
2012/11/20
11:02 UTC
Read the original article
Hit count: 333
tapestry
Object onActivate(final String jsonRequest){
return new StreamResponse() {
private InputStream inputStream;
public void prepareResponse(Response response) {
I'm using the above code to generate a XML as the response. When I test it in browser, it works fine. But when I send my request from Android application i get the following error on server side.
[ERROR] TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Page catalog/Index did not generate any markup when rendered. This could be because its template file could not be located, or because a render phase method in the page prevented rendering.
java.lang.RuntimeException: Page catalog/Index did not generate any markup when rendered. This could be because its template file could not be located, or because a render phase method in the page prevented rendering.
© Stack Overflow or respective owner