$subject re-correction.. ESB 4.7.0 Long run introudced new NPE in httpcore-nio 4.2.3
On Thu, May 23, 2013 at 4:43 PM, Dushan Abeyruwan <[email protected]> wrote: > Hi > $subject, cab observe repeatable errors that as seen in [1], if compare > to nio-core 4.2.3 ESB and nio-core in 4.1.2 4.6.0 implementation in > consumeInput having differences, and would suspect lack of NEP checking > causes this issue see section [2] [3] and see attachment for the diff > 4.7.0.. any thoughts on how to fix this ? > > [2013-05-23 10:46:43,637] INFO - StartupFinalizerServiceComponent WSO2 > Carbon started in 33 sec > [2013-05-23 10:46:43,956] INFO - CarbonUIServiceComponent Mgt Console > URL : https://10.39.77.10:9443/carbon/ > [2013-05-23 10:47:17,089] INFO - TimeoutHandler This engine will expire > all callbacks after : 120 seconds, irrespective of the timeout action, > after the specified or optional timeout > [2013-05-23 10:49:18,314] ERROR - TargetHandler Unexpected error: null > java.lang.NullPointerException > at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput( > DefaultNHttpClientConnection.java:191) > at org.apache.synapse.transport.http.conn. > LoggingNHttpClientConnection.consumeInput(LoggingNHttpClientConnection. > java:104) > at org.apache.synapse.transport.passthru.ClientIODispatch. > onInputReady(ClientIODispatch.java:83) > at org.apache.synapse.transport.passthru.ClientIODispatch. > onInputReady(ClientIODispatch.java:41) > at org.apache.http.impl.nio.reactor.AbstractIODispatch. > inputReady(AbstractIODispatch.java:112) > at org.apache.http.impl.nio.reactor.BaseIOReactor. > readable(BaseIOReactor.java:160) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent( > AbstractIOReactor.java:342) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents( > AbstractIOReactor.java:320) > at org.apache.http.impl.nio.reactor.AbstractIOReactor. > execute(AbstractIOReactor.java:280) > at org.apache.http.impl.nio.reactor.BaseIOReactor.execute( > BaseIOReactor.java:106) > at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$ > Worker.run(AbstractMultiworkerIOReactor.java:604) > at java.lang.Thread.run(Thread.java:662) > [2013-05-23 10:50:02,092] WARN - TimeoutHandler Expiring message ID : > urn:uuid:0ef522ca-8cb1-42f5-a5f2-fc51a14df4ca; dropping message after > global timeout of : 120 seconds > [2013-05-23 10:51:18,434] WARN - SourceHandler Connection > > > Possible location of error > > DefaultNHttpClientConnection.java > > NIO-Core 4.2.3 ESB 4.7.0 > > consume input... > > * if (this.contentDecoder != null && (this.session.getEventMask() & > SelectionKey.OP_READ) > 0) {* > handler.inputReady(this, this.contentDecoder); > if (this.contentDecoder.isCompleted()) { > // Response entity received > // Ready to receive a new response > resetInput(); > } > } > > > Nio Core 4.1.2 used in ESB 4.6.0 > > } > if (this.contentDecoder != null) { > handler.inputReady(this, this.contentDecoder); > > //TODO:Synchornized introduced as temp fix to avoid > unknown NEP occurred during high load > //but would required to provide proper fix to get better > performance > //2012-11-30 > synchronized (this) { > if (this.contentDecoder != null && > this.contentDecoder.isCompleted()) { > // Response entity received > // Ready to receive a new response > resetInput(); > } > } > } > > > > > > cheers, > Dushan Abeyruwan > *Senior Software Engineer* > *Integration Technologies Team* > *Member of Integration MC* > *WSO2 Inc. http://wso2.com/* > *Mobile:(+94)714408632* > -- Dushan Abeyruwan *Associate Tech Lead* *Integration Technologies Team* *Member of Integration MC* *WSO2 Inc. http://wso2.com/* *Mobile:(+94)714408632*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
