The runtime has encountered an unexpected error.
Error source
Page Name:/startPageNew.xsp
Control Id: _id176
Exception
Error while executing JavaScript computed expression
Script interpreter error, line=9, col=88: Error calling method 'lastElement()' on java class 'java.util.Vector'
JavaScript code
1: if(rowData.getColumnValue("$13") === "IBM"){
2: return true;
3: }else{
4: var nam:NotesName=null;
5: var doc:NotesDocument = rowData.getDocument();
6: if(doc == null){
7: return false;
8: }else{
9: var auth:NotesName = session.createName(doc.getItemValue("editorlist").lastElement())
10: //print ("Author is... " + auth)
11: var authOrg = auth.getOrganization();
12: //print ("Author Org is... " + authOrg)
13: if(authOrg === "IBM"){
14: return true;
15: }else if(doc.hasItem("authoribmer")){
16: if(doc.getItemValueString("authoribmer") === "y"){
17: return true;
18: }else{
19: return false;
20: }
21: }
22: }
23: }