Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
3.10
-
None
-
Patch, Important
Description
MethodUtils:774
if (classArray[offset].equals(toClassArray[offset]))
{ continue; }else if (ClassUtils.isAssignable(classArray[offset], toClassArray[offset], true)
cause NPE if classArray[offset] is null. Can you please extend the if condition with a null check, like this?
if (classArray[offset] != null && classArray[offset].equals(toClassArray[offset]))