IBM Support

PM05971: A NULLPOINTEREXCEPTION MAY OCCUR WHEN DEPLOYING A JAX-WS APPLICATION WITH RATIONAL APPLICATION DEVELOPER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • NullPointerException may occur when deploying a JAX-WS
    application with an SEI and EJB Web Service endpoint of the
    same name to Application Server from Rational Application
    Developer.
    
    Here's the error seen in the Rational Application Developer
    dialog:
    Publishing failed
    Module could not be deployed
    java.lang.NullPointerException
    The publish encountered some problems and the application may
    not have been installed or it may have been successfully
    installed but was unable to start.
    
    ======== myAppWS ========
    
    The application cannot start: myAppWS
    com.ibm.ws.exception.RuntimeWarning: javax.xml.ws
    WebServiceException: Validation error: cannot find SEI
    specified by the WebService endpointInterface. Implementaiton
    class:
    com.myAppWSPortBindingImpl; EndpointInterface: com.myAppWS
    at
    org.apache.axis2.jaxws.ExceptionFactory.createWebServiceExceptio
    n(ExceptionFactory.java:178)
    at
    org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(
    ExceptionFactory.java:79)
    at
    org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(
    ExceptionFactory.java:125)
    at
    org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.v
    alidateIntegrity(ServiceDescriptionImpl.java:867)
    at
    org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.v
    alidateDBCLIntegrity(ServiceDescriptionImpl.java:752)
    ...
    ...
    
    Here's the stack trace:
    [2/3/10 13:11:22:995 EST] 0000001c ServiceDescri 1
    org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl
    setupWsdlDefinition SEI Composite =  Cannot dump
    DescriptionBuilderComposite due to :
    java.lang.NullPointerException
    [2/3/10 13:11:22:995 EST] 0000001c ServiceDescri 1
    org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl
    setupWsdlDefinition Found for WSDL Definition from Composite
    [2/3/10 13:11:23:015 EST] 0000001c ExceptionFact 1
    org.apache.axis2.jaxws.ExceptionFactory
    createWebServiceException Create Exception:
    javax.xml.ws.WebServiceException: Validation
    error: cannot find SEI specified by the
    WebService.endpointInterface. Implementaiton class:
    com.myAppWSBindingImpl; EndpointInterface: com.myAppWS
    at
    org.apache.axis2.jaxws.ExceptionFactory.createWebServiceExceptio
    n(ExceptionFactory.java:178)
    at
    org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(
    ExceptionFactory.java:79)
    at
    org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(
    ExceptionFactory.java:125)
    at
    org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.v
    alidateIntegrity(ServiceDescriptionImpl.java:867)
    at
    org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.v
    alidateDBCLIntegrity(ServiceDescriptionImpl.java:752)
    at
    org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.s
    etupServiceDescriptionImpl(ServiceDescriptionImpl.java:242)
    at
    org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<
    init>(ServiceDescriptionImpl.java:202)
    at
    org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.c
    reateServiceDescriptionFromDBCMap(DescriptionFactoryImpl.java:19
    2)
    at
    org.apache.axis2.jaxws.description.DescriptionFactory.createServ
    iceDescriptionFromDBCMap(DescriptionFactory.java:135)
    at
    com.ibm.ws.websvcs.deployment.WASAxis2MetaDataProcessor.processW
    ARMetadata(WASAxis2MetaDataProcessor.java:231)
    at
    com.ibm.ws.websvcs.deployment.WASAxis2MetaDataProcessor.processA
    pplicationMetaData(WASAxis2MetaDataProcessor.java:134)
    at
    com.ibm.ws.websvcs.component.WASAxis2ComponentImpl.warMetaDataCr
    eated(WASAxis2ComponentImpl.java:705)
    at
    com.ibm.ws.websvcs.component.WASAxis2ComponentImpl.metaDataCreat
    ed(WASAxis2ComponentImpl.java:563)
    at
    com.ibm.ws.runtime.component.MetaDataMgrImpl.fireMet..aDataCreat
    ed (MetaDataMgrImpl.java:188)
    ....
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Feature    *
    *                  Pack for Web Services users of Rational     *
    *                  Application Developer V7.5.2 or higher      *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException may occur when   *
    *                      attempting to deploy a JAX-WS           *
    *                      application created from an EJB 3.0     *
    *                      ejb module using Rational Application   *
    *                      Developer                               *
    ****************************************************************
    * RECOMMENDATION:  Install a fixpack containing this APAR      *
    ****************************************************************
    When using the Rational Application Developer 7.5.2+
    "Add/Remove application" option to deploy a JAX-WS
    application, a NullPointerException may occur.
    
    In Rational Application Developer, a dialog may appear with
    following message:
    Publishing failed
     Module could not be deployed
     java.lang.NullPointerException
     The publish encountered some problems and the application may
    not have been installed or it may have been successfully
    installed but was unable to start.
    ...
    
    The application does eventually install correctly. However,
    the following exception may appear in the trace:
    
    [2/3/10 13:11:22:995 EST] 0000001c ServiceDescri 1
    org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl
    setupWsdlDefinition SEI Composite =  Cannot dump
    DescriptionBuilderComposite due to :
    java.lang.NullPointerException
    [2/3/10 13:11:22:995 EST] 0000001c ServiceDescri 1
    org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl
    setupWsdlDefinition Found for WSDL Definition from Composite
    [2/3/10 13:11:23:015 EST] 0000001c ExceptionFact 1
    org.apache.axis2.jaxws.ExceptionFactory
    createWebServiceException Create Exception:
    javax.xml.ws.WebServiceException: Validation
    error: cannot find SEI specified by the
    WebService.endpointInterface. Implementaiton class:
    com.myAppPortBindingImpl; EndpointInterface: com.myApp
     at
    org.apache.axis2.jaxws.ExceptionFactory.createWebServiceExceptio
    n(ExceptionFactory.java:178)
     at
    org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(
    ExceptionFactory.java:79)
     at
    org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(
    ExceptionFactory.java:125)
     at
    org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.v
    alidateIntegrity(ServiceDescriptionImpl.java:867)
     at
    org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.v
    alidateDBCLIntegrity(ServiceDescriptionImpl.java:752)
     at
    org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.s
    etupServiceDescriptionImpl(ServiceDescriptionImpl.java:242)
     at
    org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<
    init>(ServiceDescriptionImpl.java:202)
     at
    org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.c
    reateServiceDescriptionFromDBCMap(DescriptionFactoryImpl.java:19
    2)
     at
    org.apache.axis2.jaxws.description.DescriptionFactory.createServ
    iceDescriptionFromDBCMap(DescriptionFactory.java:135)
     at
    com.ibm.ws.websvcs.deployment.WASAxis2MetaDataProcessor.processW
    ARMetadata(WASAxis2MetaDataProcessor.java:231)
     at
    com.ibm.ws.websvcs.deployment.WASAxis2MetaDataProcessor.processA
    pplicationMetaData(WASAxis2MetaDataProcessor.java:134)
     at
    com.ibm.ws.websvcs.component.WASAxis2ComponentImpl.warMetaDataCr
    eated(WASAxis2ComponentImpl.java:705)
     at
    com.ibm.ws.websvcs.component.WASAxis2ComponentImpl.metaDataCreat
    ed(WASAxis2ComponentImpl.java:563)
     at
    com.ibm.ws.runtime.component.MetaDataMgrImpl.fireMet..aDataCreat
    ed (MetaDataMgrImpl.java:188)
    ....
    

Problem conclusion

  • The JAX-WS engine searches for JAX-WS classes. The similarly
    named EJB class caused the JAX-WS engine to skip over the
    JAX-WS class.  This algorithm failure causes the exception
    seen by the user.
    
    The algorithm is changed to correctly load the JAX-WS class
    from the WEB-INF/classes directory when there are multiple
    classes of the same name.  This change corrects the issue.
    
    The fix for this APAR is currently targeted for inclusion
    in fix pack 6.1.0.31.  Please refer to the Recommended
    Updatespage for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM05971

  • Reported component name

    WEBSERVIC FEATU

  • Reported component ID

    5724J0850

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-01-26

  • Closed date

    2010-02-23

  • Last modified date

    2010-02-23

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSERVIC FEATU

  • Fixed component ID

    5724J0850

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 February 2022