Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 18849 invoked from network); 23 Sep 2009 14:24:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Sep 2009 14:24:41 -0000 Received: (qmail 69651 invoked by uid 500); 23 Sep 2009 14:24:41 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 69619 invoked by uid 500); 23 Sep 2009 14:24:41 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 69609 invoked by uid 99); 23 Sep 2009 14:24:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 14:24:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 14:24:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F036A234C004 for ; Wed, 23 Sep 2009 07:24:15 -0700 (PDT) Message-ID: <1535388557.1253715855969.JavaMail.jira@brutus> Date: Wed, 23 Sep 2009 07:24:15 -0700 (PDT) From: "Asankha C. Perera (JIRA)" To: dev@hc.apache.org Subject: [jira] Commented: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch In-Reply-To: <816338323.1253714956100.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCORE-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758716#action_12758716 ] Asankha C. Perera commented on HTTPCORE-206: -------------------------------------------- The infinite loop could be due to Synapse ignoring exceptions and trying to keep itself alive. A possible better approach would be for it to shutdown and auto restart the reactors. However, this does not convey the original cause of the first runtime exception. I will try Synapse 1.2 with the 4.1-alpha1 and see if this can be re-created > NPE in DefaultClientIOEventDispatch > ----------------------------------- > > Key: HTTPCORE-206 > URL: https://issues.apache.org/jira/browse/HTTPCORE-206 > Project: HttpComponents HttpCore > Issue Type: Bug > Components: HttpCore NIO > Affects Versions: 4.1-alpha1 > Environment: CentOS 5.2, x86-32, Sun JVM 1.5.0, Synapse 1.2, HttpCore 4.1-alpha1 > Reporter: Ralph Henze > Fix For: 4.1 > > > When used inside Synapse 1.2, after outgoing http requests, a problem occurs that shows a NPE with the following stack trace. > The NPE occurs as infinite loop (that may have its origin in Synapse). > 2009-09-23 13:18:25,466 WARN [org.apache.synapse.transport.nhttp.HttpCoreNIOSender] System may be unstable: IOReactor encountered a runtime exception : null > java.lang.NullPointerException > at org.apache.http.impl.nio.DefaultClientIOEventDispatch.inputReady(DefaultClientIOEventDispatch.java:148) > at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:161) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:339) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:319) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:275) > at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104) > at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:528) > at java.lang.Thread.run(Thread.java:595) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org