IBM Support

PI49183: APP CRASHES WHEN WL.CLIENT.CONNECT IS CALLED WHEN THERE IS NO CONNECTION AVAILABLE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A hybrid application was developed for use on Windows 8.1.  A
    call to WL.Client.connect is called to detect the possibility
    to connect the MobileFirst server.  If no connection is
    available, then the app crashes.  The following output is
    generated:
    
    exception. TypeError: Unable to get property
    'WL-Authentication-Success' of undefined or null reference
    SCRIPT5007: Unhandled exception at line 3934, column 7 in
    ms-appx://.../www/default/workl ight/worklight.js
    0x800a138f - JavaScript runtime error: Unable to get property
    'WL-Authentication-Success' of undefined or null reference
    File: worklight.js, Line: 3934, Column: 7
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Application users using MobileFirst platform version 70  *
    * and 710                                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * APP CRASHES WHEN WL.CLIENT.CONNECT IS CALLED WHEN THERE IS   *
    * NO                                                           *
    *   CONNECTION AVAILABLE.                                      *
    *                                                              *
    * If no connection is                                          *
    * available, then the app crashes.  The following output is    *
    * generated:                                                   *
    *                                                              *
    * exception. TypeError: Unable to get property                 *
    * 'WL-Authentication-Success' of undefined or null reference   *
    * SCRIPT5007: Unhandled exception at line 3934, column 7 in    *
    * ms-appx://.../www/default/workl ight/worklight.js            *
    * 0x800a138f - JavaScript runtime error: Unable to get         *
    * property                                                     *
    * 'WL-Authentication-Success' of undefined or null reference   *
    * File: worklight.js, Line: 3934, Column: 7                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * NONE                                                         *
    ****************************************************************
    

Problem conclusion

  • Code is fixed to avoid this crashing when connection is not
    available.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI49183

  • Reported component name

    WL/MFPF ENTERPR

  • Reported component ID

    5725I4300

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-09-22

  • Closed date

    2015-11-25

  • Last modified date

    2015-11-25

  • 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

  • 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":"710","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021