Created attachment 27376 [details] set default encoding, if none is given When encoding is null, RequestUtil.parseParameters will throw a NPE at B2CConverter.getCharset.
Rather than adding NPE protection, the null check in that method can be removed. Tomcat always calls those methods with an encoding.
Created attachment 27378 [details] document that encoding must not be null and remove check
Thanks for the patch. It has been applied to trunk and 7.0.x and will be included in 7.0.21 onwards.