XMLImport To Migrate Page File To MDS Generates java.lang.NullPointerException

(Doc ID 2253230.1)

Last updated on APRIL 12, 2017

Applies to:

Oracle Applications Framework - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, SUPPORT

When trying to migrate Page files to MDS repository using XMLImporter, we have the below error:

Exception in thread "main" java.lang.NullPointerException
  at oracle.adf.mds.tools.util.CommandLineProcessor.(CommandLineProcessor.java:123)
  at oracle.jrad.tools.xml.importer.XMLImporter.importDocuments(XMLImporter.java:162)
  at oracle.jrad.tools.xml.importer.XMLImporter.main(XMLImporter.java:84)
Exception in thread "main" java.lang.NullPointerException
  at oracle.adf.mds.tools.util.CommandLineProcessor.(CommandLineProcessor.java:123)
  at oracle.jrad.tools.xml.importer.XMLImporter.importDocuments(XMLImporter.java:162)
  at oracle.jrad.tools.xml.importer.XMLImporter.main(XMLImporter.java:84)


The issue can be reproduced at will with the following steps:

java oracle.jrad.tools.xml.importer.XMLImporter $JAVA_TOP/proquest/oracle/apps/ar/ebl/exceptions/webui/ExceptionMainPG.xml -username apps -password -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST= )(PORT=))(CONNECT_DATA=(SID=)))" -rootdir $JAVA_TOP

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms