Ashwini Nambiar | 11 Aug 2009 23:17
Favicon

NullPointerException

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
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use

Gmane