Perfect Mark, thanks.

-----Original Message-----
From: Mark Thomas <ma...@apache.org> 
Sent: Thursday, December 19, 2024 5:12 PM
To: users@tomcat.apache.org
Subject: Re: Tomcat 10.1.34 log messages

Hi Joan,

Thanks for the extra information.

I can see several legitimate ways the NPE might happen. I've added a null check 
to avoid any NPE in that case.

I can also see a couple of ways the warning message could appear in normal 
usage so I've dropped that to debug.

Both changes will be in the January releases.

Mark


On 15/12/2024 16:20, joan.balagu...@ventusproxy.com wrote:
> Hi Mark,
> 
> No, I'm not using TLS but yes, I'm using async servlet with non-blocking io 
> (read and write listeners).
> 
> Thanks,
> Joan.
> 
> -----Original Message-----
> From: Mark Thomas <ma...@apache.org>
> Sent: Sunday, December 15, 2024 3:15 PM
> To: users@tomcat.apache.org
> Subject: Re: Tomcat 10.1.34 log messages
> 
> On 13/12/2024 11:00, joan.balagu...@ventusproxy.com wrote:
>> Hi Mark,
>>
>> Which version did you migrate from?
>> 10.1.30
>>
>> How often do you see these messages?
>> Hardly ever, maybe a dozen of times ... we have millions of daily 
>> requests
>>
>> Do they correlate with any particular (failed?) request.
>> No
>>
>> I don't have more information, just these traces. The first trace
>> (NullPointerException) is new, the second one (Warning) was also 
>> occurring in 10.1.30
> 
> Thanks for the additional information.
> 
> I think I might see a route for the second trace (Warning) to occur in normal 
> usage when the connection is closed. We might need to downgrade the log level 
> for that one. Do you use any of:
> - WebSocket
> - Servlet async
> - Servlet Non-blocking IO in your application?
> 
> I've definitely found a route for the NPE to occur although it has been 
> present for several years. Are you using TLS on this connector?
> 
> Thanks,
> 
> Mark
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to