TCNHI6 - Issue Modifying Ship Unit Fields (javaNullPointerException) (Doc ID 2022450.1)

Last updated on JULY 17, 2015

Applies to:

Oracle Transportation Management - Version 6.2.10 and later
Information in this document applies to any platform.

Symptoms


When trying to edit the total weight and save the order release the following error was seen:


java.lang.NullPointerException
at glog.server.query.order.OrderReleasePersistenceHelper.addPackingRules(OrderReleasePersistenceHelper.java:793)
at glog.server.query.order.OrderReleasePersistenceHelper.mapPackedShipUnitLines(OrderReleasePersistenceHelper.java:638)
at glog.server.query.order.OrderReleasePersistenceHelper.mapPackedShipUnitsFromSuContainers(OrderReleasePersistenceHelper.java:562)
at glog.server.query.order.OrderReleasePersistenceHelper.mapping(OrderReleasePersistenceHelper.java:124)
at glog.server.query.order.OrderReleasePersistenceHelper.packAndCalcOrder(OrderReleasePersistenceHelper.java:1613)
at glog.server.query.order.OrderReleasePersistenceHandler.preSave(OrderReleasePersistenceHandler.java:84)
at glog.util.persistence.PersistenceManager.execute(PersistenceManager.java:97)
at glog.server.compareengine.TopicPublisher.persist(TopicPublisher.java:161)
at glog.server.compareengine.TopicPublisher.publish(TopicPublisher.java:64)
at glog.server.compareengine.CompareEngine.compare(CompareEngine.java:117)
at glog.server.compareengine.CompareEngine.compare(CompareEngine.java:78)
at glog.util.genericcontainer.GenericContainerUtilSessionBean.compare(GenericContainerUtilSessionBean.java:139)
at glog.util.genericcontainer.GenericContainerUtilSessionBean.compareAndStore(GenericContainerUtilSessionBean.java:126)
at glog.util.genericcontainer.GenericContainerUtilSessionServerSideEJBWrapper.compareAndStore(GenericContainerUtilSessionServerSideEJBWrapper.java:292)
at glog.util.genericcontainer.GenericContainerUtilSessionServerSideEJBWrapper_6hrtm7_EOImpl.compareAndStore(GenericContainerUtilSessionServerSideEJBWrapper_6hrtm7_EOImpl.java:499)
at glog.webserver.update.AbstractUpdate.callGenericContainer(AbstractUpdate.java:359)
at glog.webserver.update.GenericContainerXMLUpdate.process(GenericContainerXMLUpdate.java:191)
at glog.server.xmlupdate.XMLUpdateSessionBean.updateAndTrack(XMLUpdateSessionBean.java:244)
at glog.server.xmlupdate.XMLUpdateSessionServerSideEJBWrapper.updateAndTrack(XMLUpdateSessionServerSideEJBWrapper.java:376)
at glog.server.xmlupdate.XMLUpdateSessionHome_x72wrp_EOImpl.updateAndTrack(XMLUpdateSessionHome_x72wrp_EOImpl.java:354)
at glog.server.xmlupdate.XMLUpdateSessionHome_x72wrp_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)
[

The issue can be reproduced at will with the following steps:
1. Having a packaged item defined without the following

  Number of Layers on Ship Unit
  Quantity per Layer

2. Try to edit the order release which contains the above packaged item
3. The error appears



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