IBM Support

PI30538: NullPointerException during Transformation hides the real exception

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • NullPointerException is thrown during transformation as
    the class attempts to use null in a case where an object is
    required.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException thrown during      *
    *                      transformation hides the real           *
    *                      exception                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The Class where the java.lang.NullPointerException occurs
    assumes that its object can never be null. The exception
    handling there catches RuntimeExceptions but in the case where
    the object is null, a NullPointerException is thrown to the
    customer due to which the actual RuntimeException gets hidden.
    Calling a null reference object triggers a
    NullPointerException.
    Here is the stacktrace of the exception:
    java.lang.NullPointerException
    at
    com.ibm.xltxe.rnm1.xtq.xslt.drivers.XSLTExecutable.execute(XSLTE
    xecutable.java:165)
    at
    com.ibm.xltxe.rnm1.xtq.exec.XSLTExecutableImpl.execute(XSLTExecu
    tableImpl.java:92)
    at
    com.ibm.xltxe.rnm1.xtq.exec.XSLTExecutableImpl.execute(XSLTExecu
    tableImpl.java:62)
    at
    com.ibm.mdm.asi.MDMDefaultResponseAdapter.processMessage(MDMDefa
    ultResponseAdapter.java:141)
    at
    com.ibm.mdm.asi.ASIResponseProcessor.processResponse(ASIResponse
    Processor.java:34)
    at
    com.ibm.mdm.webservice.provider.MDMDefaultProvider.invoke(MDMDef
    aultProvider.java:140)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    

Problem conclusion

  • To prevent the NullPointerException, added proper exception
    handling in the code to check if the object is not null so the
    real RuntimeException can get caught.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.10 and 8.5.5.5. Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI30538

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-12-01

  • Closed date

    2015-02-03

  • Last modified date

    2015-02-03

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

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

    PI30545

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 PSY

       UP

  • R850 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 April 2022