"java.lang.NullPointerException" Error When Using "Topic" Element Via Integration (Doc ID 876872.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 6.0 to 6.0.3
This problem can occur on any platform.

Symptoms

-- Problem Statement:

When uploading a "Topic" element via integration, it is failing with the following NullPointer when the event is not configured in the TOPIC_ALIAS database table. Prior to version 6.0, the TOPIC_ALIAS  configuration was not required:

java.lang.NullPointerException
at glog.server.workflow.batchprocess.TopicAliasInfo.getIsSynchronous(TopicAliasInfo.java:152)
at glog.server.workflow.process.ProcessControlWorkflow.execute(ProcessControlWorkflow.java:221)
at
glog.server.workflow.process.ProcessControlSessionBean.request(ProcessControlSessionBean.java:44)
at
glog.server.workflow.process.ProcessControlSessionServerSideEJBWrapper.request(ProcessControlSessionServerSideEJBWrapper.java:52)
at
glog.server.workflow.process.ProcessControlSessionServerSideEJBWrapper_uw0g7k_EOImpl.request(ProcessControlSessionServerSideEJBWrapper_uw0g7k_EOImpl.java:282)
at glog.integration.application.topic.TopicInterface.persistXML(TopicInterface.java:59)
at glog.integration.application.BaseInterface.persistXMLBase(BaseInterface.java:186)
at
glog.integration.application.TransactionProcessor.processTransaction(TransactionProcessor.java:217)
at
glog.integration.application.TransactionProcessor.processTransaction(TransactionProcessor.java:356)
at glog.server.workflow.transproc.TransProc.execute(TransProc.java:106)
at glog.server.workflow.SimpleWorkflow.execute(SimpleWorkflow.java:23)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at
glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.execute(WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.java:352)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:347)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:141)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:96)
at glog.util.event.EventThread.run(EventThread.java:83)
at java.lang.Thread.run(Thread.java:595)

-- Steps To Reproduce:
1. Create an XML for element "TOPIC"
2. Create a Custom Agent Event that is included in the above TOPIC xml
3. Create a Test Shipment included in the that above TOPIC xml
4. Upload this XML via Integration Manager.

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