SAP Knowledge Base Article - Preview

2461694 - java.lang.NullPointerException: when accessing the "Security Tab" in the Agent Administration - Solution Manager 7.2

Symptom

  • When clicking on the "Security Tab" in the Agent Administration the following error is shown:
    Error occurred in TaskRunner
    [EXCEPTION]
    java.lang.NullPointerException: while trying to invoke the method javax.management.openmbean.CompositeData.get(java.lang.String) of a null object loaded from local variable 'point'
     at com.sap.smd.api.util.SMDAgentCertificateGenerator.getP4SKeyStoreAliases(SMDAgentCertificateGenerator.java:521)
     at com.sap.smd.api.util.SMDAgentCertificateGenerator.access$200(SMDAgentCertificateGenerator.java:58)
     at com.sap.smd.api.util.SMDAgentCertificateGenerator$SslPortExaminerAction.run(SMDAgentCertificateGenerator.java:444)
     at com.sap.smd.api.util.SMDAgentCertificateGenerator$SslPortExaminerAction.run(SMDAgentCertificateGenerator.java:434)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.smd.api.util.SMDAgentCertificateGenerator.getCertificateIssuers(SMDAgentCertificateGenerator.java:487)
     at com.sap.smd.api.util.SMDAgentCertificateGenerator.getActiveSslCertificate(SMDAgentCertificateGenerator.java:428)
     at com.sap.smd.server.health.check.ServerCAValidityCheck.doCheck(ServerCAValidityCheck.java:25)
     at com.sap.smd.server.health.ServerHealthRunner.run(ServerHealthRunner.java:80)
     at com.sap.smd.server.exec.TaskRunner.run(TaskRunner.java:47)
     at com.sap.smd.server.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:785)
     at java.lang.Thread.run(Thread.java:763)

  • The following picture shows the problem
    Error.jpg

  • Error in the Java logs:

    #2.0#2017 06 15 11:35:53:345#+0400#Error#com.sap.security.ssl.config.jmx#
    #BC-JAS-SEC#sap.com/tc~sec~ssl~ear#F0000A90E21C116A0000002D073C013E#18520850000001479##com.sap.security.ssl.config.jmx80CD454C671E78C40026028519804#80bfc7891de711e78c400260285198040#System [21]#Plain##
    SMP:convert() failed:
    [EXCEPTION]
    java.lang.NullPointerException: while trying to invoke the method java.lang.String.getBytes(java.lang.String) of a null object loaded from local variable 'str'
     at com.sap.security.ssl.config.KeystoreConnector.stringToBytes(KeystoreConnector.java:159)
     at com.sap.security.ssl.config.KeystoreConnector.encodeViewName(KeystoreConnector.java:167)
     at com.sap.security.ssl.config.KeystoreConnector.getViewManager(KeystoreConnector.java:62)
     at com.sap.security.ssl.config.CfgRuntime.validateKeystoreView(CfgRuntime.java:321)
     at com.sap.security.ssl.config.InstanceBeanWrapper.convert(InstanceBeanWrapper.java:239)
     at com.sap.security.ssl.config.InstanceBeanWrapper.getAccessPoints(InstanceBeanWrapper.java:198)


Read more...

Environment

Solution Manager 7.2

Product

SAP Solution Manager 7.2

Keywords

KBA , BC-JAS-SEC , Security, User Management , SV-SMG-DIA-SRV-AGT , Agent Framework , 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.