IBM Support

PK82261: GENERATE JAX-WS EJB FROM SOAP/JMS WSDL: IWAB0014E UNEXPECTED EXC EPTION OCCURED - NULLPOINTEREXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In Rational Application Developer V7.5.1 Generation of  JAX-WS
    web service for an ejb from a WSDL with soap/jms transport speci
    fied on the binding results in the Web Services wizard error:
    IWAB0014E Unexpected exception occured - NullPointerException
    
    java.lang.NullPointerException
    at com.ibm.ast.ws.jaxws.emitter.util.JavaUtil.getPackageNameFrom
    ClassName(Unknown Source)
    at com.ibm.ast.ws.jaxws.creation.command.GenerateImplCommand.get
    ImplBeanPath(Unknown Source)
    at com.ibm.ast.ws.jaxws.creation.command.GenerateImplCommand.exe
    cute(Unknown Source)
    at org.eclispe.wst.commandinternal.env.core.fragment.CommandFrag
    mentEngine.runCommand(Unknown Source)
    ...
    
    
    This occurs after hitting Next in the wizard page
    
    'WebSphere JAX-WS JMS Binding Configuration' in which the jms jn
    di Queue and Connection Factory are filled in.
    
    The key to the exception in the web services gen wizard is havin
    g a WSDL with soap/jms specified as the transport type for the W
    SDL.
    Example:
    ?soap:binding style='document' transport='http://schemas.xmlsoap
    .org/soap/jms'/?
    
    Alos, generating a JAX-WS Top Down with Copy WSDL to Project spe
    cified/checked, gives an Exception on a different code/trace pat
    h
    
    IWAB0014E Unexpected exception occurred.
    
    java.lang.NullPointerException
    at com.ibm.ast.ws.jaxws.creation.command.CopyWSDLToProjectComman
    d.correctEndpointAddressesInWSDL(Unknown Source)
    at com.ibm.ast.ws.jaxws.creation.command.CopyWSDLToProjectComman
    d.execute(Unknown Source)
    at org.eclipse.wst.command.internal.env.core.fragment.CommandFra
    gmentEngine.runCommand(Unknown Source)
    at org.eclipse.wst.command.internal.env.core.fragment.CommandFra
    gmentEngine.visitTop(Unknown Source)
    
    
    NOTE - Java Bean:
    For JAX-WS these errors also occur if generate  Top Down a Java
    Bean in the wizard on this WSDL.
    

Local fix

Problem summary

  • See Error Description
    

Problem conclusion

  • Fix delivered to Rational Application Developer V7.5.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK82261

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-03-10

  • Closed date

    2009-04-02

  • Last modified date

    2009-04-02

  • 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

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R750 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
02 April 2009