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

NPE in remoting when http-listener is disabled and reload is performed

    XMLWordPrintable

Details

      1. unzip EAP
      2. ./bin/standalone.sh
      3. /subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=enabled, value=false)
      4. reload
      5. look in the server log for warning

    Description

      When I set http-listener as not enabled in Undertow subsystem and perform reload operation, during the server shutdown I can see following NPE exception/warning in the server log:

      19:26:59,020 WARN  [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000004: Failure during stop of service jboss.remoting.remoting-http-upgrade-service.http-remoting-connector: java.lang.NullPointerException
      	at org.jboss.as.remoting.RemotingHttpUpgradeService.stop(RemotingHttpUpgradeService.java:154)
      	at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2071)
      	at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2032)
      	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)
      

      Such exception is not present when I keep http-listener enabled before reload operation.

      Attachments

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              sdouglas1@redhat.com Stuart Douglas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: