Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 194909876 for ; Fri, 18 Nov 2011 10:37:56 +0000 (UTC) Received: (qmail 76549 invoked by uid 500); 18 Nov 2011 10:37:55 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 76485 invoked by uid 500); 18 Nov 2011 10:37:55 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 76475 invoked by uid 99); 18 Nov 2011 10:37:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2011 10:37:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2011 10:37:54 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id E11183C172; Fri, 18 Nov 2011 10:37:33 +0000 (UTC) From: bugzilla@apache.org To: dev@tomcat.apache.org Subject: DO NOT REPLY [Bug 52208] New: NullPointerException in tribes.transport.nio.NioReceiver.listen() in test run Date: Fri, 18 Nov 2011 10:37:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat 7 X-Bugzilla-Component: Cluster X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: knst.kolinko@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@tomcat.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=52208 Bug #: 52208 Summary: NullPointerException in tribes.transport.nio.NioReceiver.listen() in test run Product: Tomcat 7 Version: trunk Platform: PC OS/Version: Windows XP Status: NEW Severity: minor Priority: P2 Component: Cluster AssignedTo: dev@tomcat.apache.org ReportedBy: knst.kolinko@gmail.com Classification: Unclassified Created attachment 27968 --> https://issues.apache.org/bugzilla/attachment.cgi?id=27968 TEST-org.apache.catalina.tribes.group.interceptors.TestOrderInterceptor.BIO.txt Running tests for 7.0.23 release candidate I noted that there was a NullPointerException in one of tribes tests: TEST-org.apache.catalina.tribes.group.interceptors.TestOrderInterceptor.BIO.txt 18.11.2011 9:27:56 org.apache.catalina.tribes.transport.nio.NioReceiver listen SEVERE: Unable to process request in NioReceiver java.lang.NullPointerException at org.apache.catalina.tribes.transport.nio.NioReceiver.listen(NioReceiver.java:274) at org.apache.catalina.tribes.transport.nio.NioReceiver.run(NioReceiver.java:414) at java.lang.Thread.run(Thread.java:662) ------------- ---------------- --------------- The test case did not fail, so it likely occurred during tearDown. The line in source code is 268 while (doListen() && selector != null) { (..) 272 events(); 273 socketTimeouts(); 274 int n = selector.select(getSelectorTimeout()); It is likely that selector field referenced on line 274 became null because of NioReceiver#stopListening() call. This issue was not observed on reruns. I am attaching complete log file from this test. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org