Symptoms
IBP_ShowTemplates is erroring
Cause
IBP 1.1.0.0 proxy handling has been changed. Due to this the documentation in https://docs.runmyjobs.cloud/9.2.8/SapIBP#enable-connections-through-http-proxy is outdated.
Workaround
Setup Proxy credential according https://docs.runmyjobs.cloud/9.2.8/Credentials/index.html#proxy-server-credentials (with Protocol HTTP instead of Protocol login). Example
Protocol: HTTP
Real User: http://<proxyhost>:<proxyport>
Password: (dummy password)
Endpoint: <hostname>
Virtual User: proxy
Affected version
IBP 1.1.0.0+
Resolution
The documentation will be corrected in a future version
Reference
DOC-3227
Error
IBP_ShowTemplates definition is failing with below error
-- JOB RUN STACK TRACE -- com.redwood.scheduler.script.api.ScriptEngineEvaluationException at com.redwood.scheduler.script.java.impl.Java.evaluateCallableInt(Java.java:183) at com.redwood.scheduler.script.java.impl.Java.evaluateCallable(Java.java:136) at com.redwood.scheduler.script.java.impl.Java.evaluate(Java.java:108) at com.redwood.scheduler.scriptjobservice.impl.ScriptJob.execute(ScriptJob.java:145) at com.redwood.scheduler.systemjobservice.api.JobWorker.runProcessExecute(JobWorker.java:264) at com.redwood.scheduler.systemjobservice.api.JobWorker.processExecute(JobWorker.java:201) at com.redwood.scheduler.systemjobservice.api.JobWorker.doWork(JobWorker.java:122) at com.redwood.scheduler.systemjobservice.api.JobWorker.doWork(JobWorker.java:1) at com.redwood.scheduler.infrastructure.workqueue.WorkQueueWorker.run(WorkQueueWorker.java:79) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: com.redwood.scheduler.infrastructure.exception.ReplacementException at com.redwood.scheduler.infrastructure.util.ExceptionUtil.wrap(ExceptionUtil.java:243) at com.redwood.scheduler.script.java.impl.Java.evaluateJava(Java.java:224) at com.redwood.scheduler.script.java.impl.Java.lambda$2(Java.java:108) at com.redwood.scheduler.script.java.impl.classloader.ThreadContextRunnable.call(ThreadContextRunnable.java:48) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ... 1 more Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.redwood.scheduler.script.java.impl.Java.evaluateJava(Java.java:220) ... 6 more Caused by: java.lang.NullPointerException at com.redwood.scheduler.app.ibp.IBPConnection.throwIBPException(IBPConnection.java:510) at com.redwood.scheduler.app.ibp.IBPConnection.getTemplates(IBPConnection.java:142) at com.redwood.scheduler.custom.ibp.IBPClient.listTemplates(IBPClient.java:239) at com.redwood.scheduler.custom.Jobdefinition_IBP_ShowTemplates.execute(Jobdefinition_IBP_ShowTemplates.java:user code 5) at com.redwood.scheduler.custom.Jobdefinition_IBP_ShowTemplatesStub.jcsExecute(Jobdefinition_IBP_ShowTemplatesStub.java:31) ... 11 more
Comments
0 comments
Please sign in to leave a comment.