OTM Fails To Generate an XML Template For Quote (Doc ID 1290952.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 5.5.06 to 6.1.4 - Release: 5.5 to 6.1
Information in this document applies to any platform.

Symptoms


OTM fails to generate a XML Template for Quote with the following Exception:

java.lang.NullPointerException
at glog.integration.tools.perf.TemplateGeneratorBuilderInstruction.copyNotNullField(TemplateGeneratorBuilderInstruction.java:56)
at glog.integration.tools.perf.TemplateGeneratorBuilderInstruction.filterChildCollectionList(TemplateGeneratorBuilderInstruction.java:48)
at glog.integration.XSDtoJava.XMLBaseCollectionHelper.generateTree(XMLBaseCollectionHelper.java:149)
at glog.integration.XSDtoJava.XMLBaseCollectionHelper.generateTree(XMLBaseCollectionHelper.java:145)
at glog.integration.XSDtoJava.XMLBaseCollectionHelper.generateTree(XMLBaseCollectionHelper.java:145)
at glog.integration.XSDtoJava.XMLBaseCollectionHelper.generateTree(XMLBaseCollectionHelper.java:166)
at glog.integration.XSDtoJava.XMLBaseCollectionHelper.convertToXML(XMLBaseCollectionHelper.java:48)
at glog.integration.XSDtoJava.XMLBaseHelper.toXML(XMLBaseHelper.java:153)
at glog.integration.XSDtoJava.XMLBase.toXMLFinal(XMLBase.java:105)
at glog.integration.XSDtoJava.XMLBase.toXMLFinal(XMLBase.java:95)
at glog.integration.xmlbasebuilder.XmlBaseBuilder.preconvertToString(XmlBaseBuilder.java:434)
at glog.integration.xmlbasebuilder.XmlBaseBuilder.createList(XmlBaseBuilder.java:397)
at glog.integration.application.quote.QuoteBuilder.create(QuoteBuilder.java:49)
at glog.integration.xmlbasebuilder.XmlBaseBuilder.createList(XmlBaseBuilder.java:371)
at glog.integration.xmlbasebuilder.XmlBaseBuilder.create(XmlBaseBuilder.java:493)
at glog.integration.xmlbasebuilder.XmlBaseBuilder.create(XmlBaseBuilder.java:488)
at glog.integration.application.quote.QuoteInterface.buildXML(QuoteInterface.java:26)
at glog.integration.application.CommandLineSessionBean.getTemplate(CommandLineSessionBean.java:816)
at glog.integration.application.CommandLineSessionServerSideEJBWrapper.getTemplate(CommandLineSessionServerSideEJBWrapper.java:616)
at glog.integration.application.CommandLineSessionHome_12qkd9_EOImpl.getTemplate(CommandLineSessionHome_12qkd9_EOImpl.java:910)
at glog.integration.application.CommandLineSessionHome_12qkd9_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:491)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:120)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

Steps to Reproduce:
---------------------------

1. Login to OTM
2. Navigate Business Process Automation>Integration>Integration Manager>Generate an XML Template
3. In the window of the "XML Template" do:

a. Leave unchecked the "Use XML Schema" option
b. Select "Quote" at the "XML Element ID" field
c. Fill in the "Object ID to Query" enter a Quote ID
d. Check "Include Data" option
e. Leave unchecked the option "Include Null Element Data"
f. Press the Submit button
g. Save the file and open it with a text editor

Inside this file is the error message when trying to generate an XML Quote:

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