WLS 9.2.2.0: java.lang.NullPointerException at weblogic.ejb20.cache.EntityCache$MRUElement.remove (Doc ID 1254253.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version: 8.1 to 9.2
Information in this document applies to any platform.

Symptoms

An EJB application gives a NullPointerExceptin when looking up EntityBeans with CMR(Container Managed Relationships) fields. This exception occurs when WebLogic tries to remove the entities from the cache.

java.lang.NullPointerException
       at weblogic.ejb20.cache.EntityCache$MRUElement.remove(EntityCache.java:379)
       at weblogic.ejb20.cache.EntityCache$KeyData.shrink(EntityCache.java:763)
       at weblogic.ejb20.cache.EntityCache.put(EntityCache.java:143)
       at weblogic.ejb20.manager.DBManager.finderCacheInsert(DBManager.java:1645)
       at weblogic.ejb20.manager.BaseEntityManager.finderCacheInsert(BaseEntityManager.java:1534)
       at weblogic.ejb20.manager.DBManager.getBeanFromRS(DBManager.java:1560)
       at weblogic.ejb20.manager.BaseEnEntityManager.getBeanFromRS(BaseEntityManager.java:1436)
       at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getBeanFromRS(RDBMSPersistenceManager.java:2166)
       at com.bt.cp.fulfillment.order.entities.FulfillmentOrderItemFeatureBean_wzft2o__WebLogic_CMP_RDBMS.ejbFindByFulfillmentOrderItem_q420pi__WebLogic_CMP_RDBMS_features__WL_(FulfillmentOrderItemFeatureBean_wzft2o__WebLogic_CMP_RDBM

Changes

N/A

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