NullPointerException Exception Attempting to Create an Equipment Repositioning Shipment

(Doc ID 1669537.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Fleet Management - Version 6.3.3 to 6.3.4 [Release 6.3]
Oracle Transportation Management - Version 6.3.2 to 6.3.2 [Release 6.3]
Information in this document applies to any platform.

Symptoms

When attempting to create an Equipment Reposition Shipment the following exception is encountered:

java.lang.NullPointerException
at glog.ejb.equipment.db.EquipmentGroupPK.hashCode(EquipmentGroupPK.java:63)
at java.util.HashMap.getEntry(HashMap.java:424)
at java.util.HashMap.containsKey(HashMap.java:415)
at java.util.HashSet.contains(HashSet.java:184)
at java.util.Collections$SynchronizedCollection.contains(Collections.java:1563)
at glog.util.remote.BeanManagedEntityBean.doFindByPrimaryKey(BeanManagedEntityBean.java:351)
at glog.util.remote.BaseEntityBean$5.doIt(BaseEntityBean.java:567)
at glog.util.remote.BaseEntityBean.ejb(BaseEntityBean.java:799)
at glog.util.remote.BaseEntityBean.ejbFindByKey(BaseEntityBean.java:565)
at glog.ejb.equipment.db.EquipmentGroupBeanDB.ejbFindByPrimaryKey(EquipmentGroupBeanDB.java:133)
at glog.ejb.equipment.EquipmentGroupHomeStub.findByPrimaryKey(EquipmentGroupHomeStub.java:83)
at glog.business.equipment.TEquipmentGroup.load(TEquipmentGroup.java:883)
at glog.business.equipment.TEquipmentGroup.getInstance(TEquipmentGroup.java:858)
at glog.business.fleetassignment.FleetEquipmentAssigner.validateForAssignment(FleetEquipmentAssigner.java:582)
at glog.business.fleetassignment.FleetEquipmentAssigner.assignFleetResource(FleetEquipmentAssigner.java:174)
at glog.business.service.fleetassignment.EquipmentAssignmentShipmentService.assignEquipment(EquipmentAssignmentShipmentService.java:196)
at glog.business.fleetassignment.repositioning.RepositionEquipmentLogic.assignEquipment(RepositionEquipmentLogic.java:98)
at glog.business.fleetassignment.repositioning.RepositionEquipmentLogic.process(RepositionEquipmentLogic.java:77)
at glog.business.shipment.AbstractShipmentLogic.perform(AbstractShipmentLogic.java:67)
at glog.business.service.fleetassignment.RepositioningShipmentService.repositionEquipment(RepositioningShipmentService.java:151)
at glog.business.action.fleetassignment.repositioning.RepositionEquipmentAction.process(RepositionEquipmentAction.java:75)
at glog.business.action.shipment.AbstractShipmentPlanningAction.perform(AbstractShipmentPlanningAction.java:167)
at glog.business.action.fleetassignment.AbstractFleetShipmentPlanningAction.perform(AbstractFleetShipmentPlanningAction.java:105)
at glog.business.session.FleetAssignmentActionSessionBean.repositionEquipment(FleetAssignmentActionSessionBean.java:2418)
at glog.business.session.FleetAssignmentActionSessionServerSideEJBWrapper.repositionEquipment(FleetAssignmentActionSessionServerSideEJBWrapper.java:2354)
at glog.business.session.FleetAssignmentActionSessionServerSideEJBWrapper_c0gjd_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.business.session.FleetAssignmentActionSessionServerSideEJBWrapper_c0gjd_EOImpl.repositionEquipment(Unknown Source)
at glog.business.session.gen.FleetAssignmentActionSessionSkel.repositionEquipment(FleetAssignmentActionSessionSkel.java:1703)
at glog.business.session.gen.FleetAssignmentActionSessionSkel.exec(FleetAssignmentActionSessionSkel.java:320)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:16)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:62)
at glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:50)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.execDispatch(Unknown Source)
at glog.server.wrapper.WrapperSessionHome_a06097_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)

Steps to replicate:

1. Navigated to Shipment management > Equipment management > Equipment
2. Select an Equipment
3. Action > Fleet Management > inventory > Equipment Repositioning
4. Enter required data
5. Click OK

Exception is encountered

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