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

EndpointService throws NPE when publish ws endpint with EndpintPublisherImpl

XMLWordPrintable

    • ---
    • ---

      When publish ws endpoint with EndpointPublisherImpl, there is no 

      CAPABILITY_SERVICE_SUPPORT attachment set into DepolymentUnit, the NPE is thrown from EndpointService : 

      2022-06-13 13:49:06,144 ERROR [stderr] (default task-1) java.lang.NullPointerException
      2022-06-13 13:49:06,145 ERROR [stderr] (default task-1)     at org.jboss.as.webservices//org.jboss.as.webservices.service.EndpointService.install(EndpointService.java:255)
      2022-06-13 13:49:06,145 ERROR [stderr] (default task-1)     at org.jboss.as.webservices//org.jboss.as.webservices.deployers.EndpointServiceDeploymentAspect.start(EndpointServiceDeploymentAspect.java:50)
      2022-06-13 13:49:06,145 ERROR [stderr] (default task-1)     at org.jboss.ws.common@4.0.1-SNAPSHOT//org.jboss.ws.common.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118)
      2022-06-13 13:49:06,145 ERROR [stderr] (default task-1)     at org.jboss.as.webservices//org.jboss.as.webservices.publish.EndpointPublisherImpl.doDeploy(EndpointPublisherImpl.java:167)
      2022-06-13 13:49:06,145 ERROR [stderr] (default task-1)     at org.jboss.as.webservices//org.jboss.as.webservices.publish.EndpointPublisherImpl.publish(EndpointPublisherImpl.java:120)
      2022-06-13 13:49:06,146 ERROR [stderr] (default task-1)     at org.jboss.as.webservices//org.jboss.as.webservices.publish.EndpointPublisherImpl.publish(EndpointPublisherImpl.java:106)
      2022-06-13 13:49:06,146 ERROR [stderr] (default task-1)     at deployment.endpoint-publish.war//org.jboss.test.ws.publish.EndpointPublishServlet.doGet(EndpointPublishServlet.java:78)
      2022-06-13 13:49:06,146 ERROR [stderr] (default task-1)     at jakarta.servlet.api@6.0.0//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
      2022-06-13 13:49:06,146 ERROR [stderr] (default task-1)     at jakarta.servlet.api@6.0.0//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
      2022-06-13 13:49:06,146 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.0.Alpha1//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
      2022-06-13 13:49:06,146 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.0.Alpha1//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
      2022-06-13 13:49:06,146 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.0.Alpha1//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
      2022-06-13 13:49:06,146 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.0.Alpha1//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
      2022-06-13 13:49:06,146 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-web.undertow-server@1.10.1.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.lambda$handleRequest$1(ElytronRunAsHandler.java:68)
      2022-06-13 13:49:06,146 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-base//org.wildfly.security.auth.server.FlexibleIdentityAssociation.runAsFunctionEx(FlexibleIdentityAssociation.java:103)
      2022-06-13 13:49:06,146 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-base//org.wildfly.security.auth.server.Scoped.runAsFunctionEx(Scoped.java:161)
      2022-06-13 13:49:06,147 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-base//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:73)
      2022-06-13 13:49:06,147 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-web.undertow-server@1.10.1.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.handleRequest(ElytronRunAsHandler.java:67)
      2022-06-13 13:49:06,147 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.0.Alpha1//io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
      2022-06-13 13:49:06,147 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.0.Alpha1//io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
      2022-06-13 13:49:06,147 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.0.Alpha1//io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
      2022-06-13 13:49:06,147 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.0.Alpha1//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      2022-06-13 13:49:06,147 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.0.Alpha1//io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
      2022-06-13 13:49:06,147 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.0.Alpha1//io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
      2022-06-13 13:49:06,148 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.0.Alpha1//io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
      2022-06-13 13:49:06,148 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-web.undertow-server-servlet@2.0.0.Beta3//org.wildfly.elytron.web.undertow.server.servlet.CleanUpHandler.handleRequest(CleanUpHandler.java:38)
      2022-06-13 13:49:06,148 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.0.Alpha1//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      2022-06-13 13:49:06,148 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@27.0.0.Alpha2-SNAPSHOT//org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
      2022-06-13 13:49:06,148 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.0.Alpha1//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      2022-06-13 13:49:06,148 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@27.0.0.Alpha2-SNAPSHOT//org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
      2022-06-13 13:49:06,148 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.0.Alpha1//io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
      2022-06-13 13:49:06,148 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.0.Alpha1//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      2022-06-13 13:49:06,148 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.0.Alpha1//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
      2022-06-13 13:49:06,149 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.0.Alpha1//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
      2022-06-13 13:49:06,149 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.0.Alpha1//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
      2022-06-13 13:49:06,149 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.0.Alpha1//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
      2022-06-13 13:49:06,149 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.0.Alpha1//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      2022-06-13 13:49:06,149 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@27.0.0.Alpha2-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1431)
      2022-06-13 13:49:06,149 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@27.0.0.Alpha2-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1431)
      2022-06-13 13:49:06,149 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@27.0.0.Alpha2-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1431)
      2022-06-13 13:49:06,149 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@27.0.0.Alpha2-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1431)
      2022-06-13 13:49:06,149 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.0.Alpha1//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
      2022-06-13 13:49:06,150 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.0.Alpha1//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
      2022-06-13 13:49:06,150 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.0.Alpha1//io.undertow.server.Connectors.executeRootHandler(Connectors.java:387)
      2022-06-13 13:49:06,150 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.0.Alpha1//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
      2022-06-13 13:49:06,150 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      2022-06-13 13:49:06,150 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
      2022-06-13 13:49:06,150 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      2022-06-13 13:49:06,150 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
      2022-06-13 13:49:06,150 ERROR [stderr] (default task-1)     at org.jboss.xnio@3.8.7.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
      2022-06-13 13:49:06,150 ERROR [stderr] (default task-1)     at java.base/java.lang.Thread.run(Thread.java:834)

       

              rhn-engineering-ema Jim Ma
              rhn-engineering-ema Jim Ma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: