IBM Support

PI17180: NULL POINTER EXCEPTION OCCURS WHEN JMS ADAPTER RECEIVES A MESSAGE THAT DOES NOT CONTAIN A "JMSDESTINATION" FIELD.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a Java Message Service (JMS) adapter performs a 'read'
    operation against a JMS
    broker, a null pointer exception will occur if the message
    received does not contain the "JMSDestination" field.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Developers (application developers as well as server side    *
    * developers) who administer, test, deploy, or make use of the *
    * Java Message Service (JMS) adapter in any way.               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Normally when a message is placed onto a message queue, the  *
    * JMSDestination property is populated. In some cases (such as *
    * when a test message is put on a test queue) the              *
    * JMSDestination field will be null. The Worklight Java        *
    * Message Server (JMS) adapter will throw a Null Pointer       *
    * Exception in these cases.                                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • Additional checking is done at runtime to avoid a null pointer
    exception in the case that the JMS Destination field does not
    exist.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI17180

  • Reported component name

    WORKLIGHT CONSU

  • Reported component ID

    5725I4301

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-05-01

  • Closed date

    2014-05-15

  • Last modified date

    2014-05-15

  • 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

    WORKLIGHT CONSU

  • Fixed component ID

    5725I4301

Applicable component levels

  • R506 PSY

       UP

  • R600 PSY

       UP

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021