Show Itinerary For Om Creates Npe
(Doc ID 1274788.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Transportation Management - Version 6.1.0 to 6.1.4 [Release 6.1]Information in this document applies to any platform.
Symptoms
When "Show Routing Option" is used for a Buy Order Movement but no itinerary is selected, OTM generates a null pointer error instead of forcing an itinerary to be selected.
At 2010-12-03 09:10:49.764
java.lang.NullPointerException
java.lang.NullPointerException
at glog.ejb.itinerary.db.ItineraryPK.hashCode(ItineraryPK.java:52)
at weblogic.ejb.container.locks.ExclusiveLockManager.getBucketForPk(ExclusiveLockManager.java:75)
at weblogic.ejb.container.locks.ExclusiveLockManager.getBucketForPk(ExclusiveLockManager.java:79)
at weblogic.ejb.container.locks.ExclusiveLockManager.getOwner(ExclusiveLockManager.java:123)
at weblogic.ejb.container.manager.ExclusiveEntityManager.alreadyCached(ExclusiveEntityManager.java:1343)
at weblogic.ejb.container.manager.BaseEntityManager.findByPrimaryKey(BaseEntityManager.java:2361)
at weblogic.ejb.container.manager.BaseEntityManager.remoteFindByPrimaryKey(BaseEntityManager.java:2322)
at weblogic.ejb.container.internal.EntityEJBHome.findByPrimaryKey(EntityEJBHome.java:389)
at glog.ejb.itinerary.ejb_Itinerary_uu9pu6_HomeImpl.findByPrimaryKey(ejb_Itinerary_uu9pu6_HomeImpl.java:160)
at glog.business.itinerary.TItinerary.load(TItinerary.java:95)
at glog.business.action.order.ManageOrderMovementsActionExecutor.makeOrderMovements(ManageOrderMovementsActionExecutor.java:87)
at glog.business.session.OrderActionSessionBean.makeOrderMovements(OrderActionSessionBean.java:2105)
at glog.business.session.OrderActionSessionServerSideEJBWrapper.makeOrderMovements(OrderActionSessionServerSideEJBWrapper.java:1657)
at glog.business.session.OrderActionSessionHome_likuwd_EOImpl.makeOrderMovements(OrderActionSessionHome_likuwd_EOImpl.java:3515)
at glog.business.session.gen.OrderActionSessionSkel.makeOrderMovements(OrderActionSessionSkel.java:1394)
at glog.business.session.gen.OrderActionSessionSkel.exec(OrderActionSessionSkel.java:307)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:15)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:61)
at glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:48)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.execDispatch(WrapperSessionHome_a06097_EOImpl.java:61)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:590)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:478)
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:119)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
A proper error message is expected, to force the user to select an itinerary.
Steps to reproduce:
* Tick Order Release
* Actions
* Order Management
* Manage Buy Order Movement
* Show Itineraries
* on the result screen do NOT select an itinerary, just click "create"
=> OTM generates a null pointer error
=> if you select an itinerary, it works as expected
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |