java.lang.NullPointer Exception Generated Uploading XML for Device and Power Unit (Doc ID 1123060.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 6.1.1 to 6.1.2 - Release: 6.1 to 6.1
Information in this document applies to any platform.

Symptoms

Using OTM 6.1 when uploading the following OTM device_update_with_power_association.xml, it fails with the following exception:

CAUGHT THE FOLLOWING EXCEPTION WHILE PROCESSING TRANSACTION: java.lang.NullPointerException

java.lang.NullPointerException
at glog.ejb.device.db.DeviceObjectJoinPK.hashCode(DeviceObjectJoinPK.java:45)
at java.util.HashMap.put(HashMap.java:450)
at glog.util.persistence.LoadingRequirements.processloadRequirementForContainer(LoadingRequirements.java:147)
at glog.util.persistence.LoadingRequirements.processloadRequirementForContainer(LoadingRequirements.java:142)
at glog.util.persistence.LoadingRequirements.<init>(LoadingRequirements.java:70)
at glog.util.persistence.LoadingRequirementsInt.<init>(LoadingRequirementsInt.java:26)
at glog.util.persistence.GenericContainerLoader.<init>(GenericContainerLoader.java:48)
at glog.util.genericcontainer.GenericContainerMerger.mergeUpdatedFields(GenericContainerMerger.java:723)
at glog.integration.xmlbasewrapper.XmlBaseWrapper.getMergedBusinessObject(XmlBaseWrapper.java:386)
at glog.integration.xmlbasewrapper.XmlBaseWrapper.persistViaContainer(XmlBaseWrapper.java:327)
at glog.integration.application.device.DeviceInterface.persistXML(DeviceInterface.java:74)
at glog.integration.application.BaseInterface.persistXMLBase(BaseInterface.java:196)
at glog.integration.application.TransactionProcessor.processTransaction(TransactionProcessor.java:224)
at glog.integration.application.TransactionProcessor.processTransaction(TransactionProcessor.java:363)
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:353)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:353)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:141)


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