On Fri, 2009-12-04 at 15:15 +0100, Jos Snellings wrote:
[StackTrace]
> It is certainly not closing a connection quietly :-)
>
> In URLResponse.java, is it possible that in execute()
>
> servletConnection = this.url.openConnection(); is null?
>
> Responses are like:
> if (action.equals("st")) return new
> URLResponse("servlet:/thesaurusedit/stdemo",data);
> if (action.equals("term")) return new
> URLResponse("servlet:/edit/term", data);
> }
>
> return new URLResponse("servlet:editor/workspace", data);
Well, you know I'm not really familiar with cocoon, but I would replace
action.equals("st") with "st".equals(action) and action.equals("term")
equally, so you can't get NullPointerExceptions in this place (I know
it's not the source of the problem).
greetings,
Johannes
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]