Skip to Content
0

Problem installing XSA under HANA Express

Oct 03, 2017 at 03:15 PM

285

avatar image

Hi!

I tried to install SAP HANA Express 2.0 on a SLES. The installation is using the binary option, I tried to install all the components together and the components individually. During the installation of the XSA I got the following error messages:

14:44:14.841 - INFO: Output line 111: Output line 74: at com.sap.xs2rt.installation.impl.hana.content.HanaContentInstallUpdateProcedure.main(HanaContentInstallUpdateProcedure.java:162)
14:44:14.841 - INFO: Output line 112: Output line 75: Caused by: java.lang.Exception: ---------------------------
14:44:14.841 - INFO: Output line 113: Output line 76: ##ERROR## step : "Hana-Service-Broker configuration" reported: while trying to get the length of a null array loaded from local variable 'files'
14:44:14.841 - INFO: Output line 114: Output line 77: java.lang.NullPointerException: while trying to get the length of a null array loaded from local variable 'files'
14:44:14.841 - INFO: Output line 115: Output line 78: at com.sap.xs2rt.installation.impl.util.InstallationGlobals.getControllerTrustCerts(InstallationGlobals.java:1293)

com.sap.xs2rt.installation.impl.util.ParallelInstallationStep.lambda$install$0(ParallelInstallationStep.java:201)
14:44:14.842 - INFO: Output line 126: Output line 89: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
14:44:14.842 - INFO: Output line 127: Output line 90: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
14:44:14.842 - INFO: Output line 128: Output line 91: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
14:44:14.842 - INFO: Output line 129: Output line 92: at java.lang.Thread.run(Thread.java:805)
14:44:14.842 - INFO: Output line 130: Output line 93: ---------------------------
14:44:14.842 - INFO: Output line 131: Output line 94: ---------------------------
14:44:14.842 - INFO: Output line 132: Output line 95: ##ERROR## step : "UAA broker configuration" reported: while trying to get the length of a null array loaded from local variable 'files'
14:44:14.842 - INFO: Output line 133: Output line 96: java.lang.NullPointerException: while trying to get the length of a null array loaded from local variable 'files'

14:44:14.843 - INFO: Output line 142: Output line 105: at com.sap.xs2rt.installation.impl.util.ParallelInstallationStep.lambda$install$0(ParallelInstallationStep.java:201)
14:44:14.843 - INFO: Output line 143: Output line 106: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
14:44:14.843 - INFO: Output line 144: Output line 107: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
14:44:14.843 - INFO: Output line 145: Output line 108: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
14:44:14.843 - INFO: Output line 146: Output line 109: at java.lang.Thread.run(Thread.java:805)
14:44:14.843 - INFO: Output line 147: Output line 110: ---------------------------
14:44:14.843 - INFO: Output line 148: Output line 111: ---------------------------
14:44:14.843 - INFO: Output line 149: Output line 112: ##ERROR## step : "Configure UAA SAML Trust" reported: while trying to get the length of a null array loaded from local variable 'files'
14:44:14.843 - INFO: Output line 150: Output line 113: java.lang.NullPointerException: while trying to get the length of a null array loaded from local variable 'files'

All the error messages are related to a local variable name files which I don't understand where it is coming from. Any ideas? Thank you!

Best regards.

Miguel Angel González

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

5 Answers

Lucia Subatin
Oct 03, 2017 at 05:03 PM
1

What do you mean by "install all the components together and the components individually"? Why not the setup script? What failed the first time? I remember a similar rant of errors due to lack of space on disk, but it may be totally unrelated.

Cheers,

Lucia.

Share
10 |10000 characters needed characters left characters exceeded
Denys van Kempen
Oct 04, 2017 at 09:02 AM
1

Hola Miguel,

There is little information that can be parsed from this type of generic java.lang.NullPointerException messages.

As Lucia already answered, could be lack of disk space. Another explanation could be not enough memory.

For the server + applications version of SAP HANA, express edition 32 GB RAM is recommended.

Are you installing HANA on an Intel NUC?


Share
10 |10000 characters needed characters left characters exceeded
Frank Schuler
Oct 03, 2017 at 03:22 PM
-1

