NPE when resizing SCollection due to null inherited bounds #31
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem:
Resizing an SCollection throws a NullPointerException: this.bounds is null.
Investigation:
Recommended minimal fix:
Files referenced:
Please implement the preferred approach: override resize() in SCollection to handle resizing correctly for collections, and add a small defensive null check in AbstractShape.resize() as a secondary safeguard if convenient.
Please: