bobby_tamayo_automic

How to avoid SAP Agent from crashing ?

Discussion created by bobby_tamayo_automic on Jan 8, 2018
Issue:
The SAP Agent v12.1 will crash when executing R3_IMPORT_JOBS  function.

Error message in the agent log:
20180108/170505.911 - U02004202 Create new API connection with client '100' and user 'BTA'.
java.lang.NoSuchMethodError: com.automic.network.api.MessageBuffer.getByte()B
     at com.uc4.communication.Connection.handleNativeMessage(Connection.java:772)
     at com.uc4.communication.Connection.readMessage(Connection.java:734)
     at com.uc4.communication.Connection.<init>(Connection.java:301)
     at com.uc4.communication.Connection.loadBalancing(Connection.java:626)
     at com.uc4.communication.Connection.open(Connection.java:504)
     at com.uc4.communication.Connection.open(Connection.java:436)
     at com.uc4.ex.sap.SAPJob.openUserConnection(SAPJob.java:1179)
     at com.uc4.ex.sap.R3_IMPORT_JOBS.execute(R3_IMPORT_JOBS.java:90)
     at com.uc4.ex.sap.SAPJob.execute(SAPJob.java:358)
     at com.uc4.ex.Job.run(Job.java:466)
     at com.uc4.ex.ThreadPool$RunnableDecorator.run(ThreadPool.java:53)
     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
     at java.util.concurrent.FutureTask.run(Unknown Source)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)


Workaround:
For the time being, the workaround is to use SAP Agent v12.0.2 with your AE server v12.1

Outcomes