Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14653

Clustering: java.lang.NullPointerException when stopping the server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • None
    • 24.0.0.Beta1
    • EJB
    • None
    • Undefined

    Description

      In clustering test eap-7.x-clustering-stress-granular-repl we observe the following error when the nodes are stopped:

      2021-03-29 13:00:21,658 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0211: Suspending server with 15000 ms timeout.
      2021-03-29 13:00:21,662 INFO  [org.jboss.as.ejb3] (management-handler-thread - 2) WFLYEJB0493: Jakarta Enterprise Beans subsystem suspension complete
      2021-03-29 13:00:21,667 INFO  [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown'
      2021-03-29 13:00:21,713 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-6) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
      2021-03-29 13:00:21,713 INFO  [org.infinispan.manager.DefaultCacheManager] (ServerService Thread Pool -- 91) Stopping cache manager null on wildfly1
      2021-03-29 13:00:21,713 INFO  [org.infinispan.manager.DefaultCacheManager] (ServerService Thread Pool -- 93) Stopping cache manager null on wildfly1
      2021-03-29 13:00:21,719 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 93) ISPN000080: Disconnecting JGroups channel ejb
      2021-03-29 13:00:21,719 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 91) ISPN000080: Disconnecting JGroups channel ejb
      2021-03-29 13:00:21,724 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 94) WFLYUT0022: Unregistered web context: '/clusterbench' from server 'default-server'
      2021-03-29 13:00:21,726 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 95) WFLYUT0022: Unregistered web context: '/clusterbench-passivating' from server 'default-server'
      2021-03-29 13:00:21,727 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 97) WFLYUT0022: Unregistered web context: '/clusterbench-granular' from server 'default-server'
      2021-03-29 13:00:21,730 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 99) WFLYUT0022: Unregistered web context: '/web-logger' from server 'default-server'
      2021-03-29 13:00:21,776 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 97) [Context=clusterbench-ee8.ear/clusterbench-ee8-ejb.jar/infinispan] ISPN100008: Updating cache members list [wildfly2, wildfly3, wildfly4], topology id 14
      2021-03-29 13:00:21,779 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 97) [Context=clusterbench-ee8.ear/clusterbench-ee8-ejb.jar/infinispan] ISPN100002: Starting rebalance with members [wildfly2, wildfly3, wildfly4], phase READ_OLD_WRITE_ALL, topology id 15
      2021-03-29 13:00:21,780 ERROR [org.jboss.ejb.client] (MSC service thread 1-8) EJBCLIENT000513: Exception occurred when trying to close the transport provider: java.lang.NullPointerException
      	at org.jboss.remoting@5.0.20.Final//org.jboss.remoting3.ClientServiceHandle.closeChannel(ClientServiceHandle.java:144)
      	at org.jboss.ejb-client@4.0.39.Final//org.jboss.ejb.protocol.remote.RemoteEJBReceiver.close(RemoteEJBReceiver.java:211)
      	at org.jboss.ejb-client@4.0.39.Final//org.jboss.ejb.protocol.remote.RemoteTransportProvider.close(RemoteTransportProvider.java:89)
      	at org.jboss.ejb-client@4.0.39.Final//org.jboss.ejb.client.EJBClientContext.close(EJBClientContext.java:630)
      	at org.jboss.as.ejb3@24.0.0.Beta1-SNAPSHOT//org.jboss.as.ejb3.remote.EJBClientContextService.stop(EJBClientContextService.java:181)
      	at org.jboss.msc@1.4.12.Final//org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1795)
      	at org.jboss.msc@1.4.12.Final//org.jboss.msc.service.ServiceControllerImpl$StopTask.execute(ServiceControllerImpl.java:1764)
      	at org.jboss.msc@1.4.12.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      

      Find attached the logs and the configuration for all the 4 nodes forming the cluster

      Attachments

        Issue Links

          Activity

            People

              rhn-cservice-bbaranow Bartosz Baranowski
              tborgato@redhat.com Tommaso Borgato
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: