]
Stuart Douglas moved WFLY-7468 to WFCORE-1929:
----------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-1929 (was: WFLY-7468)
Component/s: Remoting
(was: Remoting)
NPE in remoting when http-listener is disabled and reload is
performed
----------------------------------------------------------------------
Key: WFCORE-1929
URL:
https://issues.jboss.org/browse/WFCORE-1929
Project: WildFly Core
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.