A new SAP agent was installed and configured but when we start a SAP_TEST_JOB the following job stay in status Start Initiated.
After few minutes the agent will automatically stop and the Job will be aborted.
In the Job log the following appears::
U02000155 Internal error (Exception).
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:459)
at java.util.Properties.setProperty(Properties.java:166)
at com.uc4.ex.sap.SAPHost.getHostProperties(SAPHost.java:1250)
at com.uc4.ex.sap.ConnectionDescriptor.<init>(ConnectionDescriptor.java:61)
at com.uc4.ex.sap.SAPJob.execute(SAPJob.java:310)
at com.uc4.ex.Job.run(Job.java:470)
at com.uc4.ex.ThreadPool$RunnableDecorator.run(ThreadPool.java:53)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
In the SAP Agent log:
U00003620 Routine 'UCEX_R' forces trace because of error.
U02000009 Job 'SAP.TEST.JOB' with RunID '17573210' ended with return code '3'.
U02001026 Job 'SAP.TEST.JOB' with RunID '17573210' has been removed from the job table.
java.lang.ExceptionInInitializerError
at com.uc4.ex.sap.UCXJR3X.events(UCXJR3X.java:147)
at com.uc4.ex.AdminRoutine.sendExInfo(AdminRoutine.java:114)
at com.uc4.ex.AdminRoutine.aliveCheck(AdminRoutine.java:91)
at com.uc4.ex.MessageDispatcher.consumeMessage(MessageDispatcher.java:305)
at com.uc4.ex.MessageDispatcher.dispatchLogicalMessage(MessageDispatcher.java:163)
at com.uc4.ex.cp.CPConnection.dispatch(CPConnection.java:966)
at com.uc4.ex.cp.CPConnection.access$300(CPConnection.java:74)
at com.uc4.ex.cp.CPConnection$3.run(CPConnection.java:896)
at com.uc4.ex.ThreadPool$RunnableDecorator.run(ThreadPool.java:53)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:459)
at java.util.Properties.setProperty(Properties.java:166)
at com.uc4.ex.sap.SAPHost.getHostProperties(SAPHost.java:1250)
at com.uc4.ex.sap.ConnectionDescriptor.<init>(ConnectionDescriptor.java:80)
at com.uc4.ex.sap.SAPEventHandler.<init>(SAPEventHandler.java:83)
at com.uc4.ex.sap.SAPEventHandler.<clinit>(SAPEventHandler.java:43)