IBM Support

PI52077: RDZ 9.1.1.1: UNEXPECTED ERROR IMPORTING DEBUG TOOL CODE COVERAGE RESULT.

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

  • When importing code coverage report into RDz from Debug Tool
    receiving the following error message:
    
    Unexpected error importing Debug Tool Code Coverage result.
    Please see workspace log file.
    
    Log file shows:
    com.ibm.debug.pdt.codecoverage.core.results.importers.CCImportEx
    ception: org.xml.sax.SAXParseException: An invalid XML character
    (Unicode: 0x1a) was found in the CDATA section.
                at
    com.ibm.debug.pdt.codecoverage.internal.core.results.importers.d
    t.DebugToolCodeCoverageImporter.parse(Unknown Source)
                at
    com.ibm.debug.pdt.codecoverage.core.results.importers.AbstractCC
    Importer.<init>(Unknown Source)
                at
    com.ibm.debug.pdt.codecoverage.internal.core.results.importers.d
    t.DebugToolCodeCoverageImporter.<init>(Unknown Source)
                at
    com.ibm.debug.pdt.codecoverage.rdz.ui.internal.handlers.ImportDe
    bugToolHandler$1.run(Unknown Source)
                at org.eclipse.core.internal.jobs.Worker.run(Unknown
    Source)
    Caused by: org.xml.sax.SAXParseException: An invalid XML
    character (Unicode: 0x1a) was found in the CDATA section.
                at org.apache.xerces.parsers.DOMParser.parse(Unknown
    Source)
                at
    org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
                at javax.xml.parsers.DocumentBuilder.parse(Unknown
    Source)
                ... 5 more
    !ENTRY com.ibm.debug.pdt.codecoverage.ui 4 0 2015-10-28
    10:10:42.929 !MESSAGE Unexpected error importing Debug Tool Code
    Coverage result. Please see workspace log file.
    
    
    For reference, the unicode value is 001a, hex value 1A which
    cause the error.
    

Local fix

  • Manually replace problematic characters and then rerun the
    import.
    

Problem summary

  • Importing a Debug Tool Code Coverage result that contains
    invalid xml characters results in a parsing exception.
    

Problem conclusion

  • RDz now filters the file for invalid characters before
    attempting to parse each line.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI52077

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-11-06

  • Closed date

    2016-09-16

  • Last modified date

    2016-09-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

    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: 9.1

Reference #: PI52077

Modified date: 16 September 2016