I have an existing role which used to work just fine. But recently, when I try to assign the role to an user he encounters Portal Runtime Error on hitting the portal URL. When I tried to check the role from Content Admin; and opened the role, I encountered the following error:
java.lang.IndexOutOfBoundsException: PlAttribute: there is no value to this attribute
at com.sapportals.portal.pcd.pl.PlAttribute.getInternal(PlAttribute.java:1199)
at com.sapportals.portal.pcd.pl.PlAttribute.get(PlAttribute.java:1174)
at com.sapportals.portal.pcd.pcm.roles.RoleNavigationImpl.getAttributeValue(RoleNavigationImpl.java:427)
at com.sapportals.portal.pcd.pcm.roles.RoleNavigationImpl.getAttributeValue(RoleNavigationImpl.java:378)
at com.sapportals.portal.navigation.NavigationNode.getAttributeValue(NavigationNode.java:345)
The same workset is added to some other role too, but it is functioning as expected.