String pageMasterFirst = this.properties.get("page-master-first").getString();
String pageMasterRepeating = this.properties.get("page-master-repeating").getString();
try {
pf = this.layoutMasterSet.getLayoutMaster(pageMasterFirst).getPageMaster();
pr = this.layoutMasterSet.getLayoutMaster(pageMasterRepeating).getPageMaster();
this.pageMasterFactory = new RepeatingPageMasterFactory(pf, pr);
} catch (java.lang.NullPointerException e) {
throw new FOPException("at least one of the page-master names in "
+ "sequence-specifier-repeating is not in "
+ "layout-master-set");
}