IBM Support

PM76476: In RDz 8.0.3.3, attempts to copy/paste in LPEX editor may result in a NullPointerException

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • APAR Error Description:
    Abstract: In Rational Developer for System z (RDz) version
    8.0.3.3, attempts to copy/paste COBOL code in LPEX editor may
    result in a NullPointerException.
    Problem: The following stacktrace can be found in
    ?workspace?.metadata\.log:
    
    java.lang.NullPointerException
    at org.eclipse.jface.text.AbstractDocument.getOffset(Unknown
    Source)
    at
    org.eclipse.jface.text.AbstractDocument.computeIndexInPositionLi
    st(Unknown
    Source)
    ...
    at
    com.ibm.lpex.alef.DocumentAdapter.documentChanged(Unknown
    Source)
    
    In ?workspace?\.metadata\.plugins\com.ibm.lpex\Editor.log the
    following error can be found:
    
    java.lang.NullPointerException
        at
    org.eclipse.jface.text.DefaultPositionUpdater.update(Unknown
    Source)
        at
    org.eclipse.jface.text.AbstractDocument.updatePositions(Unknown
    Source)
        at
    org.eclipse.jface.text.AbstractDocument.updateDocumentStructures
    (Unknown
    Source)
        at
    org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(Unkn
    own
    Source)
        at org.eclipse.jface.text.AbstractDocument.replace(Unknown
    Source)
    
    Local fix:
    Save the modification and reopen the file.
    

Local fix

Problem summary

  • The null pointer exception may occur when the LPEX annotation
    model is updated outside the UI thread.
    

Problem conclusion

  • The real-time syntax check routines now update the LPEX LPEX
    annotation model in the UI thread.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V8.0.3.4 Fix Pack which
    is available from the Recommended Fixes support download page:
    http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM76476

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    803

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-05

  • Closed date

    2012-12-13

  • Last modified date

    2012-12-13

  • 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

  • R803 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.3","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
13 December 2012