NullPointerException happens on XNIO ByteBufferSlicePool.clean() for non-direct buffers during the shutdown since EAP 7.2.4

Solution Verified - Updated -


When direct-buffers="false" is specified to <buffer-pool> in the io subsystem, the following NullPointerException happens during the shutdown since EAP 7.2.4.

10:02:08,180 WARN  [] (MSC service thread 1-7) MSC000004: Failure during stop of service java.lang.NullPointerException
    at java.util.concurrent.ConcurrentLinkedQueue.addAll(
    at org.xnio.ByteBufferSlicePool.clean(
    at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(
    at org.jboss.msc.service.ServiceControllerImpl$StopTask.execute(
    at org.jboss.msc.service.ServiceControllerImpl$
    at org.jboss.threads.EnhancedQueueExecutor.safeRun(
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(
    at org.jboss.threads.EnhancedQueueExecutor$


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.2.4 or later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content