java.lang.NullPointerException when creating Order Release (Doc ID 1493273.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

When attempting to create a Order Release, the following error occurs.

ERROR
-----------------------
java.lang.NullPointerException
  at glog.order.orderpacking.calculator.ShipUnitGrossWeightCalculator.calculateAndSet(ShipUnitGrossWeightCalculator.java:50)
  at glog.order.orderpacking.calculator.ShipUnitGrossWeightCalculator.calculate(ShipUnitGrossWeightCalculator.java:29)
  at glog.order.orderpacking.OutputShipUnit.processFormula(OutputShipUnit.java:533)
  at glog.order.orderpacking.OutputShipUnit.calculateWeight(OutputShipUnit.java:475)
  at glog.order.orderpacking.OutputShipUnit.calculate(OutputShipUnit.java:123)
  at glog.order.orderpacking.Packer.calcOutputShipUnits(Packer.java:286)
  at glog.order.orderpacking.Packer.pack(Packer.java:156)
  at glog.server.query.order.OrderReleasePersistenceHelper.packAndCalcOrder(OrderReleasePersistenceHelper.java:1568)
  at glog.server.query.order.OrderReleasePersistenceHandler.preSave(OrderReleasePersistenceHandler.java:84)
  at glog.util.persistence.PersistenceManager.execute(PersistenceManager.java:96)
  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:116)
  at glog.server.compareengine.CompareEngine.compare(CompareEngine.java:77)
  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)



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