IBM Support

PI17530: WHEN USING WORKLIGHT APPLICATION SKIN IN ANDROID, EXCEPTION IN GETTING THE SKIN FOLDER WILL CRASH THE APPLICATION.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using a Worklight application skin in Android, if any
    exception happens in the process of loading the skin folder, the
    application will not revert back to the default skin. Instead it
    will throw
    exceptions and show error messages indicating that no skins
    could be found.
    

Local fix

  • Make sure that an existing skin name is used in the
    getSkinName() function of your skinLoader.js file and that the
    application skin folder contains all the files needed.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Application developers who use a Worklight application skin  *
    * in an Android environment                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When using a Worklight application skin in Android, if any   *
    * exception happens in the process of loading the skin folder, *
    * the                                                          *
    * application will not revert back to the default skin.        *
    * Instead it will throw                                        *
    * exceptions and show error messages, like the one below,      *
    * indicating that no skins                                     *
    * could be found.                                              *
    *                                                              *
    * Error: There was a network error                             *
    * (file:///android_asset/www/SKIN_NAME/index.html)             *
    * This indicates that the application tried to load the        *
    * non-existing skin rather than revert back to the default     *
    * skin.                                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • Added addtional exception handling so that a default skin is
    used in the case of a loadSkin exception.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI17530

  • Reported component name

    WORKLIGHT CONSU

  • Reported component ID

    5725I4301

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-05-08

  • Closed date

    2014-05-08

  • Last modified date

    2014-05-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

    WORKLIGHT CONSU

  • Fixed component ID

    5725I4301

Applicable component levels

  • R610 PSY

       UP

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

Document Information

Modified date:
17 October 2021