As I understand, line 15 of prePromptModifyContract() contains contract.parmQuotationID(salesQuotationTable.QuotationId) and the error says that the contract variable is null.
The reason probably is that your RDP class isn’t linked to the contract; at least I don’t see SRSReportParameterAttribute in your code.