"NullPointerException" When Attempting to Delete 10 or More Capacity Limit Records (Doc ID 827614.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 5.5 to 5.5.05.06
This problem can occur on any platform.

Symptoms

-- Problem Statement:

When attempting to delete 10 or more Capacity Limit records, the attempted delete is failing with the following Exception:

java.lang.NullPointerException
at glog.ejb.capacity.db.CapacityLimitPK.hashCode(CapacityLimitPK.java:52)
at weblogic.ejb20.locks.ExclusiveLockManager.getBucketForPk(ExclusiveLockManager.java:101)
at weblogic.ejb20.locks.ExclusiveLockManager.getBucketForPk(ExclusiveLockManager.java:105)
at weblogic.ejb20.locks.ExclusiveLockManager.getOwner(ExclusiveLockManager.java:229)
at weblogic.ejb20.manager.ExclusiveEntityManager.alreadyCached(ExclusiveEntityManager.java:1277)
at weblogic.ejb20.manager.BaseEntityManager.findByPrimaryKey(BaseEntityManager.java:1540)
at weblogic.ejb20.manager.BaseEntityManager.remoteFindByPrimaryKey(BaseEntityManager.java:1500)
at weblogic.ejb20.internal.EntityEJBHome.findByPrimaryKey(EntityEJBHome.java:379)
at glog.ejb.capacity.ejb_CapacityLimit_8q2qsy_HomeImpl.findByPrimaryKey(ejb_CapacityLimit_8q2qsy_HomeImpl.java:154)
at glog.business.action.CapacityActionExecutor.isCapacityLimitRemovable(CapacityActionExecutor.java:526)
at glog.business.session.CapacityActionSessionBean.isCapacityLimitRemovable(CapacityActionSessionBean.java:169)
at glog.business.session.CapacityActionSessionServerSideEJBWrapper.isCapacityLimitRemovable(CapacityActionSessionServerSideEJBWrapper.java:204)
at glog.business.session.CapacityActionSessionHome_44ngup_EOImpl.isCapacityLimitRemovable(CapacityActionSessionHome_44ngup_EOImpl.java:424)
at glog.business.session.CapacityActionSessionHome_44ngup_EOImpl_WLSkel.invoke(ILweblogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse;Ljava.lang.Object;)Lweblogic.rmi.spi.OutboundResponse;(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
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:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

When 9 or less are attempted to delete, the error is not encountered.

-- Steps To Reproduce:
1. Navigate to Asset Management -> Capacity Management -> Capacity Limits
2. Search for a list of Capacity Limits
3. Select 10 or more records
4. Click "Delete" button

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