Hello Miguel,

Installing the SAP HANA, express edition on a plain SLES is of course possible, but there might be an easier way:

Tips & tricks for an optimized HANA 2.0, express edition installation on an Intel 6th generation NUC

Best regards

Frank

Share
10 |10000 characters needed characters left characters exceeded
Miguel González Oct 13, 2017 at 11:21 AM
0

Hi guys,

Thank you for all your answers, I really appreciate your help..

Lucia Subatin: I tried to install it with the setup script but the error is the same. When the setup script try to install the XSA then I got the error and the script finish. I tried installing the components one by one, meaning I ran the setup script for installing all the componentes (but not the XSA) and then I tried to install the XSA individually. Everything works correctly but the XSA fails with the error message I posted.

Denys van Kempen: The server have 41GB which should be enough. I size it with extra resources since the hardware is not an issue, the server is currently running on a SLES server on VMware. On the filesystem I have about 78GB extra space to use so disk space shoudln't be an issue. The total size of the filesystem is 120GB considering the OS, I will create a new filesystem and move the software to that filesystem to release some space.

About the error message, it refers to a local variable named 'files' which I have no idea where it comes from...

14:44:14.841 - INFO: Output line 114: Output line 77: java.lang.NullPointerException: while trying to get the length of a null array loaded from local variable 'files'

Best regards.

Miguel Angel González

Show 6 Share
10 |10000 characters needed characters left characters exceeded

That error message does not say anything unfortunately. What is the output of free -g? On which step is the XSA installation failing? Cockpit, for example? What are the hdblcm logs saying? Did you uninstall everything before running the scripts again?

1

Thanks Miguel,

Adding to Lucia's questions

The error message, INFO with a NullPointerException, is unfortunately a "null pointer" to the real cause.

I understand your computer is sized according to the recommendations. So, let's assume hardware=OK and move up the stack: OS. Is SLES according to specs? Is it SLES? SUSE Linux for SAP? Have you checked the following notes?

2205917 - SAP HANA DB: Recommended OS settings for SLES 12 / SLES for SAP Applications 12

1984787 - SUSE LINUX Enterprise Server 12: Installation notes

0

Hi Miguel, any update on this?

0

Hi,


Sorry for the delay answering the topic. Unfortunately everything I tried didn't work, I went through the SAP Notes that Denys provided but the SLES is configured according the specs described in these notes. I also created a independent filesystem and moved the installation software there to see if the problem was related to the disk. I tried reinstalling the HANA Express several times (which include the full cycle of uninstall and install) following different ways but it didn't work.


After all this I talked with my team and we decided to install a HANA 2.0 with a development license since the system will be used as POC by one of our clients. Surprisingly I didn't have any problem installing the XSA with the rest of components even if the installation is quite similar to the one in HANA Express.

I would like to thank you all your message even if I couldn't solve the issue. Thank you guys!

1

Thanks Miguel for the update. Have you contacted SAP support at any stage? Sounds like development would have to look at some low level debug logs to solve this issue.

0

Hi Denys,

I opened a support message to the SAP Support but unfortunately they don't give any support to SAP HANA Express and they told me to open a message on the SCN. That was one of the main reasons why we instaled a small HANA Database with a development license in order to do the POC.

0
avatar image
Former Member Nov 26, 2017 at 01:50 AM
0

I faced the same problem.

I found that the error " java.lang.NullPointerException: while trying to get the length of a null array loaded from local variable 'files'" is lake of permissions on installation files. I gave the installation folder chmod -R 777 and run the installation as h4cadm and - AHL - the problem solved.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

to be more precise, I started the installation as root, then after the error raised i ran:

su - h4cadm

/hana/shared/H4C/global/hdb/saphostagent_setup/installsapinit.sh

after finishing

I installed the rest of components by (as root):

cd /hana/shared/H4C/hdblcm/

./hdblcm --component_root="path to the installation"

then choose update components.

the setup continued normally and finished successfully.

0

Thanks Ibraheem,

For future readers, this is documented here:

Regards

Denys / SAP HANA Academy

Subscribe to our YouTube Channel
Join us on LinkedIn
Follow us on Twitter
Github code samples
Facebook
Google+

0