on 2015 Jun 02 9:02 AM
Hi Experts,
We are getting below error recorded under backgroud task in Production. Please help to understand the root cause of below issue.
Log Level:Error
Timestamp:06/02/2015 01:33 AM (CDT)
Session ID:odp_qs_report_execution_event
User:daemon
Description:Query Server Event DaemonMessage:Unable to execute report CEDARS AND DDSDescription:
Description of documentException:java.lang.NullPointerException: while trying to invoke the method com.sap.odp.common.platform.AccountIfc.getOrganization() of a null object loaded from field com.sap.odp.comp.query.queryserver.ReportExecutionController.mRunAsUser of an object loaded from local variable 'this'Stack Trace:java.lang.NullPointerException: while trying to invoke the method com.sap.odp.common.platform.AccountIfc.getOrganization() of a null object loaded from field com.sap.odp.comp.query.queryserver.ReportExecutionController.mRunAsUser of an object loaded from local variable 'this'
at com.sap.odp.comp.query.queryserver.ReportExecutionController.sendEmailNotification(ReportExecutionController.java:1633)
at com.sap.odp.comp.query.queryserver.ReportExecutionController.fileTransferDeliverReport(ReportExecutionController.java:1518)
at com.sap.odp.comp.query.queryserver.ReportExecutionController.executeReport(ReportExecutionController.java:615)
at com.sap.odp.comp.query.queryserver.ReportExecutionController.run(ReportExecutionController.java:339)
at java.lang.Thread.run(Thread.java:763)
Regards,
Deepak
Request clarification before answering.
HI Rajiv,
This Error is related to the Schedule Task of type Report Execution Task.
Please check that report try to extract that report and see what error it throws.
You can also delete this Event and restart this event. and check it this error is occurring back.
Thanks
Kanchan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rajiv ,
By looking in to the trace which you have given above, there is an error in the scheduled task which is of type "report execution task" .
check the query in that report and execute it and find whether it is fetching results or throwing any error.
Regards
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
The error is actually triggered by a Scheduled Task (Report Execution Task) - for report "CEDARS AND DDS".
The error message itself is a bit strange, because it would imply that Run As User is null in the Scheduled Task config... could you check the Task if it's correctly configured?
Bogdan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.