You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated RFC3339DateFormat.clone() method defers to super.clone(), but the numberFormat field has not been initialized in the RFC3339DateFormat constructor, and so DateFormat.clone() raises a NullPointerException.
Description
The generated
RFC3339DateFormat.clone()
method defers tosuper.clone()
, but thenumberFormat
field has not been initialized in theRFC3339DateFormat
constructor, and soDateFormat.clone()
raises a NullPointerException.Full comment on #11311 (comment)
openapi-generator version
5.4.0
Suggest a fix
Amend
modules/openapi-generator/src/main/resources/Java/RFC3339DateFormat.mustache
constructor to:The text was updated successfully, but these errors were encountered: