search cancel

Smart patch silent install fails

book

Article ID: 257980

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Upgrading from 10.6.2 to 10.7.2 and we are observing issues with the silent install of the Smart patch. The response.varfile.patch  found at the .install4j sub directory after a manual installation of the smart patch.

The following error is being returned:

+ cd /tmp/DevTest10_7_2_patches
+ sudo -u spw_calisa_m_reng_01 /tmp/DevTest10_7_2_patches/devtest-patch-10.7.2.176.hf26-linux-x64.sh -q /tmp/DevTest10_7_2_patches/response.varfile.patch
Unpacking JRE ...
Starting Installer ...
In screen "Display CA license agreement [LicenseAgreementScreen]", property "Validation expression":
java.lang.NullPointerException
        at com.install4j.script.I4jScript_Internal_164.eval(I4jScript_Internal_164.java:1)
        at com.install4j.script.I4jScript_Internal_164.evaluate(I4jScript_Internal_164.java:*32)
        at com.install4j.runtime.installer.helper.Script.evaluate(Script.java:33)
        at com.install4j.runtime.installer.ContextImpl.runScript(ContextImpl.java:208)
        at com.install4j.runtime.installer.ContextImpl.runScript(ContextImpl.java:202)
        at com.install4j.runtime.installer.ContextImpl.runBooleanScript(ContextImpl.java:59)
        at com.install4j.runtime.installer.ContextImpl.runBooleanScript(ContextImpl.java:241)
        at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.runValidationScript(AbstractHeadlessScreenExecutor.java:153)
        at com.install4j.runtime.installer.frontend.headless.UnattendedScreenExecutor.handleScreen(UnattendedScreenExecutor.java:103)
        at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.execute(AbstractHeadlessScreenExecutor.java:102)
        at com.install4j.runtime.installer.controller.Controller.lambda$execute$0(Controller.java:171)

 

Environment

Release : 10.7

Cause

Incorrect upgrade script configuration.

Resolution

The upgrade shell script was missing -varfile parameter. After adding this parameter is installation went fine.