IBM Support

IV48556: JAVAX.SWING.UNDO.CANNOTUNDOEXCEPTION WITH UNDOMANAGER.UNDO API

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

  • Error Message: N/A
    .
    Stack Trace: javax.swing.undo.CannotUndoException
    at
    javax.swing.text.GapContent$InsertUndo.undo(GapContent.java:856)
    at javax.swing.undo.CompoundEdit.undo(CompoundEdit.java:46)
    at
    javax.swing.text.AbstractDocument$DefaultDocumentEvent.undo(Abst
    ractDocument.java:2788)
    at javax.swing.undo.UndoManager.undoTo(UndoManager.java:320)
    at javax.swing.undo.UndoManager.undo(UndoManager.java:398)
    at xxx.main(xxx.java:xx)
    .
    

Local fix

Problem summary

  • The problem happened due to incorrect condition check for the
    offset and length of a string  while identifying the content
    which has to be removed as part of 'undo' operation
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR15
    6.0.1 SR7
    7.0.0 SR6
    .
    The JDK has been updated to use the correct condition check for
    the offset and length of a string while removing the content as
    part of 'undo' operation.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV48556

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-12

  • Closed date

    2013-09-23

  • Last modified date

    2013-09-23

  • 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

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP

  • R700 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Java Class Libraries

Software version: 6.0

Reference #: IV48556

Modified date: 23 September 2013