]
Stuart Douglas reassigned WFLY-7468:
------------------------------------
Assignee: Stuart Douglas (was: David Lloyd)
NPE in remoting when http-listener is disabled and reload is
performed
----------------------------------------------------------------------
Key: WFLY-7468
URL:
https://issues.jboss.org/browse/WFLY-7468
Project: WildFly
Issue Type: Bug
Components: Remoting
Reporter: Stuart Douglas
Assignee: Stuart Douglas
Priority: Minor
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:
{code}
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)
{code}
Such exception is not present when I keep {{http-listener}} enabled before reload
operation.