IBM Support

IT04256: JAVA.LANG.CLASSCASTEXCEPTION THROWN FROM FLOW ORDER MEDIATION PRIMITIVE

 

APAR status

  • Closed as program error.

Error description

  • A java.lang.ClassCastException is thrown when a message is
    routed via a
    Flow Order Mediation primitve with the following stack:
    
    Caused by: java.lang.ClassCastException:
    com.ibm.ws.sibx.smobo.impl.
    ServiceMessageObjectImpl incompatible with
    com.ibm.ws.sibx.smobo.x.impl.
    ServiceMessageObjectImpl
     at
    com.ibm.ws.sibx.mediation.primitives.floworder.FlowOrderMediatio
    n.
    mediate(FlowOrderMediation.java:163)
     at
    com.ibm.ws.sibx.scax.mediation.engine.JavaMediationPrimitive.
    performInvocation(JavaMediationPrimitive.java:766)
     at
    com.ibm.ws.sibx.scax.mediation.engine.JavaMediationPrimitive.
    performInvocationWithCatch(JavaMediationPrimitive.java:602)
     at
    com.ibm.ws.sibx.scax.mediation.engine.JavaMediationPrimitive.inv
    oke
    (JavaMediationPrimitive.java:422)
     at com.ibm.ws.sibx.scax.mediation.engine.MediationPrimitive.
    invokeConnections(MediationPrimitive.java:348)
     at
    com.ibm.ws.sibx.scax.mediation.engine.JavaMediationPrimitive.
    fireOutputTerminals(JavaMediationPrimitive.java:868)
     at
    com.ibm.ws.sibx.scax.mediation.engine.JavaMediationPrimitive.
    performInvocation(JavaMediationPrimitive.java:788)
     at
    com.ibm.ws.sibx.scax.mediation.engine.JavaMediationPrimitive.
    performInvocationWithCatch(JavaMediationPrimitive.java:602)
     at
    com.ibm.ws.sibx.scax.mediation.engine.JavaMediationPrimitive.inv
    oke
    (JavaMediationPrimitive.java:422)
     at com.ibm.ws.sibx.scax.mediation.engine.MediationPrimitive.
    invokeConnections(MediationPrimitive.java:348)
     at
    com.ibm.ws.sibx.scax.mediation.engine.Input.invoke(Input.java:24
    5)
     at com.ibm.ws.sibx.scax.mediation.engine.RequestFlow.invokeFlow
    (RequestFlow.java:135)
     at com.ibm.ws.sibx.scax.mediation.engine.MediationFlow.
    invokeRequestFlow(MediationFlow.java:169)
     at com.ibm.wsspi.sibx.mediation.flow.ejb.MediationFlowBean.
    invokeRequestFlow(MediationFlowBean.java:292)
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of WebSphere Enterprise Service Bus v7 and Business
    Process Manger v7 and v8 running in eager parsing mode who make
    use of the Flow Order Mediation Primitive in their applications.
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    When using a Flow Order Mediation Primitive in a flow a Class
    Cast Exception could be seen if the flow is running in eager
    parsing mode. The exception is thrown as the code assumes that
    lazy parsing mode is in operation.
    

Problem conclusion

  • The code has been altered to ensure that the Flow Order
    Mediation Primitive can be used without error in both lazy and
    eager parsing modes.
    
    | MDVPARTL - WESB 8.5.5.0 | Introduced by APAR IC97708
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT04256

  • Reported component name

    WESB IN BPM

  • Reported component ID

    AIMCMFC00

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-09-08

  • Closed date

    2014-10-21

  • Last modified date

    2014-10-21

  • 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

    WESB IN BPM

  • Fixed component ID

    AIMCMFC00

Applicable component levels

  • R850 PSY

       UP

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

Document Information

Modified date:
21 October 2014