IBM Support

PH57333: IDZ ZUNIT TEST CASE RUN RESULTS IN "FAILED TO CREATE THE PART'S CONTROL" WHEN THE GENERATED BZURES FILE IS LARGE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • In IBM Developer for z/OS (IDz) v16.0.2, when the test program
    is run with zUnit > z/OS Automated Unit Testing Framework) > Run
    Test Case..., the ZUnit results editor may display "Failed to
    create the part's control" error when the content of the test
    run results (the BZURES file) is very large for the editor to
    display. The error log file (<workspace>\.metadata\.log file)
    will display the following exception:
    
    java.lang.StringIndexOutOfBoundsException
        at java.base/java.lang.String.getChars(String.java:1887)
        at
    org.eclipse.swt.graphics.TextLayout.breakRun(TextLayout.java:250
    )
        at
    org.eclipse.swt.graphics.TextLayout.splitLongRun(TextLayout.java
    :2921)
    
    The same file opened in a generic text editor will display the
    same exception.
    

Local fix

Problem summary

  • See error description.
    

Problem conclusion

  • This issue has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH57333

  • Reported component name

    DEV FOR Z/OS

  • Reported component ID

    5724T0700

  • Reported release

    G00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-10-03

  • Closed date

    2023-10-20

  • Last modified date

    2023-10-20

  • 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

    DEV FOR Z/OS

  • Fixed component ID

    5724T0700

Applicable component levels

[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"G00"}]

Document Information

Modified date:
21 October 2023