IBM Support

PI38925: OPENING A FILE ASSOCIATED WITH THE RDZ V9 LPEX-EDITOR CAN CAUSE ECLIPSE TO HANG (HOURGLASS)

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In Rational Developer for System z v9, opening a file
    associated with the LPEX-Editor can cause eclipse to hang
    (hourglass). The only option left is to terminate the eclipse
    environment.
    
    The javacore dump (attachment 50548) shows the following stack
    for the main thread:
    at
    org/eclipse/swt/internal/gtk/OS._gtk_enumerate_printers(Native
    Method)
    at
    org/eclipse/swt/internal/gtk/OS.gtk_enumerate_printers(Bytecode
    PC:13)
    at org/eclipse/swt/printing/Printer.getPrinterList(Bytecode
    PC:95)
    at
    com/ibm/lpex/core/ActionHandler.defaultPrintActionAvailable(Byte
    code PC:10)
    at
    com/ibm/lpex/core/ActionUtilities.defaultActionAvailable(Bytecod
    e PC:2128)
    at com/ibm/lpex/core/ActionHandler.actionAvailable(Bytecode
    PC:37(Compiled Code))
    at com/ibm/lpex/core/LpexView.actionAvailable(Bytecode PC:15)
    at
    com/ibm/lpex/alef/LpexAbstractTextEditor$LpexEditorAction.update
    (Bytecode PC:10)
    at
    com/ibm/lpex/alef/LpexAbstractTextEditor$LpexEditorAction.update
    (Bytecode PC:13)
    at
    com/ibm/lpex/alef/LpexAbstractTextEditor.updateWorkbenchActions(
    Bytecode PC:9)
    at
    com/ibm/lpex/alef/LpexAbstractTextEditor.lpexViewShown(Bytecode
    PC:85)
    at com/ibm/lpex/alef/LpexAbstractTextEditor.access$23(Bytecode
    PC:2)
    at com/ibm/lpex/alef/LpexAbstractTextEditor$28.shown(Bytecode
    PC:5)
    at com/ibm/lpex/core/ViewListenerList.shown(Bytecode PC:40)
    .... etc
    
    The gtk version is gtk2 2.24.25-1 as shown by the command:
    rpm -qa --last | grep gtk output
    
    The eclipse FAQ say that this Problem occurs only with 2.10 to
    2.12. We observe this problem also in Eclipse version 4.2.2
    
    Eclipse Bugzilla Bug  130676
    https://bugs.ottawa.ibm.com/show_bug.cgi?id=130676
    

Local fix

  • In the RDz install directory add the flag
    "-Dorg.eclipse.swt.internal.gtk.disablePrinting" to the end of
    the "\eclipse.ini" file.
    Then restart RDz
    

Problem summary

  • See error description.
    

Problem conclusion

  • In order to circumvent the errant behaviour in Eclipse, LPEX no
    longer attempts to enumerate print devices before determining
    wether or not to enable the print button. The print button is
    now always enabled.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V9.0.1.5 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

    PI38925

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-04-13

  • Closed date

    2016-04-26

  • Last modified date

    2016-04-26

  • 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

  • R901 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 9.0

Reference #: PI38925

Modified date: 26 April 2016