IBM Support

IC70363: HATS TEMPLATE IMAGE CAUSING SWTERROR: NO MORE HANDLES ERROR.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Client is paging down/up and getting
    Caused by: org.eclipse.swt.SWTError: No more handles
     at org.eclipse.swt.SWT.error(SWT.java:3803)
     at org.eclipse.swt.SWT.error(SWT.java:3695)
     at org.eclipse.swt.SWT.error(SWT.java:3666)
     at org.eclipse.swt.widgets.Widget.error(Widget.java:463)
     at org.eclipse.swt.widgets.Menu.createHandle(Menu.java:443)
     at org.eclipse.swt.widgets.Menu.createWidget(Menu.java:531)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: HATS RCP users                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: While using a HATS RCP application, a   *
    *                      user may receive and SWT Error and      *
    *                      NullpointerException                    *
    *                      stating that there are no more          *
    *                      handles.                                *
    *                                                              *
    *                      Failed to execute runnable              *
    *                      (org.eclipse.swt.SWTError:No more       *
    *                      handles)                                *
    *                      and                                     *
    *                      java.lang.NullPointerException          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    HATS creates many instances of the RCP template internally
    while rendering a transformation.  Each widget that is created
    uses the style information from the template to correctly
    display the look that is appropriate for these controls.
    There were a couple of places where the template objects were
    created but never disposed of while rendering the
    transformation.  As a result, the image and color objects were
    not cleaned up and were left in memory.  After running with
    the RCP application for a while, a user could receive an error
    message stating that there were no more handles.
    

Problem conclusion

  • The HATS RCP code was changed to dispose of any instance of
    the template that gets created during the rendering of a tr
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC70363

  • Reported component name

    RATL HATS FOR 5

  • Reported component ID

    5724U6800

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-08-03

  • Closed date

    2010-08-10

  • Last modified date

    2010-08-10

  • 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 HATS FOR 5

  • Fixed component ID

    5724U6800

Applicable component levels

  • R750 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXKAY","label":"IBM Host Access Transformation Services"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
10 August 2010