IBM Support

PI41502: JAVASCRIPT ERRORS IN THE WORKLIGHT.JS RESULTS IN APP EXCEPTIONS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Under some conditions, the following exception are seen
    TypeError: null is
    not an object (evaluating 'state.pkg')
    Which results in certain data in the localStorage cleared that
    Worklight relies on.
    

Local fix

  • Ensure the localStorage is not cleared
    clear only the key/value pairs that are relevant
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Only if localstorage was cleared                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * In some cases javascript exceptions on state object          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • Avoid cleaning localstorage. Fix provided to avoid crash.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI41502

  • Reported component name

    WL/MFPF ENTERPR

  • Reported component ID

    5725I4300

  • Reported release

    630

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-05-20

  • Closed date

    2015-06-14

  • Last modified date

    2015-06-14

  • 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

[{"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:
14 October 2021