IBM Support

IO14067: threads hang in getPageCount for TIFF documents

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Application becomes unresponsive over time rendering TIFF
    documents using eClient HTML viewer or custom application
    requesting page count of TIFF documents. The application becomes
    unresponsive and the selected document cannot be viewed.
    

Local fix

Problem summary

  • Threads hang getting TIFF document page count.
    

Problem conclusion

  • The document engine used by Java Viewer Toolkit has been fixed
    to correctly manage page count threads for TIFF documents.
    

Temporary fix

  • if (document.getCanPaginate()) {
                boolean fError = false;
                int pagenumber = 1;
                while (!fError) {
                    try {
                        CMBPage mypage =
    document.getPage(pagenumber);
                        // make call so engine will load the page
                        mypage.getHeight();
                        pagenumber++;
                    }catch (Exception e) {
                        fError = true;
                    }
                }
                if (fError && pagenumber > 1)  pagenumber--;
    
                int cnt = document.getPageCount();
    ....
           }
    

Comments

APAR Information

  • APAR number

    IO14067

  • Reported component name

    JAVA VIEWER

  • Reported component ID

    5724B43J1

  • Reported release

    842

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2011-07-26

  • Closed date

    2011-11-22

  • Last modified date

    2011-11-22

  • 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 VIEWER

  • Fixed component ID

    5724B43J1

Applicable component levels

  • R843 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCTVDL","label":"Db2 Information Integrator for Content"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"842","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
27 March 2020