IBM Support

PI75252: ERROR REGARDING SYNCHRONOUS XMLHTTPREQUEST ON THE MAIN THREAD OCCURS DURING APP STARTUP.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • During the startup of an app, the following may be observed in
    the device log output:
    
    01-10 12:35:13.248 14309-14309/[...] I/chromium:
    [INFO:CONSOLE(8654)] "Synchronous XMLHttpRequest on the main
    thread is deprecated because of its detrimental effects to the
    end user's experience. For more help, check
    https://xhr.spec.whatwg.org/.",
    source: file:///android_asset/www/default/worklight/wljq.js
    (8654)
    
    While this error does not impact the operation of the app and
    can be ignored, there is an impact to the collection of
    analytics data as the error is logged.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All MobileFirst 7.1 Android applications users.              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * On app startup, cordova.js logs errors such as "Error:       *
    * Unknown event action undefined". These errors do not have an *
    * impact for running the application, however they impacts     *
    * analytics. The issue stems from a not completely compatible  *
    * version of cordova.js being used for cordova-android. This   *
    * cordova.js was created using the updated Cordova Tools,      *
    * which is at a higher version than the version of             *
    * cordova-android.                                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • Reverting cordova.js to a compatible version fixes the issue.
    After installing the iFix, rebuild the app.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI75252

  • Reported component name

    MOBILE1ST PF EN

  • Reported component ID

    5725I4300

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-01-20

  • Closed date

    2017-02-08

  • Last modified date

    2017-02-08

  • 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

    MOBILE1ST PF EN

  • Fixed component ID

    5725I4300

Applicable component levels

  • R710 PSY

       UP

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

Document Information

Modified date:
08 February 2017