Skip to Main Content

java.lang.NullPointerException when installing Oracle XE 18c on Windows 10

Sam WheatApr 22 2021

I am trying to install Oracle XE 18c on Windows 10. I am not an Administrator however I run setup.exe as Administrator.
I received the error messages shown in the logs below. I've spent quite a bit of time with Google trying to fix this and have found these issues which appear to be similar but don't provide answers that work in my case.
https://community.oracle.com/tech/developers/discussion/4206663/error-error-code-1603-when-installing-oracle-database-xe-18c-in-a-windows-server-2019-docker-conta
https://community.oracle.com/tech/developers/discussion/4277262/18c-xe-installation-doesnt-complete

I have also made the correction suggested here:
https://support.quest.com/appassure/kb/119453/understanding-error-1603-fatal-error-during-installation

Thanks in advance for the assist.

=== Logs ===

Contents of Windows Installation log
INFO: Oracle Listener configuration started
SEVERE: Oracle listener configuration was not successful. Verify the corresponding logs under C:\app\Player1\product\18.0.0\cfgtoollogs\netca and try again
CustomAction RunNETCAScript returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 17:11:51: InstallFinalize. Return value 3.
Action 17:11:51: Rollback. Rolling back action:
Action ended 17:12:24: INSTALL. Return value 3.

Contents of C:\app\Player1\product\18.0.0\cfgtoollogs\netca\netca_OraDB18Home2-2104215PM1130.log

Parsing command line arguments:
Parameter "orahome" = C:\app\Player1\product\18.0.0\dbhomeXE
Parameter "instype" = typical
Parameter "inscomp" = client,oraclenet,javavm,server,ano
Parameter "insprtcl" = tcp
Parameter "cfg" = local
Parameter "authadp" = NO_VALUE
Parameter "responsefile" = C:\app\Player1\product\18.0.0\dbhomeXE\network\install\netca_typ.rsp
Parameter "silent" = true
Parameter "orahnam" = OraDB18Home3
Parameter "ouiinternal" = true
Parameter "listenerparameters" = DEFAULT_SERVICE=XE
Parameter "lisport" = 1521
Done parsing command line arguments.
Oracle Net Services Configuration:
Profile configuration complete.
Listener "LISTENER" already exists.
ServiceAliasException: Could not initialize Service Alias: TNS-04404: no error
caused by: oracle.net.config.ConfigException: TNS-04414: File error
caused by: TNS-04610: No literals left, reached end of NV pair
Error: null
Check the trace file for details: C:\app\Player1\product\18.0.0\cfgtoollogs\netca\trace_OraDB18Home2-2104215PM1130.log
Oracle Net Services configuration failed. The exit code is 1

Contents of C:\app\Player1\product\18.0.0\cfgtoollogs\netca\trace_OraDB18Home2-2104215PM1130.log

main] [ 2021-04-21 17:11:51.669 PDT ] [WindowsSystem.isCRSConfigured:2047] isOCRConfigured=false
[main] [ 2021-04-21 17:11:51.669 PDT ] [cluster.Version.isPre:-1] version to be checked 18.0.0.0.0 major version to check against 11
[main] [ 2021-04-21 17:11:51.669 PDT ] [cluster.Version.isPre:-1] isPre.java: Returning FALSE
[main] [ 2021-04-21 17:11:51.669 PDT ] [cluster.Version.isPre:-1] version to be checked 18.0.0.0.0 major version to check against 11 minor version to check against 2
[main] [ 2021-04-21 17:11:51.669 PDT ] [cluster.Version.isPre:-1] isPre: Returning FALSE for major version check
[main] [ 2021-04-21 17:11:51.669 PDT ] [WindowsSystem.isHAConfigured:2071] olrKey = HKEY_LOCAL_MACHINE\Software\Oracle\Olr
[main] [ 2021-04-21 17:11:51.669 PDT ] [WindowsSystem.regKeyExists:1618] WindowsSystem.regKeyExists: mainkey= HKEY_LOCAL_MACHINE subkey = Software\Oracle\Olr
[main] [ 2021-04-21 17:11:51.669 PDT ] [nativesystem.WindowsNative.Native]
Native function: inside RegKeyExists Software\Oracle\Olr HKEY_LOCAL_MACHINE

[main] [ 2021-04-21 17:11:51.669 PDT ] [nativesystem.WindowsNative.Native] InitializeSecurity - successful

[main] [ 2021-04-21 17:11:51.669 PDT ] [nativesystem.WindowsNative.Native] Opening registry key...

[main] [ 2021-04-21 17:11:51.669 PDT ] [nativesystem.WindowsNative.Native] Key 'Software\Oracle\Olr' does not exist

[main] [ 2021-04-21 17:11:51.669 PDT ] [WindowsSystem.isHAConfigured:2098] isOLRConfigured=false
[main] [ 2021-04-21 17:11:51.669 PDT ] [ConfigureListener.isHASConfigured:1718] Is Oracle Restart configured: false
[main] [ 2021-04-21 17:11:51.669 PDT ] [ConfigureListener.isHASRunning:1747] Is Oracle Restart running: false
[main] [ 2021-04-21 17:11:51.669 PDT ] [ConfigureListener.listenerExists:444] Is listener "LISTENER" already exists: true
[main] [ 2021-04-21 17:11:51.669 PDT ] [SilentConfigure.performSilentConfigure:214] Typical service alias configuration.
java.lang.NullPointerException
at oracle.net.ca.ConfigureServiceAlias.setEndpoints(ConfigureServiceAlias.java:187)
at oracle.net.ca.ConfigureServiceAlias.buildCommonNSNDescription(ConfigureServiceAlias.java:158)
at oracle.net.ca.ConfigureServiceAlias.typicalConfigure(ConfigureServiceAlias.java:90)
at oracle.net.ca.SilentConfigure.performSilentConfigure(SilentConfigure.java:217)
at oracle.net.ca.InitialSetup.<init>(NetCA.java:4325)
at oracle.net.ca.NetCA.main(NetCA.java:460)

This post has been answered by Sam Wheat on Apr 22 2021
Jump to Answer
Comments
Post Details
Added on Apr 22 2021
4 comments
3,763 views