Hi Everyone,
I got this error one time "at function a!flatten [line 5]: Cannot read the array length because "<local3>" is null" in expression rule. Unable to find the root cause because local3 is not used anywhere in the expression.
Can anyone please help me out.
Discussion posts and replies are publicly visible
I received this error in Java. In my case, it means that you are iterating over an array, and internally, your variable is converted into a different, local variable (e.g., local1 or local3). Check the elements of your array for null values.
local1
local3
null
I did check for null values, it does not occur any more.