NullPointerException in PageSubscriptionImpl$CursorIterator.remove(PageSubscriptionImpl.java:1445) in JBoss EAP 6
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 6.4
Issue
- We see this null pointer exception when the JBoss EAP 6 server is under heavy load
ERROR [org.hornetq.core.server] ... HQ224041: Failed to deliver: java.lang.NullPointerException
at org.hornetq.core.paging.cursor.impl.PageSubscriptionImpl$CursorIterator.remove(PageSubscriptionImpl.java:1445)
at org.hornetq.core.server.impl.QueueImpl.depage(QueueImpl.java:2214)
at org.hornetq.core.server.impl.QueueImpl.access$1400(QueueImpl.java:92)
at org.hornetq.core.server.impl.QueueImpl$DepageRunner.run(QueueImpl.java:2929)
at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:105)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Resolution
Apply cumulative patch (CP) 7 when available to JBoss EAp 6.4
Root Cause
This content is not included.bz-1276206 PageSubscriptionImpl cases a NullPointerException
Components
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.