IBM Support

JR39667: ILLEGALARGUMENTEXCEPTION OR CLASSCASTEXCEPTION OCCURS WHILE PASSING A JAVA OBJECT PARAMETERS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • IllegalArgumentException or ClassCastException occurs while
    passing a Java Object parameters over the SCA or EJB bindings
    due to an incompatibility between the Object's classloader and
    the classloader of the current scope.
    
    
    [5/19/11 23:19:27:250 EDT]     FFDC
    Exception:java.lang.IllegalArgumentException
    SourceId:com.ibm.ws.sca.internal.java.handler.JavaImplementation
    Handler.processMessage ProbeId:399
    Reporter:com.ibm.ws.sca.internal.java.handler.JavaImplementation
    Handler@78ee78ee
    java.lang.IllegalArgumentException: argument type mismatch
     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)
     at
    com.ibm.ws.sca.internal.java.handler.JavaReflectionAdapter$2.run
    (JavaReflectionAdapter.java:152)
     at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:202)
     at
    com.ibm.ws.sca.internal.java.handler.JavaReflectionAdapter.invok
    e(JavaReflectionAdapter.java:149)
     at
    com.ibm.ws.sca.internal.java.handler.JavaImplementationHandler.i
    nvokeSync(JavaImplementationHandler.java:447)
     at
    com.ibm.ws.sca.internal.java.handler.JavaImplementationHandler.p
    rocessMessage(JavaImplementationHandler.java:195)
     at
    com.ibm.ws.sca.internal.message.impl.MessageDispatcherImpl.proce
    ssMessageWithPCI(MessageDispatcherImpl.java:755)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM Process Center and Process Server       *
    *                  customers                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: A java.lang.IllegalArgumentException:   *
    *                      argument type mismatch is thrown when   *
    *                      calling a target through a sync import  *
    *                      binding.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The problem is caused by the incorrect context classloader being
    used by the Import Binding.
    

Problem conclusion

  • This fix is available via iFix JR39667.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR39667

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-25

  • Closed date

    2011-08-30

  • Last modified date

    2011-09-19

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

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

    PM63187

Fix information

  • Fixed component name

    BPM ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R750 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
06 January 2022