cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CPS : Failed to create the job in the SAP system

karthik_narayan2
Explorer
0 Kudos

Hi All,

Recently i came across an issue where job failed with the error - " Failed to create the job in the SAP system".

Below is the log :

Failed to create the job in the SAP system
com.redwood.scheduler.api.exception.SchedulerAPIPersistenceException: JCS-XXXXX: Modification vetoed: Unexpected exception during listener execution
com.redwood.scheduler.persistence.api.PersistenceException$ModelModificationVetoException: JCS-XXXXX: Modification vetoed: Unexpected exception during listener execution
java.lang.NullPointerException: null

JCS-122035: Unable to persist: JCS-XXXXX: Modification vetoed: Unexpected exception during listener execution.

Please let me know what could be the cause for this issue and is there any fix.

thanks in advance.

Regards,

KN

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Kartik,

A shot in the dark... I faced a similar issue for a job for which I was modifying the batch job definition and it was submitted at the same instant by the recurrence.

First run failed with persistence error and further runs were successful. If this is not the case, Please ignore the post

Cheers,

Aswin

h_carpenter
Active Contributor
0 Kudos

Hi KN,

A java.lang.NullPointerException (NPE) is a bug in the software. There should be a better error message. Do you have any operator messages from around that time?

What kind of job was this ? Was the SAP system available and did other jobs run around that time on that system ? Did you submit this job or was it intercepted ?

I would use the 'Get Support Files' action on the job and create an OSS ticket. Also provide the defaut trace for around the time the job ran.

Hope this helps, sorry I cannot pinpoint exactly what the issue is.

HP

karthik_narayan2
Explorer
0 Kudos

Hi ,

Thanks for the response.

There is no operator messages recorded for this failure. 

its an ECC job chain, system was available during the job execution and its scheduled to run every hour.

later runs of the same job chain completed successfully.

as suggested i will try get support files related the failed job chain.

Regards,

KN

0 Kudos

agree,  with suppot files collected, it's better to create an OSS ticket.  it's not easy to upload trace files and analyze it through SDN forum.