Reproducer for quarkusio/quarkus#44976
To automatically test:
quarkus test
quarkus extension remove jfr
quarkus extension add jfr
To manually test:
quarkus dev
curl -v http://localhost:8080
-> should respond HTTP 302 Foundcurl -v http://localhost:8080/hello
-> should respond HTTP 200 OK, with "Hello from Quarkus REST" bodycurl -v http://localhost:8080/hello/upload
-> this is a POST endpoint. We should expect an HTTP 405, but instead we get HTTP 500 and an NPE stacktrace.curl -v http://localhost:8080 -H 'Accept: application/xml'
-> should respond HTTP 406 since this endpoint produces plaintext and we accept XML, but instead we get HTTP 500 and an NPE stacktrace.quarkus extension remove jfr
- Repeat steps 2-5