IBM Support

JR52056: ATTEMPTS TO ACCESS THE SAME COACH FROM DIFFERENT SESSIONS MIGHT FAIL UNDER HIGH LOAD

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In IBM Business Process Manager (BPM) V8.0, under high load,
    exceptions can occur when different sessions try to access to
    the same coach.
    
    The probability of seeing these exceptions increases as the load
    and the size of the business objects that are used in the coach
    increase.
    
    You might see a stack trace that is similar to the following
    stack trace in the SystemOut.log file:
    java.lang.NullPointerException:
     at com.lombardisoftware.core.TWObject$SerializedForm.
      access$1600(TWObject.java:182)
     at com.lombardisoftware.core.TWObject.
      setActivationVersioningContext(TWObject.java:1268)
     at com.lombardisoftware.core.TWObject.
      setActivationVersioningContextOnObject(TWObject.java:1280)
     at com.lombardisoftware.core.TWObject.
      setActivationVersioningContext(TWObject.java:1270)
     ...
    
    .------------------------------------------------------
       This can also result in data corruption that might cause this
    exception, java.io.StreamCorruptedException: invalid type code:
    00.
       The error logged will have this as the most deeply nested
    exception.
    [6/16/15 8:51:00:773 EDT] 000007a5 wle           E   CWLLG2015E:
      An unexpected runtime exception occurred. See exception for
    more details.
    Error: Wrapped
    com.lombardisoftware.client.delegate.BusinessDelegateException:
    invalid type code: 00 (<JSScript>#9).
    
    org.mozilla.javascript.WrappedException: Wrapped
    com.lombardisoftware.client.delegate.BusinessDelegateException:
    invalid
    type code: 00 (<JSScript>#9)
     at
    org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.ja
    va:1773)
     at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:183)
     at
    org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.ja
    va:247)
     at
    org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.jav
    a:3330)
     at script(<JSScript>:9)
    ...
    Caused by:
    com.lombardisoftware.client.delegate.BusinessDelegateException:
    invalid
    type code: 00
     at
    com.lombardisoftware.client.delegate.BusinessDelegateException.a
    sBusines
    sDelegateException(BusinessDelegateException.java:41)
     at
    com.lombardisoftware.client.delegate.common.WebsphereDelegateHel
    per.doAs
    CurrentSubjectContextSensitive(WebsphereDelegateHelper.java:199)
     at
    com.lombardisoftware.client.delegate.BPDEngineServicesDelegateDe
    fault.de
    scribeBPDExecutionContext(BPDEngineServicesDelegateDefault.java:
    365)
     at sun.reflect.GeneratedMethodAccessor730.invoke(Unknown
    Source)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    Accessor
    Impl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:611)
     at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
     ... 83 more
    Caused by: com.lombardisoftware.core.TeamWorksException: invalid
    type
    code: 00
     at
    com.lombardisoftware.core.TeamWorksException.asTeamWorksExceptio
    n(TeamWorksException.java:136)
     at
    com.lombardisoftware.core.RegexExceptionRewriter.rewrite(RegexEx
    ceptionRewriter.java:76)
     at
    com.lombardisoftware.core.ExceptionHandler.returnProcessedExcept
    ion(ExceptionHandler.java:318)
    ...
    
    Caused by: java.io.StreamCorruptedException: invalid type code:
    00
     at
    java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(O
    bjectInputStream.java:2481)
     at
    java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInpu
    tStream.java:2516)
    ...
     at
    java.io.ObjectInputStream.readObject0(ObjectInputStream.java:134
    6)
     at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
     at
    com.lombardisoftware.client.persistence.common.DAOHelper.loadObj
    ect(DAOHelper.java:124)
    

Local fix

Problem summary

  • The problem is caused by race conditions that happen within a
    small number of statements and, therefore, are difficult to
    enforce or to reproduce.
    

Problem conclusion

  • A fix is available for IBM BPM V8.0.1.3 that adds a
    synchronization mechanism to avoid thread switches from
    occurring in critical statements.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR52056:
    
    1. Select IBM Business Process Manager with your edition from
      the product selector, the installed version to the fix pack
      level, and your platform, and then click Continue.
    
    2. Select APAR or SPR, enter JR52056, and click Continue.
    
    When you download fix packages, ensure that you also download
    the readme file for each fix. Review each readme file for
    additional installation instructions and information about the
    fix.
    

Temporary fix

  • Not applicable
    

Comments

APAR Information

  • APAR number

    JR52056

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-12-15

  • Closed date

    2015-02-24

  • Last modified date

    2015-10-23

  • 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

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R801 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
23 October 2015