You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2022/11/01 19:05:14 UTC
[Bug 66331] New: Incorrect exception is being caught in SystemLogHandler
https://bz.apache.org/bugzilla/show_bug.cgi?id=66331
Bug ID: 66331
Summary: Incorrect exception is being caught in
SystemLogHandler
Product: Tomcat 10
Version: 10.0.27
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: dev@tomcat.apache.org
Reporter: jdc0033@gmail.com
Target Milestone: ------
When the "reuse" was changed from Stack to Queue in 10.0.25, it seems the
`catch` around `log.reuse.remove()` in the SystemLogHandler class should have
changed to catch a `NoSuchElementException`.
The `NoSuchElementException` is the exception that is thrown when a Queue has
no elements.
--
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
[Bug 66331] Incorrect exception is being caught in SystemLogHandler
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66331
--- Comment #2 from John Carr <jd...@gmail.com> ---
Can this be fixed in 10.0.28? We currently cannot move to 10.1.x.
--
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
[Bug 66331] Incorrect exception is being caught in SystemLogHandler
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66331
Han Li <li...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Han Li <li...@apache.org> ---
Thanks for the report.
Fixed in:
- 10.1.x for 10.1.2 onwards
- 9.0.x for 9.0.69 onwards
- 8.5.x for 8.5.84 onwards
--
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
[Bug 66331] Incorrect exception is being caught in SystemLogHandler
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66331
--- Comment #4 from John Carr <jd...@gmail.com> ---
In the end... just time, effort, and priorities. However, we didn't realize
10.0 was end of life. Now that we see that, we have added upgrading to 10.1.x
into our backlog.
Thanks again for getting the original issue fixed.
--
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
[Bug 66331] Incorrect exception is being caught in SystemLogHandler
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66331
--- Comment #3 from Mark Thomas <ma...@apache.org> ---
There are no plans to fix this in 10.0.x since no further 10.0.x releases are
planned.
What is stopping you moving to 10.1.x?
--
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