[ grinder-Bugs-3487437 ] ConnectionHandlerImplementation - ID: 3484390

SourceForge.net <[email protected]> Tue, 18 Sep 2012 14:55:56 -0700
Newsgroups gmane.comp.java.grinder.devel
Message-ID <[email protected]>
Bugs item #3487437, was opened at 2012-02-13 17:12
Message generated for change (Settings changed) made by philipa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3487437&group_id=18598

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: TCPProxy
Group: None
>Status: Closed
Resolution: Duplicate
Priority: 5
Private: No
Submitted By: Ajinkya Karande (akarande)
Assigned to: Nobody/Anonymous (nobody)
Summary: ConnectionHandlerImplementation - ID: 3484390

Initial Comment:
This is with reference to your fix for accessing https webpages through grinder proxy. I had downloaded latest version of grinder(3.7.1) and also the patches which specified the problem was fixed. (REF: https://sourceforge.net/tracker/index.php?func=detail&aid=3484390&group_id=18598&atid=118598 )
I had set the classpath to the jars, but I am still getting the same error.

2012-02-13 16:55:24,467 ERROR tcpproxy: UNEXPECTED - No current request
Exception in thread "Filter thread for login-apsstg2.soma.salesforce.com:443->localhost:56395" java.lang.NullPointerException
	at net.grinder.plugin.http.tcpproxyfilter.ConnectionHandlerImplementation$Request.expectingResponseBody(ConnectionHandlerImplementation.java:400)
	at net.grinder.plugin.http.tcpproxyfilter.ConnectionHandlerImplementation.handleResponse(ConnectionHandlerImplementation.java:277)
	at net.grinder.plugin.http.tcpproxyfilter.ConnectionCache.response(ConnectionCache.java:110)
	at net.grinder.plugin.http.tcpproxyfilter.HTTPResponseFilter.handle(HTTPResponseFilter.java:66)
	at net.grinder.tools.tcpproxy.CompositeFilter.handle(CompositeFilter.java:50)
	at net.grinder.tools.tcpproxy.AbstractTCPProxyEngine$OutputStreamFilterTee.handle(AbstractTCPProxyEngine.java:577)
	at net.grinder.tools.tcpproxy.AbstractTCPProxyEngine$FilteredStreamThread.interruptibleRun(AbstractTCPProxyEngine.java:437)
	at net.grinder.util.thread.InterruptibleRunnableAdapter.run(InterruptibleRunnableAdapter.java:58)
	at java.lang.Thread.run(Thread.java:636)

I have tried even adding the -ssl option but it did not help. Let me know if there is something I am doing wrong, or I have missed any configuration setting before I run the proxy.

Thank You,
Ajinkya Karande.


----------------------------------------------------------------------

Comment By: Philip Aston (philipa)
Date: 2012-02-13 23:23

Message:
If you are still seeing the "UNEXPECTED" message, you are not using the
patch.

Please check you have downloaded it correctly (do not "right click/save on
the link" - sourceforge does something stupid for that). You should be able
to "jar tf patch3484390-2.jar" and see its contents.

It must be added to the start of the classpath you use to start the
TCPProxy.

I'm closing this ticket. Please follow up on bug 3484390 itself.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3487437&group_id=18598

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/