-
Bug
-
Resolution: Done
-
Major
-
EAP-XP-1.0.0.GA-CR1, EAP-XP-1.0.0.GA-CR2
-
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(OpenApiAnnotationScanner.java:422) ...
The failure was initially noticed while testing RESTEasy against EAP XP 1.0.0 CR1 and CR2.
- clones
-
WFLY-13547 Smallrye OpenAPI throws java.lang.NullPointerException when processing JAX-RS resources which define methods acception a SortedSet type parameter
- Closed
- is incorporated by
-
JBEAP-19888 (7.3.z) Upgrade SmallRye OpenAPI to 1.1.23
- Closed