Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
8.2
-
None
Description
Code that is using @Model as
@ModelOperation
void read(Square square, SquareModel[] arr) {
arr[0] = this;
}
and later called
SquareModel[] arr = { null };
sq.read(arr);
may yield a NPE thanks to wrong generated code.