Error When Saving Prepack Order Base Without Packaged Item Id (Doc ID 1348867.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 6.2.0 and later   [Release: 6.2 and later ]
Information in this document applies to any platform.

Symptoms


When trying to 'finish' an Order Base with the Order Configuration 'Prepack', the following error is thrown:


Error

An Undefined Error Has Occurred. Please Try Again Later.
Stack Trace

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at glog.util.exception.GLException.factory(GLException.java:371)
at glog.business.item.TPackagedItem.getInstance(TPackagedItem.java:105)
at glog.server.query.order.OrderReleasePersistenceHelper.makePackedItem(OrderReleasePersistenceHelper.java:651)
at glog.ejb.orderbase.ObDetailDeriveMissingData.getOutputShipUnitLine(ObDetailDeriveMissingData.java:146)
at glog.ejb.orderbase.ObDetailDeriveMissingData.deriveMissingData(ObDetailDeriveMissingData.java:52)
at glog.ejb.orderbase.ObLineBean.deriveMissingData(ObLineBean.java:267)
at glog.ejb.orderbase.ObLineBean.prePersist(ObLineBean.java:139)
at glog.ejb.orderbase.ObLineBean.preCreate(ObLineBean.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at glog.util.beandata.BeanDataHelper$PrePost.runAndThrow(BeanDataHelper.java:345)
at glog.util.ThrowablePrivilegedAction.run(ThrowablePrivilegedAction.java:12)
at glog.util.ThrowablePrivilegedAction.doPrivileged(ThrowablePrivilegedAction.java:26)
at glog.util.beandata.BeanDataHelper$BeanCallback.call(BeanDataHelper.java:232)
at glog.util.beandata.BeanDataHelper$BeanCallback.call(BeanDataHelper.java:199)
at glog.util.beandata.BeanDataInserter.preCreate(BeanDataInserter.java:389)
at glog.util.beandata.BeanDataInserter.insert(BeanDataInserter.java:195)
at glog.util.beandata.BeanDataInserter.insert(BeanDataInserter.java:232)
at glog.util.beandata.BeanDataInserter.insert(BeanDataInserter.java:171)
at glog.util.persistence.BeanDataPersistenceExecutor.insertPerformed(BeanDataPersistenceExecutor.java:97)
at glog.util.persistence.PersistenceExecutor.persistencePerformed(PersistenceExecutor.java:91)
at glog.util.persistence.WaterFallInsertion.performedInsertion(WaterFallInsertion.java:264)
at glog.util.persistence.WaterFallInsertion.persist(WaterFallInsertion.java:106)
at glog.util.persistence.WaterFallInsertion.persist(WaterFallInsertion.java:137)
at glog.util.persistence.WaterFallInsertion.persist(WaterFallInsertion.java:49)
at glog.util.persistence.PersistenceManager.execute(PersistenceManager.java:122)
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)
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:131)
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:498)
at glog.server.xmlupdate.XMLUpdateSessionHome_x72wrp_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

Subsequently, the order doesn't get created.

Steps to reproduce:

Order Management -> Purchase Order -> Order Base -> New
Enter an Order ID of your choice
Select the Order Configuration 'PREPACK'
Click Ship Unit
Click New Line Item
Click 'l' next to Item ID, select one of your choice
Enter source location 'A', destination location 'B'
Click 'Save'
Click ''Finished'

You get the 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