IBM Support

PM38307: NULLPOINTEREXCEPTION IN ZAIOTCPCHANNEL.JAVA AND POSSIBLE HANG: COM.IBM.WS.TCP.CHANNEL.IMPL.ZAIOTCPCHANNEL.NEWCONNECTIONCOMMON

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The Control Region may write an FFDC file containing a
    NullPointerException similar to the stack trace below. This
    may be followed cause a number of symptoms including server
    hang and non responsive outbound requests from applications.
    
    FFDC file:
    ----------
    key = java.lang.NullPointerException
    com.ibm.ws.tcp.channel.ZAioTCPChannel 200
    Exception = java.lang.NullPointerException
    Source = com.ibm.ws.tcp.channel.ZAioTCPChannel
    probeid = 200
    Stack Dump = java.lang.NullPointerException
     at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannel.newConnectionCommon(Z
    AioTCPChannel.java:680)
     at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannel.readCompletedNewConne
    ction(ZAioTCPChannel.java:524)
     at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannelCPPUtilitiesInterfaceI
    mpl.readCompletedNewConnection(ZAioTCPChannelCPPUtilitiesInterfa
    ceImpl.java:82)
     at
    com.ibm.ws390.tcp.channel.ZAioTCPChannelCPPUtilities.readComplet
    edNewConnection(ZAioTCPChannelCPPUtilities.java:79)
    
    Dump of callerThis =
    Object type = com.ibm.ws.tcp.channel.impl.ZAioTCPChannel
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannel@33a833a8
    
    Exception = java.lang.NullPointerException
    Source = com.ibm.ws.tcp.channel.ZAioTCPChannel
    probeid = 200
    Dump of callerThis =
    Object type = com.ibm.ws.tcp.channel.impl.ZAioTCPChannel
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannel@33a833a8
    --------
    
    ZAioTCPChannel=all tracing during time of problem will also show
    the NullPointerException:
    
    --
     Trace: 2011/05/02 08:16:38.863 01 t=8C8490 c=UNK key=S2
    (13007002)
       ThreadId: 00000039
       FunctionName:
    com.ibm.ws.tcp.channel.impl.ZAioTCPBaseRequestContext
       SourceId:
    com.ibm.ws.tcp.channel.impl.ZAioTCPBaseRequestContext
       Category: FINEST
       ExtendedMessage: setBuffer:java.nio.DirectByteBuffer[pos=39
    lim=8192
    cap=8192]
     Trace: 2011/05/02 08:16:38.875 01 t=8C8490 c=UNK key=S2
    (13007002)
       ThreadId: 00000039
       FunctionName: com.ibm.ws.tcp.channel.impl.ZAioTCPChannel
       SourceId: com.ibm.ws.tcp.channel.impl.ZAioTCPChannel
       Category: FINE
       ExtendedMessage: ZAioTCPChannel: httpclient-tcp-outbound -
    Exception
    occurred while processing new client connection: ; java.lang.
     NullPointerException
      at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannel.newConnectionCommon(Z
    AioTCPCh
    annel.java:680)
      at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannel.readCompletedNewConne
    ction(ZA
    ioTCPChannel.java:524)
      at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannelCPPUtilitiesInterfaceI
    mpl.read
    CompletedNewConnection(ZAioTCPChannelCPPUtilitiesInterfa
     ceImpl.java:82)
      at
    com.ibm.ws390.tcp.channel.ZAioTCPChannelCPPUtilities.readComplet
    edNewCon
    nection(ZAioTCPChannelCPPUtilities.java:79)
    0Trace: 2011/05/02 08:16:38.876 01 t=8C8490 c=UNK key=S2
    (13007002)
       ThreadId: 00000039
       FunctionName: newConnectionCommon
       SourceId: com.ibm.ws.tcp.channel.impl.ZAioTCPChannel
       Category: FINER
       ExtendedMessage: Exit; rc=-1
    --
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.0                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: A WebSphere Application Server for      *
    *                      z/OS                                    *
    *                      server suddenly stops accepting         *
    *                      inbound                                 *
    *                      work immediately after an outbound      *
    *                      channel chain was started.              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When a WebSphere Application Server for z/OS server starts a
    channel chain, an internal data structure is updated with
    details of the TCP channel in the chain.  When multiple chains
    (generally outbound chains) are started over time, it is
    possible for this data structure to become corrupted by the new
    outbound TCP channel.  The symptoms will vary depending on how
    the data structure is corrupted.  If an inbound IIOP channel
    chain is corrupted, the server will stop responding to inbound
    IIOP requests without printing any error messages at all.  If
    an inbound HTTP channel chain is corrupted, the server will
    stop
    responding to new HTTP requests and an FFDC record similar to
    the following will be seen:
    java.lang.NullPointerException at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannel.newConnectionCommon
    (ZAioTCPChannel.java:680) at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannel.readCompletedNewConne
    ction
    (ZAioTCPChannel.java:524) at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannelCPPUtilitiesInterfaceI
    mpl.readCompletedNewConnection
    (ZAioTCPChannelCPPUtilitiesInterfaceImpl.java:82) at
    com.ibm.ws390.tcp.channel.ZAioTCPChannelCPPUtilities.readComplet
    edNewConnection
    (ZAioTCPChannelCPPUtilities.java:79)
    Although the above FFDC record will only be printed the first
    time the error is seen, the FFDC summary data will show that
    the NullPointerException occurs once per inbound HTTP request.
    

Problem conclusion

  • Code was fixed so that the TCP channel data structure is no
    longer corrupted when multiple channel chains are started.
    
    APAR PM38307 is currently targeted for inclusion in
    Service Level (Fix Pack) 7.0.0.19 of WebSphere
    Application Server.
    
    Please refer to URL:
    //www.ibm.com/support/docview.wss?rs=404&uid=swg27006970
    for Fix Pack availability.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM38307

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-03

  • Closed date

    2011-07-15

  • Last modified date

    2011-10-04

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

    PM38306

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

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R700 PSY UK71297

       UP11/09/10 P F109

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

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

Document Information

Modified date:
10 February 2022