IBM Support

IT08346: Null pointer Exception is seen during REST(Representational state transfer) call in IBM Systems Director.

 

APAR status

  • Closed as fixed if next.

Error description

  • A REST API call from SCE (Smart Cloud Entry) to ISD (IBM Systems
    Director) to access a resource may result in an error 500 as
    the result of improper handling of a Null value causing a Null
    Pointer Exception.
    This issue can verified if the following Null Pointer exception
    is seen in the IBM Systems director's error logs:
    SEVERE Exception thrown within REST call
    ::class.method=com.ibm.usmi.kernel.remoteinterfaces.rest.Generic
    ExceptionMapper.toResponse() ::thread=HttpServer : 62995
    ::loggername=com.ibm.usmi.kernel.remoteinterfaces.rest
    
     java.lang.NullPointerException
     at
    com.ibm.usmi.kernel.remoteinterfaces.rest.managedresource.Manage
    dResourceURIHandler.getDefaultProps(ManagedResourceURIHandler.ja
    va:172)
     at
    com.ibm.usmi.kernel.remoteinterfaces.rest.managedresource.Manage
    dResourceURIHandler.getProperties(ManagedResourceURIHandler.java
    :123)
     at
    com.ibm.usmi.kernel.remoteinterfaces.rest.managedresource.Specif
    icManagedResourceURIHandler.getManagedResource(SpecificManagedRe
    sourceURIHandler.java:130)
     at sun.reflect.GeneratedMethodAccessor2789.invoke(Unknown
    Source)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:55)
     at java.lang.reflect.Method.invoke(Method.java:618)
                etc.....  (call stack is like 50 lines long)
    Impact:
    SCE cannot  access the resources using REST API call.
    

Local fix

  • There is no usage change that will avoid this issue
    

Problem summary

  • SCE tries to access the resource using a REST API call is
    returning the 500 error. This can happen because the Null value
    is not handled properly which can cause a Null Pointer Exception
    Changes are made in the code to handle the Null Pointer
    Exception and prevent this issue. This issue will be fixed in
    future releases of IBM Systems Director.
    
     Platforms:
    All supported Platforms for ISD (SCE v3.2 FP3)
    Versions:
    Systems Director Server v6.3.5.
    

Problem conclusion

Temporary fix

  • Please contact IBM Support and reference this APAR for further
    options.
    

Comments

APAR Information

  • APAR number

    IT08346

  • Reported component name

    IBM DIR SVR AIX

  • Reported component ID

    5765DRPAS

  • Reported release

    635

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-15

  • Closed date

    2015-04-22

  • Last modified date

    2015-06-16

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R635 PSY

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSQJEY","label":"IBM Systems Director Enterprise Edition for Power"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"635","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSWQBC","label":"IBM Systems Director Express Edition for Power"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"635","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSWQD8","label":"IBM Systems Director Standard Edition for Power"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"635","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11P","label":"APARs - AIX 5.3 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"635","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"635","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
16 June 2015