IBM Support

IT27887: IBM MQ Console 9.1 throws a NullPointerException when attemptingto delete 'create authority records'

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • A web browser is directed to the running IBM MQ 9.1.0.1 Console
    URL:
    
        https://localhost:9443/ibmmq/console
    
    and the user logs into the IBM MQ Console.  The following steps
    are then carried out:
    
    (1) Select a queue manager, and click on the three dots "...",
    and select "Manage create authority records"
    
    (2) Click on the "Create +" button, and enter an entity name for
    a user which is defined on the system.  Then select "Create".
    
    (3) Select the newly created entity name, and select "Delete".
      Select "Delete" again on the confirmation panel.
    
    (4) An error message will be displayed, which reads:
    
    Failed to delete object "Error 500:
    java.lang.NullPointerException"
    
    The "create authority record" will not have been deleted.
    
    
    The application server's "messages.log" log file contains an
    exception stack of the form:
    
    [01/02/19 16:38:43:692 GMT] 00000058
    com.ibm.ws.webcontainer.util.ApplicationErrorUtils           E
    SRVE0777E: Exception thrown by application class
    'com.ibm.mq.ui.api.resources.OAMResource.getMQConstIntFromString
    Object:926'
    java.lang.NullPointerException
    at
    com.ibm.mq.ui.api.resources.OAMResource.getMQConstIntFromStringO
    bject
    at com.ibm.mq.ui.api.resources.OAMResource.deleteOAMRecord
    at sun.reflect.NativeMethodAccessorImpl.invoke0
    at sun.reflect.NativeMethodAccessorImpl.invoke
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
    at java.lang.reflect.Method.invoke
    at
    org.apache.wink.server.internal.handlers.InvokeMethodHandler.han
    dleRequest
    at org.apache.wink.server.handlers.AbstractHandler.handleRequest
    at org.apache.wink.server.handlers.RequestHandlersChain.handle
    ... ... ...
    
    and the 'create' authority record will not have been deleted.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of the IBM MQ Console who are attempting to create and
    delete 'create authority records'.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    There were several problems in the way in which the IBM MQ
    Console 'create authority records' function was being managed
    within the IBM MQ Console, which resulted in the IBM MQ Console
    being unable to delete 'create authority records'.
    
    When the delete function was attempted, a NullPointerException
    was seen in the Web Console, as well as an error message in the
    application server's messages.log file.  In addition, an ffdc
    was also generated, with contents of the form:
    
    ------Start of DE processing------ = [01/02/19 16:38:43:703 GMT]
    Exception = java.lang.NullPointerException
    Source =
    com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters
    probeid = 1105
    Stack Dump = java.lang.NullPointerException
            at
    com.ibm.mq.ui.api.resources.OAMResource.getMQConstIntFromStringO
    bject(OAMResource.java:926)
            at
    com.ibm.mq.ui.api.resources.OAMResource.deleteOAMRecord(OAMResou
    rce.java:495)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
            at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:90)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:55)
            at java.lang.reflect.Method.invoke(Method.java:508)
            at
    org.apache.wink.server.internal.handlers.InvokeMethodHandler.han
    dleRequest(InvokeMethodHandler.java:63)
            ... ... ...
    
    
    Note that this problem did not concern the management of
    'authority records' within the IBM MQ Console - only the 'create
    authority records' were affected.
    

Problem conclusion

  • The IBM MQ Console application has been reworked in the area of
    the management of 'create authority records', so that they now
    behave in the intended manner.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v9.1 CD    9.1.3
    v9.1 LTS   9.1.0.3
    
    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

    IT27887

  • Reported component name

    IBM MQ BASE MP

  • Reported component ID

    5724H7271

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-01-25

  • Closed date

    2019-02-14

  • Last modified date

    2019-02-14

  • 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

    IBM MQ BASE MP

  • Fixed component ID

    5724H7271

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 February 2019