Patch installer for Linux version is not working. Please find attached error log.
search cancel

Patch installer for Linux version is not working. Please find attached error log.

book

Article ID: 261965

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Patch installation is failing with below error in Linux machine.

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at com.install4j.runtime.installer.frontend.GUIHelper.invokeOnEDT(GUIHelper.java:440)
    at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(AbstractHeadlessScreenExecutor.java:82)
    at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(ConsoleScreenExecutor.java:25)
    at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(InstallerConsoleScreenExecutor.java:6)
    at com.install4j.runtime.installer.Installer.getScreenExecutor(Installer.java:84)
    at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:60)
    at com.install4j.runtime.installer.Installer.main(Installer.java:46)
    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.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84)
    at com.install4j.runtime.launcher.UnixLauncher.start(UnixLauncher.java:69)
    at install4j.Installer1582635058.main(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
    at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
    at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
    at com.install4j.runtime.installer.frontend.GUIHelper.invokeOnEDT(GUIHelper.java:436)
    ... 13 more
Caused by: java.lang.NullPointerException
    at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264)
    at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219)
    at sun.awt.FontConfiguration.init(FontConfiguration.java:107)
    at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:774)

Environment

Release : 10.7

Cause

 Devtest 10.7.2 Linux/Unix version requires fontconfig package. In the absence of fontconfig package, we see an error as below:

    Caused by: java.lang.NullPointerException
    at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264)

Resolution

Please install fontconfig package in your linux machine and then start the patch installation. You can install this package using below command.

  yum install fontconfig