org.jboss.as.ejb3.component.EJBComponentUnavailableException: WFLYEJB0421: Invocation cannot proceed as component is shutting down

JBoss Issue Tracker | Michal Vinkler | 1 year ago
  1. 0

    Intermittent failure, so far seen in only one failover test for remote stateful EJBs: scenario ejb-ejbremote-undeploy-dist-async Setup: 4 node cluster, one node at time undeploys application (clusterbench-ee7.ear), while standalone clients keep calling the application. Just before server perf19 finished undeployment of the application, it logged this error 50 times: {code} [JBossINF] [0m[31m14:50:41,136 ERROR [org.jboss.as.ejb3.remote] (EJB default - 9) WFLYEJB0151: Exception while generating session id for component RemoteStatefulSBImpl with invocation id: -28551 on channel Channel ID 1ca843e6 (inbound) of Remoting connection 4b2907f9 to /10.16.90.52:58920: javax.ejb.EJBException: java.lang.NullPointerException [JBossINF] at org.jboss.as.ejb3.component.stateful.StatefulSessionComponent.createSessionRemote(StatefulSessionComponent.java:263) [JBossINF] at org.jboss.as.ejb3.remote.protocol.versionone.SessionOpenRequestHandler$SessionIDGeneratorTask.run(SessionOpenRequestHandler.java:145) [JBossINF] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [JBossINF] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [JBossINF] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [JBossINF] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [JBossINF] at java.lang.Thread.run(Thread.java:745) [JBossINF] at org.jboss.threads.JBossThread.run(JBossThread.java:320) [JBossINF] Caused by: java.lang.NullPointerException [JBossINF] at org.jboss.as.ejb3.component.stateful.StatefulSessionComponent.createSession(StatefulSessionComponent.java:238) [JBossINF] at org.jboss.as.ejb3.component.stateful.StatefulSessionComponent.createSessionRemote(StatefulSessionComponent.java:258) [JBossINF] ... 7 more {code} The other nodes did not log this error. Server log: http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-7x-failover-ejb-ejbremote-undeploy-dist-async/4/console-perf19/

    JBoss Issue Tracker | 1 year ago | Michal Vinkler
    org.jboss.as.ejb3.component.EJBComponentUnavailableException: WFLYEJB0421: Invocation cannot proceed as component is shutting down
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Drools - new REST endpoint - error when restart the kie-server

    Google Groups | 7 months ago | Sandra
    org.jboss.as.ejb3.component.EJBComponentUnavailableException: JBAS014559: Invocation cannot proceed as component is shutting down
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.jboss.as.ejb3.component.EJBComponentUnavailableException

    WFLYEJB0421: Invocation cannot proceed as component is shutting down

    at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation()
  2. JBoss Application Server: EJB Subsystem
    ShutDownInterceptorFactory$1.processInvocation
    1. org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:59)
    1 frame
  3. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  4. JBoss Application Server: EJB Subsystem
    EjbSuspendInterceptor.processInvocation
    1. org.jboss.as.ejb3.deployment.processors.EjbSuspendInterceptor.processInvocation(EjbSuspendInterceptor.java:53)
    1 frame
  5. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  6. JBoss Application Server: EJB Subsystem
    LoggingInterceptor.processInvocation
    1. org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)
    1 frame
  7. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  8. JBoss Application Server: EE
    NamespaceContextInterceptor.processInvocation
    1. org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
    1 frame
  9. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  10. JBoss Application Server: EJB Subsystem
    AdditionalSetupInterceptor.processInvocation
    1. org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
    1 frame
  11. JBoss Application Server Server
    InterceptorContext.run
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    2. org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
    3. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    4. org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
    4 frames
  12. WildFly Security Manager
    WildFlySecurityManager.doChecked
    1. org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)
    1 frame
  13. JBoss Application Server Server
    ChainedInterceptor.processInvocation
    1. org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
    2. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    3. org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
    4. org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
    5. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    6. org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    6 frames
  14. JBoss Application Server: EE
    ViewService$View.invoke
    1. org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195)
    1 frame
  15. JBoss Application Server: EJB Subsystem
    MethodInvocationMessageHandler$1.run
    1. org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.invokeMethod(MethodInvocationMessageHandler.java:331)
    2. org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.access$100(MethodInvocationMessageHandler.java:69)
    3. org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler$1.run(MethodInvocationMessageHandler.java:202)
    3 frames
  16. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames
  17. JBoss Threads
    JBossThread.run
    1. org.jboss.threads.JBossThread.run(JBossThread.java:320)
    1 frame