Junit for AccessControlUtils methods | Cannot read the array length because "<local4>" is null
Hi Everyone,
In my junit how can I pass this below line
JackrabbitAccessControlList acl = AccessControlUtils.getAccessControlList(accessControlManager, "path");
at this line my junit is getting an exception, so I want to ignore or pass this line. How can I control above line in my junit?
java.lang.NullPointerException: Cannot read the array length because "<local4>" is null
at org.apache.jackrabbit.commons.jackrabbit.authorization.AccessControlUtils.getAccessControlList(AccessControlUtils.java:138)
at
@tanika02 @aanchal-sikka @manvisharma @lukasz-m
Thanks!!