12 Aug 2009 10:34
Re: NullPointerException
This looks like the TCP Proxy is receiving a response before a request has been sent! Can you repeat this without "-http" (so the TCP Proxy will just echo the requets and response streams) and post the resulting output. Thanks, - Phil Ashwini Nambiar wrote: > On starting TCP proxy and then setting up the browser to use the > proxy, get following error on loading a site in the browser: > > 8/11/09 2:13:15 PM (tcpproxy): Initialising as an HTTP/HTTPS proxy > with the > parameters: > > Request filters: HTTPRequestFilter > > Response filters: HTTPResponseFilter > > Local address: localhost:8001 > > 8/11/09 2:13:16 PM (tcpproxy): Engine initialised, listening on port > 8001 > Exception in thread "Filter thread for ...snip > snip...:80->localhost:53811" java.lang.NullPointerException > at > net.grinder.plugin.http.tcpproxyfilter.ConnectionHandlerImplementation$Request.expectingResponseBody(ConnectionHandlerImplementation.java:396) > at > net.grinder.plugin.http.tcpproxyfilter.ConnectionHandlerImplementation.handleResponse(ConnectionHandlerImplementation.java:273) > at > net.grinder.plugin.http.tcpproxyfilter.ConnectionCache.response(ConnectionCache.java:111) > at > net.grinder.plugin.http.tcpproxyfilter.HTTPResponseFilter.handle(HTTPResponseFilter.java:71) > at > net.grinder.tools.tcpproxy.CompositeFilter.handle(CompositeFilter.java:62) > at > net.grinder.tools.tcpproxy.AbstractTCPProxyEngine$OutputStreamFilterTee.handle(AbstractTCPProxyEngine.java:547) > at > net.grinder.tools.tcpproxy.AbstractTCPProxyEngine$FilteredStreamThread.interruptibleRun(AbstractTCPProxyEngine.java:416) > at > net.grinder.util.thread.InterruptibleRunnableAdapter.run(InterruptibleRunnableAdapter.java:59) > at java.lang.Thread.run(Thread.java:613) > > > Any ideas? > > Thanks, > * > **/ > /Ashwini Nambiar > *Software Engineer > School Systems > Pearson > http://www.pearson.com > (916) 288 1749 > / > > > / ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
RSS Feed