Re: URLConnectionUtils.closeLoudly()

2009-12-04 Thread Jos Snellings
This is one for documentation: from the examples: URLResponse("servlet:/somewherehere",data) does not work if you specify the root url. Notation is absolute (with "servlet:") if /somewherehere is in the same pipeline it works! However, closeQuietly does not close quietly if the urlconnection is

Re: URLConnectionUtils.closeLoudly()

2009-12-04 Thread Jos Snellings
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 cert

Re: URLConnectionUtils.closeLoudly()

2009-12-04 Thread Steven Dolg
Jos Snellings schrieb: Hi! At the end of RESTController I get: 2009-12-04 14:57:26,014 ERROR http-8080-Processor20 org.apache.cocoon.sitemap.InvocationImpl/handle-errors - Error while executing the sitemap. [request-uri=/editor/put/definition/1124] java.lang.NullPointerException at org.

Re: URLConnectionUtils.closeLoudly()

2009-12-04 Thread Johannes Lichtenberger
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"

URLConnectionUtils.closeLoudly()

2009-12-04 Thread Jos Snellings
Hi! At the end of RESTController I get: 2009-12-04 14:57:26,014 ERROR http-8080-Processor20 org.apache.cocoon.sitemap.InvocationImpl/handle-errors - Error while executing the sitemap. [request-uri=/editor/put/definition/1124] java.lang.NullPointerException at org.apache.cocoon.pipeline.ut