"java.lang.NullPointerException" Exception Editing a Trade Transaction (Doc ID 1633880.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.3.2 to 6.3.4 [Release 6.3]
Information in this document applies to any platform.

Symptoms


 When attempting to edit a newly created Trade Transaction, the following error occurs.

 -- Error
java.lang.NullPointerException

java.lang.NullPointerException
at glog.webserver.util.Producer.getPkFromChild(Producer.java:573)
at glog.server.producer.ProducerBean.createMasterElementRemote(ProducerBean.java:84)
at glog.server.producer.ProducerServerSideEJBWrapper.createMasterElementRemote(ProducerServerSideEJBWrapper.java:40)
at glog.server.producer.producer_Producer_e10675_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.server.producer.producer_Producer_e10675_EOImpl.createMasterElementRemote(Unknown Source)
at glog.server.producer.producer_Producer_e10675_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

-- Steps
 The issue can be reproduced at will with the following steps.

Logged into a support instance running OTM 6.3.2

1. Navigated to Trade Compliance Management > Trade Transaction Management > Trade Transaction
2. Clicked New and then the following:

Transaction ID
Related Object Type - SHIPMENT
Conveyance Name - TEST
Conveyance Flag - TEST
Transport Mode - AIR
Inco Term - CFR

3. Then click Finish
4. Then when clicking the Edit Button I get the following above error

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