Found first in v3 2.0.19 and confirmed in the current snapshot.
What happens if you accidentally give an invalid value for the parameter style? For example:
...
"parameters": [
{
"name": "myParam",
"style": "DERP",
...
At the surface, you'll see a parse result with single mysterious message: "null". Looking deeper, you'll see that the encounter with the bad style (line 1559) leads to an NPE at line 1564.
1558 value = getString("style", obj, false, location, result);
1559 setStyle(value, parameter, location, obj, result); // Bad style found here
1560
1561 Boolean explode = getBoolean("explode", obj, false, location, result);
1562 if (explode != null) {
1563 parameter.setExplode(explode);
1564 } else if(parameter.getStyle().equals(StyleEnum.FORM)){ // ...then NPE happens here
1565 parameter.setExplode(Boolean.TRUE);
1566 } else {
1567 parameter.setExplode(Boolean.FALSE);
1568 }
Found first in v3 2.0.19 and confirmed in the current snapshot.
What happens if you accidentally give an invalid value for the parameter style? For example:
At the surface, you'll see a parse result with single mysterious message: "null". Looking deeper, you'll see that the encounter with the bad style (line 1559) leads to an NPE at line 1564.