RHEL7 "Installer User Interface Mode Not Supported"

Document ID : KB000094794
Last Modified Date : 04/05/2018
Show Technical Document Details
Question:
When running the installer for APM10.7.0 on Redhat 7.4, I get the below response.  I followed the recommendation on https://comm.support.ca.com/kb/_apm-10-7-installer-fails-to-launch-on-linux/KB000073863 and did an "unset DISPLAY" but I get the same message. I turned on LAX debug and the output is below.

XMLScriptReader: unable to parse the provided script file.  File may have been invalid...
java.lang.NullPointerException
        at Flexeraan9.am(Unknown Source)
        at Flexeraan9.ak(Unknown Source)
        at Flexeraan9$1.aa(Unknown Source)
        at Flexeraais.ad(Unknown Source)
        at Flexeraan9.ac(Unknown Source)
        at com.zerog.ia.installer.LifeCycleManager.b1(Unknown Source)
        at com.zerog.ia.installer.LifeCycleManager.a8(Unknown Source)
        at com.zerog.ia.installer.LifeCycleManager.au(Unknown Source)
        at com.zerog.ia.installer.LifeCycleManager.consoleInstallMain(Unknown Source)
        at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
        at com.zerog.ia.installer.Main.main(Unknown Source)
        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 com.zerog.lax.LAX.launch(Unknown Source)
        at com.zerog.lax.LAX.main(Unknown Source)
Unable to load the script.

=======================================================

Installer User Interface Mode Not Supported

Unable to load and to prepare the installer in console or silent mode.

=======================================================
Environment:
10.7 but could happen in earlier 10.x as well.  Redhat 7.x using Java 1.8.0_112 or higher.  This could also happen updates between 65 and 112 as well.  This was also reproduced on 1.8.0_171.
Answer:
This is caused by a bug in Java 1.8.  Initially tried to reproduce on 1.8.0_65 and did not run into the problem.  Only when upgrading to 1.8.0_171 was the problem reproduced.  In the above situation, it was seen on 1.8.0_112.  In the links below, it states that this was first reported in update 131, however this has not been verified.

From this link:
https://community.softwaregrp.com/t5/ArcSight-Discussions/RHEL-7-4-SmartConnector-7-7-User-Interface-Mode-Not-Supported/m-p/1638462#M42013

We can get to this link which contains the workaround.  In short, the workaround is to switch back to Utopia fonts in /etc/fonts/local.conf.  Patches in 1.8.1.131 switched the font to STIX.  This doesn't work right with the headless java in OpenJDK.

https://community.softwaregrp.com/t5/ArcSight-Discussions/Anyone-attempt-a-SC-install-on-RHEL-7-4-yet/m-p/1627797#M38643

So all you have to do is create a local.conf in /etc/fonts (if you don't have a file, my system did not.) and enter the text from the second link in there.  Save and exit and re-run the installer.  This should fix the "Installer User Interface Mode Not Supported" error.
 
Additional Information: