SAP Knowledge Base Article - Preview

2767603 - Failed to enable <SID> logical database

Symptom

While trying to enable a logical database with XSA Administration tools you get error:XSA_Error.JPGXSA_Error.JPG

Failed to enable <SID> logical database

while trying to invoke the method java.lang.String.toUpperCase() of a null object returned from com.sap.xs2rt.core.generated.rest.model.TenantCredentials.getTenantName()

In xscontroller log:

[Controller.Exceptions]-[error]-[XSA_ADMIN]-[22285]: Unexpected internal controller error.
java.lang.NullPointerException: while trying to invoke the method java.lang.String.toUpperCase() of a null object returned from com.sap.xs2rt.core.generated.rest.model.TenantCredentials.getTenantName()
at com.sap.xs2rt.installation.impl.hana.tenant.TenantInfo.<init>(TenantInfo.java:79)
at com.sap.xs2rt.installation.impl.hana.tenant.TenantUtils.registerTenant(TenantUtils.java:870)
at com.sap.xs2rt.controller.impl.server.rest.AdminResourceHandler.lambda$putAdminTenantByName$18(AdminResourceHandler.java:646)
at com.sap.xs2rt.controller.impl.server.rest.ResourceHandlerBase.executeRequestImpl(ResourceHandlerBase.java:438)
at com.sap.xs2rt.controller.impl.server.rest.ResourceHandlerBase.executeRequest(ResourceHandlerBase.java:300)
at com.sap.xs2rt.controller.impl.server.rest.AdminResourceHandler.putAdminTenantByName(AdminResourceHandler.java:628)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:76)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:148)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:191)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:200)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:103)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:493)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:415)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:104)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:277)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:272)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:268)
at org.glassfish.jersey.internal.Errors.process(Errors.java:316)
at org.glassfish.jersey.internal.Errors.process(Errors.java:298)
at org.glassfish.jersey.internal.Errors.process(Errors.java:268)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:289)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:256)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:703)
at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:377)
at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:593)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:573)
at java.lang.Thread.run(Thread.java:836)


Read more...

Environment

SAP Hana XS Advanced

Keywords

tenant db, admin tool , KBA , BC-XS-RT , OP Runtime / XS Controller , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.