IBM Support

JR44041: NULLPOINTEREXCEPTION IS THROWN WHEN INVOKING MQ WITH THE CORRELATIONID IS POPULATED ON MQ HEADER IN V7.5

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When MediationFlow invoking MQ binding import, If set correlId
    to MQ
    header in MediatinFlow, NullPointerException could occur in MQ
    binding
    at runtime.
    
    Exception:
    Caused by: java.lang.NullPointerException
     at
    com.ibm.ws.sca.internal.mq.MQMDUtils.createMQMD(MQMDUtils.java:3
    78)
     at
     com.ibm.ws.sca.internal.mq.MQMethodBindingImpl.getRequestMessag
    e(MQMeth
    odBindingImpl.java:513)
     at
     com.ibm.ws.sca.internal.mq.MQMethodBindingImpl.oneway_invoke(MQ
    MethodBi
    ndingImpl.java:193)
     at
     com.ibm.ws.sca.internal.mq.MQInterfaceBindingImpl.invokeAsync(M
    QInterfa
    ceBindingImpl.java:163)
     at
     com.ibm.ws.sca.internal.mq.handler.MQImportHandler.invokeDynami
    cImport(
    MQImportHandler.java:620)
     at
     com.ibm.ws.sca.internal.mq.handler.MQImportHandler.processMessa
    ge(MQImp
    ortHandler.java:357)
     at
     com.ibm.ws.sca.internal.mq.handler.NativeMQImportHandler.proces
    sMessage
    (NativeMQImportHandler.java:206)
     at
     com.ibm.ws.sca.internal.message.impl.MessageDispatcherImpl.proc
    essMessa
    ge(MessageDispatcherImpl.java:1756)
     ... 94 more
    

Local fix

  • iFix is requested
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Business Process Manager V75 uses           *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException is thrown when     *
    *                      invoking MQ with the CorrelatoinID is   *
    *                      propulated on MQ header                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When MediationFlow invoke MQ import, if customer set correlId
    to MQ header in MediatinFlow, got NullPointerException at
    runtime.
    Exception:
    Caused by: java.lang.NullPointerException
    at
    com.ibm.ws.sca.internal.mq.MQMDUtils.createMQMD(MQMDUtils.java:3
    78)
    at
    com.ibm.ws.sca.internal.mq.MQMethodBindingImpl.getRequestMessage
    (MQMethodBindingImpl.java:513)
    at
    com.ibm.ws.sca.internal.mq.MQMethodBindingImpl.oneway_invoke(MQM
    ethodBindingImpl.java:193)
    at
    com.ibm.ws.sca.internal.mq.MQInterfaceBindingImpl.invokeAsync(MQ
    InterfaceBindingImpl.java:163)
    ...
    

Problem conclusion

  • This problem is fixed by adding header properties checker and
    handling correlId properly.
    Fix is available on FixCentral.
    Install/Dependency information is available in the
    readme.txt
    on FixCentral. When the user goes to the download files page
    in FixCentral, the readme will be available with the fix
    package as a separate download.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR44041

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-11

  • Closed date

    2012-10-26

  • Last modified date

    2012-10-26

  • 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

    BPM ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R750 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 October 2021