Hi Francesco, I wonder if the problem could be related to the implementation of OpenAPI available on the container (I see there was a minor update in between WildFly 30 and 31). You might consider posting to https://groups.google.com/g/wildfly or asking in https://wildfly.zulipchat.com/
Cheers On Wed, Mar 6, 2024 at 8:27 AM Francesco Chicchiriccò <[email protected]> wrote: > Hi there, > I am lately finding a strange behavior with CXF 4.0 (tried all versions > including the upcoming 4.0.4), OpenAPI and Wildfly 31. > > Essentially, it fails with NPE at [1], meaning that the call from [2] is > returning with null paths property. > > Everything is instead working as expected with other containers as Tomcat > 10 and Payara 6, but also Wildfly 30. > > Does this ring any bell? > > Regards. > > [1] > https://github.com/apache/cxf/blob/main/rt/rs/description-openapi-v3/src/main/java/org/apache/cxf/jaxrs/openapi/OpenApiCustomizer.java#L120 > [2] > https://github.com/apache/cxf/blob/main/rt/rs/description-openapi-v3/src/main/java/org/apache/cxf/jaxrs/openapi/OpenApiCustomizedResource.java#L77 > > -- > Francesco Chicchiriccò > > Tirasa - Open Source Excellence > http://www.tirasa.net/ > > Member at The Apache Software Foundation > Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail > http://home.apache.org/~ilgrosso/ > > -- Alessio Soldano Manager, Software Engineering Red Hat <https://www.redhat.com>
