IBM Support

IC60777: .NET GETFORMATASLONG NULLREFERENCEEXCEPTION WITH CCSID 1051

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A .NET application that got a message with a CCSID of 1051 gave
    the following exception:
    
    System.NullReferenceException: Object reference is not defined
    at object instance.
    IBM.WMQ.MQMarshalMessageForGet.GetFormatAsLong(Encoding
    encoding)
    IBM.WMQ.MQMarshalMessageForGet.ProcessMessageForRFH()
    IBM.WMQ.MQDestination.PerformMsgProcessingAfterGet
    (MQMessage& mqMsg, Byte[] data, Int32 length)
    IBM.WMQ.MQDestination.Get(MQMessage message,
    MQGetMessageOptions gmo, Int32 maxMsgSize)
    IBM.WMQ.MQDestination.Get(MQMessage message,
    MQGetMessageOptions gmo)
    

Local fix

  • na
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of .NET (including VB .NET) that get messages in a CCSID
    that does not have a direct mapping to a .NET encoding
    (including CCSID 1051).
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM SUMMARY:
    The .NET code was referencing a property of a null object (in a
    case where it was valid for the object to be null). The problem
    was seen when a message was got which had an MQ CCSID that did
    not have a direct mapping to a .NET Encoding (such as CCSID
    1051).
    

Problem conclusion

  • The .NET code has been updated so the object property is not
    referenced when the object is null.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.0
    --------           --------------------
    Windows            U200306
    
    The latest available maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available, information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC60777

  • Reported component name

    WMQ WINDOWS V7

  • Reported component ID

    5724H7220

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-04-14

  • Closed date

    2009-04-29

  • Last modified date

    2009-04-29

  • 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

    WMQ WINDOWS V7

  • Fixed component ID

    5724H7220

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCPQ63","label":"APAR \/ Maintenance"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
29 April 2009