Two things - 
1) Reproduce steps amendment:
   - Start ProxyMain
Amendment: using args: 8181 http://localhost:8182/realserver
(The proxy port is 8181, real server is 8182)

2) I'm using the j2se edition

I think the issue might be related to representation.write() causing stream to 
be null at some later point in time:

Interesting code from InputRepresentaion:
    @Override
    public InputStream getStream() throws IOException {
        if (Edition.CURRENT != Edition.GWT) {
            final InputStream result = this.stream;
            setStream(null);   /// HMMM - wonder what this is all about....
            return result;
        }

        return this.stream;
    }

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2531575

Reply via email to