-
Bug
-
Resolution: Done
-
Major
-
20.0.0.Beta1
-
None
Deployment of WAR containing JAX-RS resource classes which define methods accepting parameters of type SortedSet will fail with a NPE.
SortedSet is allowed by JAX-RS spec: https://docs.oracle.com/javaee/7/api/javax/ws/rs/FormParam.html
The following stack trace represents the output of a deployment failure when an attempt to deploy a WAR with such a resource:
Caused by: java.lang.NullPointerException at io.smallrye.openapi.runtime.scanner.ParameterProcessor.setSchemaProperties(ParameterProcessor.java:637) at io.smallrye.openapi.runtime.scanner.ParameterProcessor.getFormBodyContent(ParameterProcessor.java:605) at io.smallrye.openapi.runtime.scanner.ParameterProcessor.process(ParameterProcessor.java:404) at io.smallrye.openapi.runtime.scanner.OpenApiAnnotationScanner.processJaxRsMethod(OpenApiAnnotationScanner.java:577) at io.smallrye.openapi.runtime.scanner.OpenApiAnnotationScanner.lambda$processJaxRsResourceClass$0(OpenApiAnnotationScanner.java:422) ...
The failure was initially noticed while testing RESTEasy against EAP XP 1.0.0 CR1 and CR2.
- is cloned by
-
JBEAP-19600 (7.3.z) Smallrye OpenAPI throws java.lang.NullPointerException when processing JAX-RS resources which define methods accepting a SortedSet type parameter
- Closed
- is incorporated by
-
WFLY-13546 Upgrade smallrye-open-api to 2.0.3
- Closed