Posted: 27 Dec 2018 12:34 EST Last activity: 2 Jan 2019 14:34 EST
Index out of bound exception even after adding condition to check
I'm trying to build a functionality where it requires to set a property from each pxResult in data page. So,
I'm trying to set D_xxx[Name:Param.xyz].pxResults(<Current>) to pyDisplayHarness.xxx(<Append>). And I'm getting a error "Caught exception: java.lang.IndexOutOfBoundsException: The Reference D_xxx_pa17190481373751915pz.pxResults(3) is not valid. Accessing invalid index 3 whereas the list has 1 elements from Requestor".So, I have tried to add few conditions to check @SizeOfPropertyList(D_xxx[Name:Param.xyz].pxResults)>1. Even then I'm seeing this error.