[jboss-jira] [JBoss JIRA] (WFLY-13587) Smallrye OpenAPI throws java.lang.NullPointerException because of null parameter schema

Paul Ferraro (Jira) issues at jboss.org
Thu Jun 11 15:02:00 EDT 2020


     [ https://issues.redhat.com/browse/WFLY-13587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Ferraro moved JBEAP-19684 to WFLY-13587:
---------------------------------------------

              Project: WildFly  (was: JBoss Enterprise Application Platform)
                  Key: WFLY-13587  (was: JBEAP-19684)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: MP OpenAPI
                           (was: MP OpenAPI)
    Affects Version/s: 20.0.0.Final
                           (was: EAP-XP-1.0.0.GA-CR1)
                           (was: EAP-XP-1.0.0.GA-CR2)


> Smallrye OpenAPI throws java.lang.NullPointerException because of null parameter schema
> ---------------------------------------------------------------------------------------
>
>                 Key: WFLY-13587
>                 URL: https://issues.redhat.com/browse/WFLY-13587
>             Project: WildFly
>          Issue Type: Bug
>          Components: MP OpenAPI
>    Affects Versions: 20.0.0.Final
>            Reporter: Paul Ferraro
>            Assignee: Paul Ferraro
>            Priority: Major
>
> This was spotted while running RESTEasy test suite against EAP XP 1.0.0 CR1 and CR2.
> Initially it seemed that the specific test case [1] was failing due to the same root cause of those tracked by the following issue:
> * https://issues.redhat.com/browse/JBEAP-19600
>  
> Eventually it turned out that the changes to fix the above mentioned issue didn't solve this specific test case failures and a deeper investigation was done, see [2].
> Specifically a strange behavior is represented by the fact that the reproducer built manually by using the same resources used by the test case could be deployed successfully while the WAR archive generated by Arquillian in the RESTEasy TS was failing to deploy regularly.
> The investigation detailed at https://github.com/smallrye/smallrye-open-api/issues/353#issuecomment-639556113 provided evidence that there are some cases in which the parameter schema would be set to null, so the issue [2] was created upstream.
> [1]
> https://github.com/resteasy/Resteasy/blob/3.11/testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/form/Resteasy1405Test.java
> [2]
> https://github.com/smallrye/smallrye-open-api/issues/359



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list