My Oracle Support Banner

java.lang.NullPointerException When Running RCU For WebCenter Portal In Silent Mode (Doc ID 1364305.1)

Last updated on OCTOBER 10, 2018

Applies to:

Oracle Fusion Middleware - Version 11.1.1.2.0 and later
Information in this document applies to any platform.

Symptoms

 Using Repository Creation Utility (RCU) to create the schemas for WebCenter Portal using the silent option as documented in the RCU User's Guide

Oracle Fusion Middleware Repository Creation Utility User's Guide 11g Release 1 (11.1.1)
4.2 Using the -silent Command

The following schemas are required:

The command line to create the schemas is:

./rcu
  -silent
  -createRepository
  -databaseType ORACLE
  -connectString <host>:<port>:<servicename>
  -dbUser SYS
  -dbRole SYSDBA
  -schemaPrefix <prefix>
  -component MDS
  -component WEBCENTER
  -component PORTLET
  -component DISCUSSIONS
  -component ACTIVITIES
  -f < passwordfile

where passwordfile is in the format:

<sys_password>
<mds_password?
<webcenter_password>
<portlet_password>
<discussions_password>
<activities_password>


The command fails with the following error:


Exception in thread "main" java.lang.NullPointerException
at java.lang.String.<init>(String.java:177)
at java.lang.String.valueOf(String.java:2840)
at oracle.sysman.assistants.rcu.backend.RCUCommandLineParser.validateCustomVariables(RCUCommandLineParser.java:1927)
at oracle.sysman.assistants.rcu.backend.RCUCommandLineParser.setComponentSelections(RCUCommandLineParser.java:1618)
at oracle.sysman.assistants.rcu.backend.SilentRCUModel.performOperation(SilentRCUModel.java:132)
at oracle.sysman.assistants.rcu.backend.RCUModel.startOperation(RCUModel.java:281)
at oracle.sysman.assistants.rcu.Rcu.execute(Rcu.java:324)
at oracle.sysman.assistants.rcu.Rcu.main(Rcu.java:344)


No errors are observed in the rcu.log.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.