[jboss-jira] [JBoss JIRA] (WFCORE-3569) NPE is shown in server shutdown

Chao Wang (JIRA) issues at jboss.org
Wed Jan 31 01:22:00 EST 2018


Chao Wang created WFCORE-3569:
---------------------------------

             Summary: NPE is shown in server shutdown
                 Key: WFCORE-3569
                 URL: https://issues.jboss.org/browse/WFCORE-3569
             Project: WildFly Core
          Issue Type: Bug
          Components: CLI, Domain Management, IO, Server
    Affects Versions: 4.0.0.Alpha8
            Reporter: Chao Wang
            Assignee: David Lloyd
            Priority: Critical


NullPointerException is shown in server shutdown with an open CLI connection in current WFLY master since WFCORE 4.0.0.Alpha7.

Start the server and open a CLI connection, then stop server with Ctrl + C. We will see

{noformat}
13:15:09,136 ERROR [org.jboss.threads.errors] (management task-1) Thread Thread[management task-1,5,main] threw an uncaught exception: java.lang.NullPointerException
	at org.jboss.as.server.mgmt.ManagementWorkerService.stopDone(ManagementWorkerService.java:72)
	at org.xnio.XnioWorker$1.run(XnioWorker.java:138)
	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1979)
	at org.jboss.threads.EnhancedQueueExecutor.completeTermination(EnhancedQueueExecutor.java:1755)
	at org.jboss.threads.EnhancedQueueExecutor.tryDeallocateThread(EnhancedQueueExecutor.java:1578)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1393)
	at java.lang.Thread.run(Thread.java:748)

{noformat}

I assign this to David as it seems this is caused by WFCORE-3397 and https://github.com/wildfly/wildfly-core/pull/3072 Please feel free to reassign to correct person. 



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list