Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-25852

[JSF] UT015005 UnsupportedOperationException invoking method requestDestroyed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 8.0.0.GA-CR1
    • JSF
    • False
    • None
    • False
    • Known Issue

      Scenario: we have a 4 node cluster configured with scattered cache:

      embed-server --server-config=standalone-ha.xml
      if (outcome != success) of /subsystem=jgroups:read-attribute(name=default-stack)
      /subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcp)
      else
      /subsystem=jgroups:write-attribute(name=default-stack,value=tcp)
      /subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcp)
      end-if
      /subsystem=infinispan/cache-container=web/scattered-cache=testScattered:add()
      /subsystem=infinispan/cache-container=web:write-attribute(name=default-cache, value=testScattered)
      

      when the first node in the cluster initiates shutdown we observe the errors on the second node:

      2023-10-11 13:10:37,325 ERROR [io.undertow.servlet.request] (default task-22) UT015005: Error invoking method requestDestroyed on listener class com.sun.faces.config.ConfigureListener: java.lang.UnsupportedOperationException
      	at jakarta.faces.impl@4.0.2.redhat-00001//jakarta.faces.context.FacesContext.getExceptionHandler(FacesContext.java:260)
      	at jakarta.faces.impl@4.0.2.redhat-00001//jakarta.faces.event.ExceptionQueuedEventContext.getListenersForEventClass(ExceptionQueuedEventContext.java:225)
      	at jakarta.faces.impl@4.0.2.redhat-00001//com.sun.faces.application.applicationimpl.Events.invokeComponentListenersFor(Events.java:172)
      	at jakarta.faces.impl@4.0.2.redhat-00001//com.sun.faces.application.applicationimpl.Events.publishEvent(Events.java:98)
      	at jakarta.faces.impl@4.0.2.redhat-00001//com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:118)
      	at jakarta.faces.impl@4.0.2.redhat-00001//com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:110)
      	at jakarta.faces.impl@4.0.2.redhat-00001//jakarta.faces.application.ApplicationWrapper.publishEvent(ApplicationWrapper.java:660)
      	at jakarta.faces.impl@4.0.2.redhat-00001//com.sun.faces.application.WebappLifecycleListener.requestDestroyed(WebappLifecycleListener.java:109)
      	at jakarta.faces.impl@4.0.2.redhat-00001//com.sun.faces.config.ConfigureListener.requestDestroyed(ConfigureListener.java:333)
      	at io.undertow.servlet@2.3.7.SP1-redhat-00001//io.undertow.servlet.core.ApplicationListeners.requestDestroyed(ApplicationListeners.java:289)
      	at io.undertow.servlet@2.3.7.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:331)
      	at io.undertow.servlet@2.3.7.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
      	at io.undertow.servlet@2.3.7.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
      	at io.undertow.servlet@2.3.7.SP1-redhat-00001//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
      	at io.undertow.servlet@2.3.7.SP1-redhat-00001//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      	at org.wildfly.extension.undertow@8.0.0.GA-redhat-00009//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1430)
      	at org.wildfly.extension.undertow@8.0.0.GA-redhat-00009//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1430)
      	at org.wildfly.extension.undertow@8.0.0.GA-redhat-00009//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1430)
      	at org.wildfly.extension.undertow@8.0.0.GA-redhat-00009//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1430)
      	at io.undertow.servlet@2.3.7.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
      	at io.undertow.servlet@2.3.7.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
      	at io.undertow.core@2.3.7.SP1-redhat-00001//io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
      	at io.undertow.core@2.3.7.SP1-redhat-00001//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
      	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
      	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
      	at org.jboss.xnio@3.8.9.Final-redhat-00001//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      

      Overall client fail rate is still very low;

      We linked https://issues.redhat.com/browse/JBEAP-25741 because, in some runs, the two errors popped out together, hence there's a chance they might be related;

              jaslee@redhat.com Jason Lee
              tborgato@redhat.com Tommaso Borgato
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: