on 07-09-2010 1:50 PM
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.
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.