JavaScript code
1: db=database;
2: theView=db.getView(compositeData.PDviewname);
Error while executing JavaScript computed expression Script interpreter error, line=2, col=12: [TypeError] Exception occurred calling method NotesDatabase.getView(null) null