wsit
  1. wsit
  2. WSIT-109

jax-wsa interop service does not deploy; throws NPE

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: 1.0
    • Component/s: jaxws-runtime
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      109

      Description

      The attached war file deploys properly on plain JAXWS2.1 with Tomcat.

      But it fails to deploy on WSIT(build #1147) with GF/Tomcat throwing the
      following exception.

      Blocks interop testing. Must be fixed.

      =====================Exception Snip=====================
      [#|2006-11-02T16:29:35.687+0530|SEVERE|sun-appserver-pe9.1|javax.enterprise.resource.webservices.jaxws.server.http|_ThreadID=
      11;_ThreadName=Timer-4;_RequestID=a99d9ef3-fa49-434d-95a4-93ac608e696e;|WSSERVLET11:
      failed to parse runtime descriptor: java
      .lang.NullPointerException
      java.lang.NullPointerException
      at
      com.sun.xml.ws.assembler.PipelineAssemblerFactoryImpl$WsitPipelineAssembler.createServer(PipelineAssemblerFactoryI
      mpl.java:209)
      at
      com.sun.xml.ws.api.pipe.TubelineAssemblerFactory$TubelineAssemblerAdapter.createServer(TubelineAssemblerFactory.ja
      va:80)
      at com.sun.xml.ws.server.WSEndpointImpl.<init>(WSEndpointImpl.java:120)
      at
      com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:211)
      at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:420)
      at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:439)
      at
      com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:224)
      at
      com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:131)
      at
      com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:93
      )
      at
      org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4309)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4964)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:297)
      at
      org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:905)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:889)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1486)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1139)
      at
      com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:171)
      at
      com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:275)
      at
      com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:94
      9)
      at
      com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:936)
      at
      com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:448)
      at
      com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
      at
      com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java
      :295)
      at
      com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:199)
      at
      com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:285)
      at
      com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:119)
      at
      com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
      at
      com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
      at
      com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:263)
      at
      com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:281)
      at
      com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:534)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at
      com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:353)
      at
      com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:336)
      at
      com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:448)
      at
      com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
      at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
      at
      com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:77)
      at $Proxy1.invoke(Unknown Source)
      at
      com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
      at
      com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:414)
      at
      com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:394)
      at
      com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:253)
      at
      com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java
      :361)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)

      #]
      =====================Exception Snip=====================

        Activity

        Hide
        ritzmann added a comment -

        Jitu, this comment:

        > Fixing NPE. WSDLPort can be null when wsdl is not available or cannot be
        generated.

        If the WSDL is not available, it will be generated. If it could not be
        generated, it's a grave error and the service must fail. Could you elaborate
        whether there can be a case where the WSDLModel is not available to the server?

        Martin, since I'm not available next week, I'm assigning this to you. Please
        reassign to Marek or Jakub.

        Show
        ritzmann added a comment - Jitu, this comment: > Fixing NPE. WSDLPort can be null when wsdl is not available or cannot be generated. If the WSDL is not available, it will be generated. If it could not be generated, it's a grave error and the service must fail. Could you elaborate whether there can be a case where the WSDLModel is not available to the server? Martin, since I'm not available next week, I'm assigning this to you. Please reassign to Marek or Jakub.
        Hide
        mmatula added a comment -

        Jakub, please investigate the issue and reassign if necessary.

        Show
        mmatula added a comment - Jakub, please investigate the issue and reassign if necessary.
        Hide
        mmatula added a comment -

        .

        Show
        mmatula added a comment - .
        Hide
        japod added a comment -

        NPE fixed in [com.sun.xml.ws.assembler.PipelineAssemblerFactoryImpl]

        Show
        japod added a comment - NPE fixed in [com.sun.xml.ws.assembler.PipelineAssemblerFactoryImpl]
        Hide
        mmatula added a comment -

        This issue was fixed before we created 1.0 branch, so the fix is in 1.0 ->
        setting target milestone to say so.

        Show
        mmatula added a comment - This issue was fixed before we created 1.0 branch, so the fix is in 1.0 -> setting target milestone to say so.

          People

          • Assignee:
            Jakub Podlesak
            Reporter:
            karthikeyan_k
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: