Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle Client 19c silent installation Windows: [FATAL] java.lang.NullPointerException

user-5i8zqMar 22 2023 — edited Mar 22 2023

I want to install the 32 bit Oracle Client for the 19c Database on Windows in silent mode. When I install it in the GUI it works perfectly fine, but when I install it in silent mode i get the error: [FATAL] java.lang.NullPointerException That is everything I get

That is the Response file I'm using

#-------------------------------------------------------------------------------
# Do not change the following system generated value. 
#-------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_clientinstall_response_schema_v19.0.0

#-------------------------------------------------------------------------------
# Unix group to be set for the inventory directory.
#------------------------------------------------------------------------------- 
UNIX_GROUP_NAME=
#-------------------------------------------------------------------------------
# Complete path of the Oracle Base.
#-------------------------------------------------------------------------------
ORACLE_BASE=C:\Oracle
#--------------------------------------------------------------------------------------------
# Specify the Oracle Home user.                 
#
# Use Built-in Account or specify a Windows User Account with limited privilege to 
# install and configure the Oracle Home.
#
# Set oracle.install.IsBuiltInAccount to true if you want to use BuiltIn Account.
#
# Set oracle.install.IsBuiltInAccount to false if you want to use Windows Account
# user as Oracle Home user. 
#--------------------------------------------------------------------------------------------
oracle.install.IsBuiltInAccount=false
oracle.install.OracleHomeUserName=Oracle
oracle.install.OracleHomeUserPassword=

and that is the cmd command I execute

c:\Oracle\NT_193000_client_home\setup.exe -silent -waitforcompletion -responseFile "c:\Oracle\NT_193000_client_home\install\response\client.rsp" ORACLE_BASE="c:\Oracle" oracle.install.OracleHomeUserPassword="password"

I also tried to:

  • Leave out the "
  • Leave out the ORACLE_BASE and oracle.install.OracleHomeUserPassword of the command and put both in the response file
  • Add -force, -noconsole and -nowait to the command

The responseFile is generated by Oracle and is the same as the template response file. The only difference is that I've added the values.

Executing the same command and leave out the -silent works perfectly. The GUI opens, everything is filled out right and i just have to hit enter 4 times to install it.

I've searched for multible hours but wasn't able to find something. Help would be much appriciated! Thanks.

Comments
Post Details
Added on Mar 22 2023
5 comments
5,270 views