bug in pdl validation pseudo-solved. sometimes, statement.isStatementValid returns null and this is decided to not be considered as an error