Please re-download LWJGLX/debug off https://www.lwjgl.org/browse/addons/lwjglx-debug
The reason for LWJGLX/debug emitting this "warning" is to hint to a "possibly" wrong usage of a NIO buffer which can especially be found when using JOML by flipping a buffer whose position has not been modified/incremented.
So it's more of a "you possibly did something wrong"-kind of warning, which nevertheless currently results in an exception being thrown at the callsite.
Also: LWJGLX/debug wasn't really designed to cope with all the different use-cases of Java APIs when using it in a Spring/JavaEE/JakartaEE/Servlet/or-otherwise application environment.
Currently, there is a list of excluded packages that should not be analyzed and transformed by the LWJGLX/debug agent, and org/apache/..., which apparently does flip() a buffer with zero length (which is fine, of course), wasn't part of it.
It's now been added, so please re-download LWJGLX/debug from above mentioned link.
Maybe, the list of analyzed and transformed packages should be an "include" list not an "exclude" list in the future.