IBM Support

PI52650: SERVER NOT RESPONDING AS EXPECTED WHEN WHEN AN ACTIVITY IS LAUNCHED FROM WORKLIGHT/CORDOVA BUT WORKS IN NATIVE ANDROID

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An activity was developed that contains/displays a WebView that
    will load the URL of a login page.  In the hybrid application,
    it appears as if there is an interruption in the communication
    with the server.  When invoking an activity from a native
    Android app, the issue does not occur.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Applications that can't load a native webview from a hybrid  *
    * webview.                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When a native webview tries to load from a hybrid webview,   *
    * the native webview hangs on a blank page. JavaScript does    *
    * not execute and the native webview never finishes loading.   *
    * The cause of this problem is the Cordova Activity calling    *
    * pauseTimers() in the startActivityForResult() function. The  *
    * native page hangs because pauseTimers() applies to all       *
    * webviews, even the native one. This means that the native    *
    * weview is paused, just like the hybrid webview, waiting to   *
    * resume. Removing the pauseTimers() will allow the resume in  *
    * the native webview to occur.                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • After installing the iFix, rebuild the application.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI52650

  • Reported component name

    WL/MFPF ENTERPR

  • Reported component ID

    5725I4300

  • Reported release

    620

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-11-17

  • Closed date

    2016-01-19

  • Last modified date

    2016-01-19

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

  • Fixed component ID

    5725I4300

Applicable component levels

  • R620 PSY

       UP

  • R630 PSY

       UP

  • R700 PSY

       UP

  • R710 PSY

       UP

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

Document Information

Modified date:
17 October 2021