Re: Possible regression after upgrade to [9.0.119] (java.lang.IllegalArgumentException: newPosition > limit: (8175 > 9))
Mark Thomas <[email protected]> Wed, 1 Jul 2026 09:54:30 +0100
| Newsgroups | gmane.comp.jakarta.tomcat.user |
|---|---|
| Message-ID | <[email protected]> |
On 26/06/2026 10:09, Mark Thomas wrote: > On 26/06/2026 07:57, Stankov. Yavor wrote: > > <snip/> > >> I'd like to ask: >> >> 1. Has anyone seen a similar IllegalArgumentException originating >> from B2CConverter / InputBuffer after upgrading to 9.0.119? > > I haven't see any other reports so far. > >> 2. Are there any known changes in the request body decoding path >> that could explain this behavior? > > There are changes to B2CConverter (meant to improve EOF handling) that > might be the cause. > >> 3. Is there any additional logging or diagnostics you would >> recommend to determine whether this is a Tomcat issue or an >> application/environment issue? > > It looks like a Tomcat issue. If you can provide a minimal test case > that recreates the issue then we can investigate further. I have received a test case and can reproduce the issue. I am working on a fix. The plan is for the fix to be in the July releases. Mark