Hello Tomcat Developers:

We faced this issue today, and this is preventing us from moving to
Tomcat 6.0.13.

Should I file a bug report ? Would sending a patch help ? Or is the
issue something else ?

-- Sriram

---------- Forwarded message ----------
From: Reich, Matthias <[EMAIL PROTECTED]>
Date: Jul 18, 2007 2:01 PM
Subject: Tomcat 6.0.13 - NPE in AprEndpoint run method
To: Tomcat Users List <[EMAIL PROTECTED]>



Hi,

When sending requests to Tomcat during the startup phase, I got a NPE in
the AprEndpoint run method, line 1495:

 getPoller().add(socket);

This can happen because in the start method, the pollers are initialized
after the acceptor threads already have been started so that the
getPoller() call can either run into a NPE itself (if the pollers array
is not yet initialized) or return null (if pollers[pollerRoundRobin] is
not yet initialized.

Thus, I think the error can easily be prevented by starting the
acceptors after initializing the pollers.

Regards,
Matthias

---------------------------------------------------------------------
To start a new topic, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to