WLS 12.1.3: MDB Faces java.lang.NullPointerException on java.util.concurrent.ConcurrentHashMap.hash and Hangs (Doc ID 2104365.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 to 12.1.3.0.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

MDB faces NullPointerException when trying to consume a message from a queue. Sending further messages to the Queue will cause message pending:

java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333)
at java.util.concurrent.ConcurrentHashMap.remove(ConcurrentHashMap.java:1175)
at weblogic.ejb.container.injection.InjectionBasedEjbComponentCreator.destroyBean(InjectionBasedEjbComponentCreator.java:128)
at weblogic.ejb.container.manager.MessageDrivenManager.destroyInstance(MessageDrivenManager.java:227)

The issue happens after migrating to WLS 12.1.3.0 from WLS 12.1.2.0. In WLS 12.1.2.0 it works fine.

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