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
Some fields can be of primitive type int and some - java.lang.Integer, but htmlbeanz does not distinguish them.
Consider that such field is opt for deletion from UI. When ObjectWrapper is doing reverse wrapping, fields which are int are trying to set to null, if element.isEmpty==true - so NPE occurs.
Fix is to handle primirive types manually and set their default value.
NPE when deleting element of type int and saving
The text was updated successfully, but these errors were encountered: