Symptom
- When running the Introscope Host Adater or Byte Code Adapter activities in the managed system configuration of a Java system, the following error is raised in the defaultTrace of the Solution Manager Java:
[Setup]Failed to configure Introscope HostAdapter Agent for <agent name>
[EXCEPTION]
java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'str'
at java.lang.StringBuffer.<init>(StringBuffer.java:103)
at com.sap.sup.admin.wily.hostagent.config.AgentConfigWriter.createFileDestinationForSapJ2EE(AgentConfigWriter.java:704)
at com.sap.sup.admin.wily.hostagent.config.AgentConfigWriter.processComponentSAP_J2EE_ENGINE(AgentConfigWriter.java:484)
at com.sap.sup.admin.wily.hostagent.config.AgentConfigWriter.prepareSapAgentConfiguration(AgentConfigWriter.java:245)
at com.sap.sup.admin.wily.hostagent.Setup.prepareAgentConfiguration(Setup.java:273)
at com.sap.sup.admin.wily.hostagent.Setup.executeSetup(Setup.java:98)
at com.sap.sup.admin.wily.hostagent.Setup.executeSetup(Setup.java:62)
at com.sap.sup.admin.setup.AppCfgTasks.configureEPAgent(AppCfgTasks.java:67)
at com.sap.sup.admin.setup.ServerSetupStep.runExec(ServerSetupStep.java:243)
at com.sap.sup.admin.setup.ServerSetupStep.execute(ServerSetupStep.java:302)
at com.sap.smd.agent.plugins.remotesetup.SapInstance.setup(SapInstance.java:691)
at com.sap.sup.admin.setup.SapCluster.setup(SapCluster.java:1899)
at com.sap.sup.admin.setup.SapCluster.runClusterSetup(SapCluster.java:2141)
at com.sap.sup.admin.setup.ws.SetupWrapper._rManagedSetup(SetupWrapper.java:561)
at com.sap.sup.admin.setup.ws.SetupWrapper.managedSetup(SetupWrapper.java:351)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(...more) - In the LMDB, the data suppliers of that particular system are missing:
Read more...
Environment
- Solution Manager 7.2
- Java managed system
Product
SAP Solution Manager 7.2
Keywords
Introscope/Byte Code Adapters: Exception : while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'str' , KBA , SV-SMG-DIA , Diagnostics , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview