tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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 GMT

             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
    Classification: Unclassified

Created attachment 27968

Running tests for 7.0.23 release candidate I noted that there was a
NullPointerException in one of tribes tests:

18.11.2011 9:27:56 org.apache.catalina.tribes.transport.nio.NioReceiver listen
SEVERE: Unable to process request in NioReceiver
------------- ---------------- ---------------

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 =;

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message