You are right in "literal".equals(param), but that is not the source of the problem. Like smoking, it is a habit I'd better give up ;-) Jos
On Fri, 2009-12-04 at 15:29 +0100, Johannes Lichtenberger wrote: > 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: users-unsubscr...@cocoon.apache.org > For additional commands, e-mail: users-h...@cocoon.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org