IBM Support

JR42729: CANNOT RENDER BPD AND SERVICE DIAGRAM PROPERLY WHEN THERE IS CONTROL POINTS IN THE LINK.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The current REST API (for firefox) and image generation (for IE)
    code didn't handle the link control point properly. Depending on
    the number of control points in the link, it might cause an
    IndexOutOfBoundsException when determining the link label
    position.
    The exception in the Process Center Log:
    com.ibm.bpm.rest.impl.ilogdiagram.bpd.BPDILOGVisualResource
    getProcessInstancesForILOGDiagram Index: -1, Size: 0
    java.lang.IndexOutOfBoundsException:
    Index: -1, Size: 0
     at java.util.ArrayList.get(ArrayList.java:352)
    
    at
    com.ibm.bpm.rest.impl.ilogdiagram.LinkLabelPositionHelper.setLab
    lePosition(LinkLabelPositionHelper.java:20)
    
    Also when the link is across multiple swimlanes in
    a BPD,the bendpoints calculation is wrong, since the current
    code use the relative position for the x and y of control
    point, ILOG API expects absolute position when a link is cross
    swimlanes.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of BPM 7.5.1 Express, Standard and    *
    *                  Advanced.                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: Blank screen when attempting to view    *
    *                      Process Instance Diagram in which       *
    *                      control                                 *
    *                      points are present.                     *
    ****************************************************************
    * RECOMMENDATION:  Recommended fix.                            *
    ****************************************************************
    The current REST API (for firefox) and image generation (for
    IE)
    code didn't handle the link control point properly. Depending
    on
    the number of control points in the link, it might cause an
    IndexOutOfBoundsException when determining the link label
    position.
    The exception in the Process Center Log:
    com.ibm.bpm.rest.impl.ilogdiagram.bpd.BPDILOGVisualResource
    getProcessInstancesForILOGDiagram Index: -1, Size: 0
    java.lang.IndexOutOfBoundsException:
    Index: -1, Size: 0
    at java.util.ArrayList.get(ArrayList.java:352)
    at
    com.ibm.bpm.rest.impl.ilogdiagram.LinkLabelPositionHelper.setLab
    lePosition(LinkLabelPositionHelper.java:20)
    Also when the link is across multiple swimlanes in
    a BPD,the bendpoints calculation is wrong, since the current
    code use the relative position for the x and y of control
    point, ILOG API expects absolute position when a link is cross
    swimlanes.
    

Problem conclusion

  • Changed the transformer from BPD (and TWProcess) to ILOG visual
    model so that it can calculate bendpoints properly when the
    control points are used.
    
    Problem is fixed in interim fix available in Fix Central.
    Problem is also fixed in future releases.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR42729

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-05-07

  • Closed date

    2012-07-16

  • Last modified date

    2012-07-16

  • 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 ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R750 PSY

       UP



Document information

More support for: IBM Business Process Manager Advanced

Software version: 7.5.1

Reference #: JR42729

Modified date: 16 July 2012