IBM Support

PI34910: APPLICATION CRASHES IN WINDOWS 8 IF WL.SIMPLEDIALOG IS CALLED 2 TIMES CONSECUTIVELY.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If a Windows 8 app calls WL.SimpleDialog 2 times consecutively,
    the app will crash.  If run in Visual Studio, a pop up may be
    displayed with output similar to the following:
    
    --------------
    Unhandled exception at line 2784, column 13 in
    ms-appx:0a37ad09--41af-483d-af2e-aa9f85efec69/www/default/workli
    ght/worklight.js
    
    0x80070005 - JavaScript runtime error: Access is denied.
    --------------
    

Local fix

  • It is a limitation of Windows 8 that no more than 1 dialog may
    be opened at a time.  However, a crash should not occur.  To
    open 2 dialogs and avoid the crash, the second dialog can be
    called on the callback of the first dialog's button.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of the WL.SimpleDialog.show() API on the Windows 8     *
    * environment                                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If a second WL.SimpleDialog.show() call is made when the     *
    * first SimpleDialog has not yet been dismissed, the Windows 8 *
    * application will crash.                                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • Windows platform has a limitation that doesn't allow a second
    MessageDialogs to be displayed when the first one is active.
    This has been accounted for in the fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI34910

  • Reported component name

    WL/MFPF CONSUME

  • Reported component ID

    5725I4301

  • Reported release

    630

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-02-12

  • Closed date

    2015-05-18

  • Last modified date

    2015-05-18

  • 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

    WL/MFPF CONSUME

  • Fixed component ID

    5725I4301

Applicable component levels

  • R630 PSY

       UP

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"630","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 October 2021