IBM Support

PI66700: IN RATIONAL DEVELOPER FOR Z SYSTEMS (RDZ) 9.5.1, COMPARING TWO LOCAL COBOL FILES WITH EACH OTHER RESULTS IN EXCEPTION

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In Rational Developer for z Systems (RDz) 9.5.1, comparing two
    local COBOL source files with each other by selecting both
    files, then right clicking to select "Compare with > Each
    Other", results in AssertionFailedException:
    org.eclipse.core.runtime.AssertionFailedException: assertion
    failed:
     at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
     at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
     at org.eclipse.jface.text.Position.<init>(Position.java:63)
     at
    org.eclipse.compare.structuremergeviewer.DocumentRangeNode.regis
    terPositionUpdater(Unknown Source)
     at
    org.eclipse.compare.structuremergeviewer.DocumentRangeNode.<init
    >(Unknown Source)
     at
    com.ibm.systemz.cobol.editor.jface.compare.CobolNode.<init>(Unkn
    own Source)
     at
    com.ibm.systemz.cobol.editor.jface.compare.CobolComparisonParser
    .parse(Unknown Source)
     at
    com.ibm.systemz.cobol.editor.jface.compare.CobolComparisonParser
    .parse(Unknown Source)
     at
    com.ibm.systemz.cobol.editor.jface.compare.CobolComparisonParser
    .parse(Unknown Source)
     at
    com.ibm.systemz.cobol.editor.jface.compare.CobolComparisonParser
    .parse(Unknown Source)
     at
    com.ibm.systemz.cobol.editor.jface.compare.CobolStructureCreator
    .createStructureComparator(Unknown Source)
     at
    org.eclipse.compare.structuremergeviewer.StructureCreator.getStr
    ucture(Unknown Source)
    
    The files are not compared and the compare editor view is empty.
    The same issue can be reproduced in RDz 9.5.1.1.
    

Local fix

  • Open Window > Preferences > General > Compare/Patch.  On this
    dialog Uncheck the checkbox for "Open structure compare
    automatically"
    Click Apply
    Click OK
    
    The compare with should work now.
    

Problem summary

  • Comparing two local COBOL files with each other results in
    assertion failed exception.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI66700

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    951

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-07-28

  • Closed date

    2016-10-27

  • Last modified date

    2016-10-27

  • 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

    RATL DEV FOR SY

  • Fixed component ID

    5724T0700

Applicable component levels

  • R951 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 951

Reference #: PI66700

Modified date: 27 October 2016