Open cyin869 opened 2 weeks ago
Odd, I can see code that is checking the ComplianceViolationListeners
set in the HttpConfiguration
and if none are set, it is set to a default, no-op instance. I can't immediately see how it can be null. Can you post more of your configuration please?
We are deploying on Google app engine so I don't really have a configuration that I can post. I tried to remove all the Google dependencies and deploy a pure springboot app with jetty 12 and I actually do not get the NullPointersExceptions. I suspect Google may have some custom configurations that is conflicting when they are setting up their version. I will raise a ticket with Google.
Thanks.
Jetty version(s) jetty 12.0.10
Jetty Environment ee10
Java version/vendor
(use: java -version)
GAE java 21OS type/version Ubuntu-1ubuntu122.04.1
Description When uploading a multipart file, we are getting a NullPointerException. Tracing the source, it looks like the compliance or complianceListener is null. This was working in jetty 9, but stopped working after upgrading with jetty 12. I'm not sure if I am missing anything. We are using springboot 3.3.0 to get the multipart files, and this is hosted on GAE.
This is the formData posted and the request headers contains the multipart/form-data