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

NPE when the host-controller registration gets interrupted

    XMLWordPrintable

    Details

      Description

      Interrupting the registration of host-controller leads to NPE when trying sending the failure message response.

      12:16:19,120 ERROR [org.jboss.as.controller.management-operation] (slave-request-threads - 8) JBAS014612: Operation ("read-master-domain-model") failed - address: ([]): java.lang.NullPointerException
      	at java.io.DataOutputStream.writeUTF(DataOutputStream.java:347) [rt.jar:1.7.0_40]
      	at java.io.DataOutputStream.writeUTF(DataOutputStream.java:323) [rt.jar:1.7.0_40]
      	at org.jboss.as.protocol.mgmt.FlushableDataOutputImpl.writeUTF(FlushableDataOutputImpl.java:109) [jboss-as-protocol-7.3.2.Final-redhat-2.jar:7.3.2.Final-redhat-2]
      	at org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler.sendFailedResponse(HostControllerRegistrationHandler.java:643)
      	at org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.failed(HostControllerRegistrationHandler.java:504)
      	at org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.failed(HostControllerRegistrationHandler.java:493)
      	at org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.executeBlocking(HostControllerRegistrationHandler.java:568)
      	at org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.processSubsystems(HostControllerRegistrationHandler.java:423)
      	at org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.access$800(HostControllerRegistrationHandler.java:296)
      	at org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$HostRegistrationStepHandler.execute(HostControllerRegistrationHandler.java:287)
      	at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:601) [jboss-as-controller-7.3.2.Final-redhat-2.jar:7.3.2.Final-redhat-2]
      	at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:479) [jboss-as-controller-7.3.2.Final-redhat-2.jar:7.3.2.Final-redhat-2]
      	at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:283) [jboss-as-controller-7.3.2.Final-redhat-2.jar:7.3.2.Final-redhat-2]
      	at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:278) [jboss-as-controller-7.3.2.Final-redhat-2.jar:7.3.2.Final-redhat-2]
      	at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:231) [jboss-as-controller-7.3.2.Final-redhat-2.jar:7.3.2.Final-redhat-2]
      	at org.jboss.as.controller.AbstractControllerService.internalExecute(AbstractControllerService.java:295) [jboss-as-controller-7.3.2.Final-redhat-2.jar:7.3.2.Final-redhat-2]
      	at org.jboss.as.host.controller.DomainModelControllerService.access$400(DomainModelControllerService.java:141)
      	at org.jboss.as.host.controller.DomainModelControllerService$2.execute(DomainModelControllerService.java:496)
      	at org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.processRegistration(HostControllerRegistrationHandler.java:390)
      	at org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.access$400(HostControllerRegistrationHandler.java:296)
      	at org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$InitiateRegistrationHandler$1.execute(HostControllerRegistrationHandler.java:196)
      	at org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:283) [jboss-as-protocol-7.3.2.Final-redhat-2.jar:7.3.2.Final-redhat-2]
      	at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:504) [jboss-as-protocol-7.3.2.Final-redhat-2.jar:7.3.2.Final-redhat-2]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_40]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_40]
      	at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40]
      	at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final-redhat-1.jar:2.1.1.Final-redhat-1]
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                emuckenhuber Emanuel Muckenhuber
                Reporter:
                emuckenhuber Emanuel Muckenhuber
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: