cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to configure IS Agent: java.lang.NullPointerException: while trying to get the length of an array loaded from local variable 'cds'

Former Member
0 Kudos

Hello All,

I am trying to configure technical monitoring for Enterprise Portal (SAP EHP1 FOR SAP NETWEAVER 7.3) in our Solution Manager (SM 7.1 SP12).

In Managed System Configuration, I am getting error on step 'Configure automatically' under activity 'Byte Code Adaptor Installation'.

Below are the contents of SMDAgentApplication.0.log.

Error      Failed to configure IS Agent:

[EXCEPTION]

java.lang.NullPointerException: while trying to get the length of an array loaded from local variable 'cds'

        at com.sap.smdagent.vmmanager.impl710.VMManager711._getSettings(VMManager711.java:227)

        at com.sap.smdagent.vmmanager.impl700.VMManager.getSettings(VMManager.java:156)

        at com.sap.smd.helper.j2ee.J2eeNodeIntrospector.getJavaPath(J2eeNodeIntrospector.java:43)

        at com.sap.smd.wily.WilyHandlerService.performCommonSteps(WilyHandlerService.java:1602)

        at com.sap.smd.wily.WilyHandlerService._configureISAgent(WilyHandlerService.java:1512)

        at com.sap.smd.wily.WilyHandlerService.access$000(WilyHandlerService.java:68)

        at com.sap.smd.wily.WilyHandlerService$2.run(WilyHandlerService.java:935)

        at sun.reflect.GeneratedMethodAccessor915.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at com.sap.smd.server.exec.asio.AsioInvocationHandler$1.call(AsioInvocationHandler.java:94)

        at com.sap.smd.server.util.concurrent.FutureResult$1.run(FutureResult.java:90)

        at com.sap.smd.server.exec.asio.AsioInvocationHandler$AsioRunner.run(AsioInvocationHandler.java:285)

        at com.sap.smd.server.exec.TaskRunner.run(TaskRunner.java:46)

        at com.sap.smd.server.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:785)

        at java.lang.Thread.run(Thread.java:743)

Please help to resolve the problem.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello All,

This error has been resolved by reinstalling SMD agent.

Thank you.

Regards,

Mandar DIvekar

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

Thank you for your quick suggestions.

I restarted SMD and host agents - got same error again.

I followed instructions given in SAP Note 1999042  - got same error again

Also we are getting this error on only one application server.

System is having Central instance and 3 application instances.

On 2nd application server we are getting this error, rest servers are having no issues in 'Byte Code Adaptor Installation' step.

Regards,

Mandar

Former Member
0 Kudos

Hello Mandar,

It looks like LM service update.

Please check SM 7.1 SP12 supported LM service.

Refer following SAP note too:-

1999042 - Managed System Configuration: Introscope Host Adapter ended with java.lang.NullPointerExc...

Regards

Anand

former_member198633
Contributor
0 Kudos

Hi Mandar,

Please try these steps:

1. Stop SMD Agent

2. Stop SAP Host agent

3. Start SAP Host Agent

4. Start SMD Agent

If the problem persists, you can try to restart the managed system's host, which should clear the problem.

Regards,

Peter