IBM Support

PM50604: GETVERSIONSFORALLEFIXES FAILS WITH NULLPOINTEREXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following code works on version 6.1/70 but fails on version
    8.0
    
    adminClient = AdminClientFactory.createAdminClient(props);
    ObjectName serverMBean = adminClient.getServerMBean();
    String[] results = (String[]) adminClient.invoke(serverMBean,
    "getVersionsForAllEFixes", new Object[0], new String[0]);
    
    The following exception is thrown in version 8.0 .
    
    javax.management.MBeanException: RuntimeException thrown in
    RequiredModelMBean while trying to invoke operation
    getVersionsForAllEFixes
    at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.handleA
    dminFault(SOAPConnectorClient.java:948)
    at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeT
    emplateOnce(SOAPConnectorClient.java:916)
    at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeT
    emplate(SOAPConnectorClient.java:682)
    at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeT
    emplate(SOAPConnectorClient.java:672)
    at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(
    SOAPConnectorClient.java:658)
    at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(
    SOAPConnectorClient.java:480)
    [...]
    Caused by: java.lang.IllegalStateException:
    java.lang.NullPointerException
    at
    com.ibm.ws.runtime.component.ServerCollaborator.getVersionsForAl
    lEFixes(ServerCollaborator.java:763)
    
    Nearly the same output was received for version 8.0.0.1
    (distributed with DMGR on Windows):
    
    javax.management.MBeanException: RuntimeException thrown in
    RequiredModelMBean while trying to invoke operation
    getVersionsForAllEFixes
    at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.handleA
    dminFault(SOAPConnectorClient.java:948)
    at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeT
    emplateOnce(SOAPConnectorClient.java:916)
    at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeT
    emplate(SOAPConnectorClient.java:682)
    at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeT
    emplate(SOAPConnectorClient.java:672)
    at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(
    SOAPConnectorClient.java:658)
    at
    com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(
    SOAPConnectorClient.java:480) [...]
    Caused by: java.lang.NullPointerException
    at
    com.ibm.ws.runtime.component.ServerCollaborator.getVersionsForAl
    lEFixes(ServerCollaborator.java:765)
    

Local fix

  • N/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.0 and v8.5                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: The Server MBean's                      *
    *                      getVersionsForAllEFixes method fails    *
    *                      with a NullPointerException.            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An issue exists in the Server MBean's getVersionsForAllEFixes
    method in which, in an environment with no fixes applied, the
    method can fail with a NullPointerException.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM50604

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-10-21

  • Closed date

    2013-05-31

  • Last modified date

    2013-05-31

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • 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":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 October 2021