Calls between EJBs can result in stack overflow exception

Solution Verified - Updated -

Issue

Under certain circumstances a method call from an EJB to another EJB can result in stack overflow exception:

Caused by: java.lang.StackOverflowError
        at org.xnio.AbstractIoFuture$NotifierState.cancelRequested(AbstractIoFuture.java:271)
        at org.xnio.AbstractIoFuture$NotifierState.cancelRequested(AbstractIoFuture.java:271)
        at org.xnio.AbstractIoFuture$NotifierState.cancelRequested(AbstractIoFuture.java:271)
        at org.xnio.AbstractIoFuture$NotifierState.cancelRequested(AbstractIoFuture.java:271)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.4

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