IBM Support

IC96527: UNSET PROMOTED PROPERTY RESULTS IN NULLPOINTEREXCEPTION IN CUSTOM MEDIATION MODULE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A NullPointerException is seen when creating a promoted property
    in a flow when the actual value for that property will not be
    set until later.
    .
    [8/21/13 14:26:28:712 MDT] 0000012b MFCImplementa E
    CWSXM0201E:
    Exception returned by mediation flow for component
    ServiceOrderRequestMediation in module
    NetprovisionMediationV2_0: java.
    lang.NullPointerException
    .------------------------------------
    .
    [8/26/13 16:40:08:950 MDT] 0000014d PropertySette <
    com.ibm.ws.sibx.scax.mediation.engine.utils.PropertySetter
    getOverrideProperties RETURN java.lang.NullPointerException
    .
    [9/15/13 22:55:55:027 MDT] 00000134 JavaMediation >
    com.ibm.ws.sibx.scax.mediation.engine.JavaMediationPrimitive
    handleMediationException ENTRY in
    com.ibm.ws.sibx.mediation.flowaction.impl.sca.FlowActionFactoryI
    mpl@22b023be
    com.ibm.ws.sibx.scax.mediation.engine.FlowInvocationStatus@e1f2b
    454
     ServiceMessageObject: ServiceMessageObject@565cc1c8
    (context=ContextType@b1cfdf9d, headers=HeadersType@e7de398e,
    body=ServiceOrderRequest_processRequestInput@a42832fe)
    com.ibm.wsspi.sibx.mediation.MediationBusinessException:
    java.lang.NullPointerException
    com.ibm.ws.sibx.mediation.session.MediationSession@54f0f14f
    .
    [9/15/13 22:55:55:072 MDT]     FFDC
    Exception:com.ibm.ws.sibx.scax.mediation.engine.UnwiredFailExcep
    tion
    SourceId:com.ibm.wsspi.sibx.mediation.flow.ejb.MediationFlowBean
    .invokeRequestFlow ProbeId:299
    com.ibm.ws.sibx.scax.mediation.engine.UnwiredFailException:
    com.ibm.wsspi.sibx.mediation.MediationBusinessException:
    java.lang.NullPointerException
     at
    com.ibm.ws.sibx.scax.mediation.engine.MediationPrimitive.invokeF
    ailureTerminal(MediationPrimitive.java:264)
     at
    com.ibm.ws.sibx.scax.mediation.engine.JavaMediationPrimitive.han
    dleMediationException(JavaMediationPrimitive.java:1064)
     at
    com.ibm.ws.sibx.scax.mediation.engine.JavaMediationPrimitive.per
    formInvocation(JavaMediationPrimitive.java:750)
     at
    com.ibm.ws.sibx.scax.mediation.engine.JavaMediationPrimitive.per
    formInvocationWithCatch(JavaMediationPrimitive.java:575)
     at
    com.ibm.ws.sibx.scax.mediation.engine.JavaMediationPrimitive.inv
    oke(JavaMediationPrimitive.java:395)
    ...
    Caused by:
    com.ibm.wsspi.sibx.mediation.MediationBusinessException:
    java.lang.NullPointerException
    ...
    Caused by: java.lang.NullPointerException
     at
    sca.component.mediation.java.Custom1293622030025.doMediate(Custo
    m1293622.030025.java:134)
    ...
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of Business Process Manager v8.5 who use promoted
    properties in a mediation flow
    
    ****************************************************************
    PROBLEM SUMMARY:
    If a promoted property is created for a mediation primitive
    but not given a value this will result in a NullPointerException
    in the code when this unset value is accessed
    

Problem conclusion

  • The code was changed such that a NullPointerException will no
    longer be thrown if the value of a promoted property is unset
    
    The code fix is targeted to be included in the maintenance
    delivery vehicle following 8.5.0.1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC96527

  • Reported component name

    WEB ESB FOR WIN

  • Reported component ID

    5724I8200

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-01

  • Closed date

    2013-10-30

  • Last modified date

    2015-02-06

  • 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

    WEB ESB FOR WIN

  • Fixed component ID

    5724I8200

Applicable component levels

  • R751 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC5MLJ","label":"APAR"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"751","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
06 February 2015