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
privatefinalSimpleListProperty<Part> parts = newSimpleListProperty<>(this, "parts", FXCollections.observableArrayList());
there is a problem when deserializing a json object that has a null value:
{
"parts": null,
...
}
You will later get a java.lang.UnsupportedOperationException exception when trying to add objects to the list. It would be nice if there was an option to simply create an empty list when accepting a null value, that way we wouldn't have to then do a null check on the list's getter.
The text was updated successfully, but these errors were encountered:
When you have a
SimpleListProperty
such asthere is a problem when deserializing a json object that has a null value:
You will later get a
java.lang.UnsupportedOperationException
exception when trying to add objects to the list. It would be nice if there was an option to simply create an empty list when accepting a null value, that way we wouldn't have to then do a null check on the list's getter.The text was updated successfully, but these errors were encountered: