IBM Support

PI19888: ANDROID APPLICATION CRASHES WHEN BACK BUTTON IS PRESSED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Android application crashes, when back button is pressed, with
    the following error in DDMS console:
    
    android.app.IntentReceiverLeaked: Activity
    com.mycompanry.activities.MyActivity has
    leaked IntentReceiver org.apache.cordova.networkinformation.
    NetworkManager$1@4486ac22 that was originally registered here.
    Are you missing a call to unregisterReceiver()?
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * crash during back button                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * call to system.exit(0) while exist thewebpage                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • ifixe release with new API for WLDroidGap called
    setIsExitOnBack(boolean)
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI19888

  • Reported component name

    WORKLIGHT ENTER

  • Reported component ID

    5725I4300

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-06-12

  • Closed date

    2014-07-01

  • Last modified date

    2014-07-01

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

  • Fixed component ID

    5725I4300

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