IBM Support

PM70271: NULLPOINTEREXCEPTION RECEIVED WHEN USING WS-NOTIFICATION RENEW OPERATION.

Fixes are available

8.5.0.1: WebSphere Application Server V8.5 Fix Pack 1
7.0.0.27: WebSphere Application Server V7.0 Fix Pack 27
8.5.0.2: WebSphere Application Server V8.5 Fix Pack 2
8.0.0.6: WebSphere Application Server V8.0 Fix Pack 6
7.0.0.29: WebSphere Application Server V7.0 Fix Pack 29
8.0.0.7: WebSphere Application Server V8.0 Fix Pack 7
8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
7.0.0.31: WebSphere Application Server V7.0 Fix Pack 31
7.0.0.27: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.33: WebSphere Application Server V7.0 Fix Pack 33
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
7.0.0.37: WebSphere Application Server V7.0 Fix Pack 37
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
7.0.0.39: WebSphere Application Server V7.0 Fix Pack 39
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
7.0.0.41: WebSphere Application Server V7.0 Fix Pack 41
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
7.0.0.43: WebSphere Application Server V7.0 Fix Pack 43
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
7.0.0.45: WebSphere Application Server V7.0 Fix Pack 45
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
7.0.0.27: Java SDK 1.6 SR12 Cumulative Fix for WebSphere Application Server
7.0.0.29: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.31: Java SDK 1.6 SR15 Cumulative Fix for WebSphere Application Server
7.0.0.35: Java SDK 1.6 SR16 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using the WS-Notification Renew operation results in a
    NullPointerException with this trace stack:
    
    02/08/12 14:48:52:162 EDT] 0000002a WebServiceExc E org.apache.
    axis2.jaxws.WebServiceExceptionLogger log A java.lang.
    NullPointerException throwable was caught.  The detail message
    is: at com.ibm.ws.sib.wsn.webservices.impl.inbound.targets.
    SubscriptionManagerImpl.renew(SubscriptionManagerImpl.java:448)
     at com.ibm.ws.sib.wsn.webservices.impl.inbound.provider.
     SMInvokerImpl.invoke(SMInvokerImpl.java:131)
     at com.ibm.ws.sib.wsn.webservices.impl.inbound.provider.
     SMProviderImpl.invokeTargetService(SMProviderImpl.java:135)
     at com.ibm.ws.sib.wsn.webservices.impl.inbound.provider.
     WSNProviderImpl.invoke(WSNProviderImpl.java:140)
     at com.ibm.ws.sib.wsn.webservices.impl.inbound.provider.
     SMProviderImpl.invoke(SMProviderImpl.java:101)
     at sun.reflect.NativeMethodAccessorImpl.invoke0
     (Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke
     (NativeMethodAccessorImpl.java:48)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke
     (DelegatingMethodAccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:600)
     at org.apache.axis2.jaxws.server.dispatcher.JavaDispatcher.
     invokeTargetOperation(JavaDispatcher.java:82)
     at org.apache.axis2.jaxws.server.dispatcher.
     ProviderDispatcher.invoke(ProviderDispatcher.java:136)
     at org.apache.axis2.jaxws.server.EndpointController.invoke
     (EndpointController.java:110)
     at org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive
     JAXWSMessageReceiver.java:159)
     at org.apache.axis2.engine.AxisEngine.receive
     (AxisEngine.java:188)
     at org.apache.axis2.transport.http.HTTPTransportUtils.
     processHTTPPostRequest(HTTPTransportUtils.java:275)
     at com.ibm.ws.websvcs.transport.http.WASAxis2Servlet.doPost
     (WASAxis2Servlet.java:1351)
     at javax.servlet.http.HttpServlet.
     service(HttpServlet.java:738)
     at javax.servlet.http.HttpServlet.
     service(HttpServlet.java:831)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.
     service(ServletWrapper.java:1661)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.
     handleRequest(ServletWrapper.java:937)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.
     handleRequest(ServletWrapper.java:500)
     at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.
     handleRequest(ServletWrapperImpl.java:178)
     at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.
     handleRequest(CacheServletWrapper.java:91)
     at com.ibm.ws.webcontainer.WebContainer.
     handleRequest(WebContainer.java:864)
     at com.ibm.ws.webcontainer.WSWebContainer.
     handleRequest(WSWebContainer.java:1583)
     at com.ibm.ws.webcontainer.channel.WCChannelLink.
     ready(WCChannelLink.java:186)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.
     handleDiscrimination(HttpInboundLink.java:455)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.
     handleNewInformation(HttpInboundLink.java:384)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.
     ready(HttpInboundLink.java:272)
     at com.ibm.ws.tcp.channel.impl.
     NewConnectionInitialReadCallback.
     sendToDiscriminators
     (NewConnectionInitialReadCallback.java:214)
     at com.ibm.ws.tcp.channel.impl.
     NewConnectionInitialReadCallback.
     complete(NewConnectionInitialReadCallback.java:113)
     at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.
     futureCompleted(AioReadCompletionListener.java:165)
     at com.ibm.io.async.AbstractAsyncFuture.
     invokeCallback(AbstractAsyncFuture.java:217)
     at com.ibm.io.async.AsyncChannelFuture.
     fireCompletionActions(AsyncChannelFuture.java:161)
     at com.ibm.io.async.AsyncFuture.
     completed(AsyncFuture.java:138)
     at com.ibm.io.async.ResultHandler.
     complete(ResultHandler.java:204)
     at com.ibm.io.async.ResultHandler.
     runEventProcessingLoop(ResultHandler.java:775)
     at com.ibm.io.async.ResultHandler$2.run
     (ResultHandler.java:905)
     at com.ibm.ws.util.ThreadPool$Worker.
     run(ThreadPool.java:1550)
    

Local fix

  • Add an "any element" to the Renew operation.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server users of   *
    *                  WS-                                         *
    *                  Notification.                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException is thrown when     *
    *                      invoking the Renew operation on a WS-   *
    *                      Notification subscription manager       *
    *                      service.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The WS-Notification specification defines the Renew element to
    contain a sequence of exactly one AbsoluteOrRelativeTimeType
    elements and an unbounded number of any elements.  If the Renew
    request contains zero any elements in the sequence a
    NullPointerException is thrown due to a program error.
    

Problem conclusion

  • To prevent the NullPointerException the variable referencing
    the
    sequence of any elements was checked for a null value before
    being processed.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 7.0.0.27, 8.0.0.6, and 8.5.0.1.  Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM70271

  • Reported component name

    WAS SIB & SIBWS

  • Reported component ID

    620800101

  • Reported release

    300

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-03

  • Closed date

    2012-08-24

  • Last modified date

    2012-09-24

  • 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

    WAS SIB & SIBWS

  • Fixed component ID

    620800101

Applicable component levels

  • R300 PSY

       UP

  • R800 PSY

       UP

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

Document Information

Modified date:
29 October 2021