cancel
Showing results for 
Search instead for 
Did you mean: 

SAP NetWeaver Scheduler. Job Param passing

Former Member
0 Kudos

Hello everyone,

I am facing some problems concerning passing empty params to job in NetWeaver console and I'd appreciate any help from your side.

All my params have similar definition:

<job-definition-parameter name="paramName" data-type="String" direction="IN" display="Y" nullable="N"/>.

All in all I have 10 parameters. If I fill all parameters except first with any value, when I try to get value of first parameter in onJob(...) method by ctx.getJobParameter(paramName).getStringValue() it has value "false"! Then if I don't input any value in param2 or param3 or etc system doesn't run job at all. In log I have next exception:

"[EXCEPTION]

#1#java.lang.NullPointerException

at com.sap.engine.services.scheduler.runtime.db.DBHandler.addJobParameters(DBHandler.sqlj:113)

at com.sap.engine.services.scheduler.runtime.db.DBHandler.addJob(DBHandler.sqlj:211)

at com.sap.engine.services.scheduler.runtime.mdb.MDBJobExecutor.executeJob(MDBJobExecutor.java:315)

at com.sap.engine.services.scheduler.runtime.executor.JobExecutorImpl.executeJob(JobExecutorImpl.java:95)

at com.sap.engine.services.scheduler.runtime.JobExecutionRuntimeImpl.executeJobForAllMethods(JobExecutionRuntimeImpl.java:569"

At first, I thought the problem was in attribute nullable="N". But it wasn't. Has anybody encountered with similar issue.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Well, people, I even don't know what to say. I've asked 3 questions in this forum, none of them where answered. 2 ideas come to mind. First, no one uses NetWeaver Scheduler because it is a application full of bugs and total absence of documentation. Second, there are no experts in this forum who can give some good suggestion.

I am just waisting my time here...

gmblom
Active Contributor
0 Kudos

It looks like you are in the wrong forum with this question. This forum is on the SAP netweaver application SAP Central Process Scheduling (CPS). This question is on the internal scheduler.

Former Member
0 Kudos

Thank you, G. Blom. There are huge amount of forums, so I select a wrong one.