Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-11724

NPE after pressing tab in CLI when adding connector in remoting subsystem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.0.ER2
    • 7.1.0.ER1
    • CLI, Remoting
    • None
    • User Experience
    • Regression
      1. Start EAP in domain mode
      2. Start CLI
      3. Write /profile=full-ha/subsystem=remoting/connector=foo:add(socket-binding= in CLI
      4. Press tab
      5. Error in server log appears

      NPE [1] pops up in server log when user wants to use auto complete in remoting subsystem in CLI. This is a regression against 7.0.0.GA.

      [1]

      [Host Controller] 13:11:22,697 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2) WFLYCTL0013: Operation ("suggest-capabilities") failed - address: ([
      [Host Controller]     ("host" => "master"),
      [Host Controller]     ("core-service" => "capability-registry")
      [Host Controller] ]): java.lang.NullPointerException
      [Host Controller] 	at org.jboss.as.controller.capability.registry.IncludingResourceCapabilityScope.getIncludingScopes(IncludingResourceCapabilityScope.java:65)
      [Host Controller] 	at org.jboss.as.controller.CapabilityRegistry.findSatisfactoryCapability(CapabilityRegistry.java:902)
      [Host Controller] 	at org.jboss.as.controller.CapabilityRegistry.hasCapability(CapabilityRegistry.java:577)
      [Host Controller] 	at org.jboss.as.controller.CapabilityRegistry.lambda$getDynamicCapabilityNames$7(CapabilityRegistry.java:942)
      [Host Controller] 	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
      [Host Controller] 	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
      [Host Controller] 	at java.util.TreeMap$KeySpliterator.forEachRemaining(TreeMap.java:2746)
      [Host Controller] 	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      [Host Controller] 	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      [Host Controller] 	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
      [Host Controller] 	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      [Host Controller] 	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
      [Host Controller] 	at org.jboss.as.controller.CapabilityRegistry.getDynamicCapabilityNames(CapabilityRegistry.java:951)
      [Host Controller] 	at org.jboss.as.server.controller.resources.CapabilityRegistryResourceDefinition.lambda$registerOperations$4(CapabilityRegistryResourceDefinition.java:182)
      [Host Controller] 	at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:978)
      [Host Controller] 	at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:724)
      [Host Controller] 	at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:448)
      [Host Controller] 	at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1402)
      [Host Controller] 	at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:418)
      [Host Controller] 	at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243)
      [Host Controller] 	at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:263)
      [Host Controller] 	at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:229)
      [Host Controller] 	at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243)
      [Host Controller] 	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:217)
      [Host Controller] 	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$400(ModelControllerClientOperationHandler.java:137)
      [Host Controller] 	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:161)
      [Host Controller] 	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:157)
      [Host Controller] 	at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:287)
      [Host Controller] 	at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:244)
      [Host Controller] 	at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
      [Host Controller] 	at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
      [Host Controller] 	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:157)
      [Host Controller] 	at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
      [Host Controller] 	at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
      [Host Controller] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      [Host Controller] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      [Host Controller] 	at java.lang.Thread.run(Thread.java:748)
      [Host Controller] 	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      [Host Controller] 
      

            jdenise@redhat.com Jean Francois Denise
            jkasik@redhat.com Jan Kašík
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: