[ https://issues.apache.org/jira/browse/SYNAPSE-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Senduran updated SYNAPSE-1014: ------------------------------ Attachment: HelloProxy.xml Hi Isuru Here I am attaching the proxy configuration I used[^HelloProxy.xml]. When I get this NPE. But surprisingly I am not getting this exception with the latest trunk. So I did the followings. * In the latest trunk, reduced the http core and httpcore and http-client version to older version i.e 4.3, 4.3.1. But still couldn't reproduce the issue. * So I reverted to an older synapse revision 1745801 (this is the revision just before the http core and http-clinet version upgrade). With this revision, I got the NPE as well as the build failure error which is reported in SYNAPSE-1015. * On top of revision 1745801, I applied the diff mentioned in SYNAPSE-1015 and eliminated the build error. And I got the NPE. According to above behavior I believe the NPE is been fixed by a recent fix. > NPE in DefaultNHttpClientConnection consumeInput, when invoking a proxy > concurrently > ------------------------------------------------------------------------------------ > > Key: SYNAPSE-1014 > URL: https://issues.apache.org/jira/browse/SYNAPSE-1014 > Project: Synapse > Issue Type: Bug > Components: Transports > Affects Versions: 2.1 > Reporter: Senduran > Assignee: Hiranya Jayathilaka > Priority: Blocker > Attachments: HelloProxy.xml, http_core_4_4.log > > > When invoking a content aware passthrough proxy at a concurrency of 100. the > following exception occurs > {code} > ERROR TargetHandler Unexpected exception encountered in TargetHandler > java.lang.NullPointerException > at > org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:268) > at > org.apache.http.impl.nio.DefaultHttpClientIODispatch.onInputReady(DefaultHttpClientIODispatch.java:165) > at > org.apache.http.impl.nio.DefaultHttpClientIODispatch.onInputReady(DefaultHttpClientIODispatch.java:51) > at > org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:113) > at > org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:159) > at > org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:338) > at > org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:316) > at > org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:277) > at > org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105) > at > org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:584) > at java.lang.Thread.run(Thread.java:745) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org For additional commands, e-mail: dev-h...@synapse.apache.org