Error in SSRS report created using query

I have following DP class and after deployment while preview i get following error.I am new to ax kindly help.### //Class Declaration### ### ### ### ### ### ### ### ### [SRSReportParameterAttribute(### classstr### ### ### (My_SrsReportContractClass))]###

public### class My_SalesRDPSampleClass extends### ### ### SRSReportDataProviderBase### //### ### ### [SRSReportDataSetAttribute(“my_salestable”)]### ### ### ### ### public### My_TempTable getTmpSalesTable()### {### ### select * from### my_salestable;### ### return### my_salestable;### //process report### public void processReport()### {### SalesIdBase sales_id;### FromDate fdate;### ToDate tdate;### QueryRun queryrun;### ;### contract=this.parmDataContract();### sales_id=contract.parmsalesid();### fdate=contract.parmFromDate();### tdate=contract.parmToDate();### query=this.parmQuery();### queryRun=new QueryRun(query);### while(queryrun.next())### {### salestable=queryrun.get(tableNum(salestable));### salesline=queryrun.get(tableNum(salesline));### ### my_salestable.SalesId=Salestable.SalesId;### my_salestable.CustAccount=SalesTable.CustAccount;### my_salestable.DeliveryName=SalesTable.DeliveryName;### my_salestable.DeliveryDate=SalesTable.DeliveryDate;### my_salestable.SalesQty=SalesLine.SalesQty;### my_salestable.SalesStatus=SalesTable.SalesStatus;### my_salestable.insert();### }### }

//Error I get

Error 3 An exception occurred in the query metadata execution. The exception is Error executing code: Args object not initialized.

Stack trace

(S)\Classes\Args
(S)\Classes\QueryRun\new
(S)\Classes\My_SalesRDPSampleClass\processReport - line 14
(S)\Classes\SrsReportProviderQueryBuilder\initialize - line 57
(S)\Jobs\

Unable to create queryRun
Object ‘QueryRun’ could not be created. Report4.AutoDesign1 [Preview] 0 0

Hi Amit ,

Did u create any query for that . if u created then assign that query in your RDP class .

[SRSReportParameterAttribute(classstr(My_SrsReportContractClass)),### SRSReportQueryAttribute(querystr(your newly created query))

]

public class My_SalesRDPSampleClass extends SRSReportDataProviderBase

{

}

Best Regard

sumit