Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

NullPointerException in Cloud Connector

Hi there, today I installed the latest SAP HANA CLoud Connector (2.7.2) from SAP Development Tools for Eclipse and after installing a System Certificate and restarting the service, the application (on the backend) crashes whenever I try to login as Administrator, showing the exception stacktrace which I attached below.

My question: Is this a known issue or am I doing something wrong?

Best Regards,

Martin

Tags:
Former Member
Former Member replied

This is the corresponding stack trace:

com.sap.scc.config.SccConfigurationException: java.security.cert.CertificateParsingException: X.509 Certificate is incomplete: subject field is empty, and SubjectAlternativeName extension is absent

  at com.sap.scc.util.KeyStoreFile.load(KeyStoreFile.java:89)

  at com.sap.scc.config.SccKeyStore.load(SccKeyStore.java:53)

  at com.sap.scc.config.SccKeyStoreFactory.createCommonKeyStoreConfig(SccKeyStoreFactory.java:43)

  at com.sap.scc.config.SccConfig.loadCommons(SccConfig.java:235)

  at com.sap.scc.config.SccConfig.getInstance(SccConfig.java:118)

  at org.apache.jsp.main_jsp._jspService(main_jsp.java:68)

  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)

  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)

  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at com.sap.scc.ui.rt.UTF8Filter.doFilter(UTF8Filter.java:23)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)

  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)

  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)

  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

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

Caused by: java.security.cert.CertificateParsingException: X.509 Certificate is incomplete: subject field is empty, and SubjectAlternativeName extension is absent

  at sun.security.x509.X509CertInfo.verifyCert(X509CertInfo.java:733)

  at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:706)

  at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:167)

  at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1804)

  at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:195)

  at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:100)

  at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:339)

  at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:716)

  at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)

  at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224)

  at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:70)

  at java.security.KeyStore.load(KeyStore.java:1445)

  at com.sap.scc.util.KeyStoreFile.load(KeyStoreFile.java:99)

  at com.sap.scc.util.KeyStoreFile.load(KeyStoreFile.java:60)

  ... 34 more|

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question